R
Rob S
I'm trying to create an application shortcut from a desktop application using
Opennet.Desktop.Communication, however it keeps return an error
Dim rapi As New OpenNETCF.Desktop.Communication.RAPI
rapi.Connect()
rapi.CreateDeviceShortcut("\Windows\Start Menu\Programs\Myapp.lnk",
"\Program Files\Myapp\Myapp.exe")
rapi.Disconnect()
It creates a new file on the device, but when i click it i get an error of
bad file or must be signed. i check the properties of the new file and it is
different than a normal shortcut file. the target type is "file folder"
instead of application. it also does not show up as a shortcut file. am i
doing something incorrect in creating the shortcut or? i am using the latest
version of the opennetcf.desktop.communication dll.
Many thanks
Opennet.Desktop.Communication, however it keeps return an error
Dim rapi As New OpenNETCF.Desktop.Communication.RAPI
rapi.Connect()
rapi.CreateDeviceShortcut("\Windows\Start Menu\Programs\Myapp.lnk",
"\Program Files\Myapp\Myapp.exe")
rapi.Disconnect()
It creates a new file on the device, but when i click it i get an error of
bad file or must be signed. i check the properties of the new file and it is
different than a normal shortcut file. the target type is "file folder"
instead of application. it also does not show up as a shortcut file. am i
doing something incorrect in creating the shortcut or? i am using the latest
version of the opennetcf.desktop.communication dll.
Many thanks