GRitchie Posted January 22, 2015 Posted January 22, 2015 Hello, I'm developing an application in VB and I'm trying to add shortcuts to the office applications on it. I've created a shortcut for them, ie; "C:\Application\Office\excel.lnk" however when using this path for the code it says file not found. The paths are all correct. When I use the FULL C:\Program Files etc. it works fine. The issue is, this will be distributed around the network and not every install will be the same. Some may have different versions of office, some may be 32bit/64bit. Any ideas how to shortcut this?
Pashers Posted January 26, 2015 Posted January 26, 2015 Can't you do something like: If IntPtr.Size = 8 Then 'Link for 64 bit ElseIf IntPtr.Size = 4 Then 'Link for 32 bit End If
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now