hi
how to create shortcut to any program in winCE - through C# code ?
thank's in advance
hi
how to create shortcut to any program in winCE - through C# code ?
thank's in advance
There's a really neat answer here that shows how to do using notepad. You should be able to do the same using
File.WriteAllText("myshorcurtname.lnk", @"77#"\Program Files\Sybase\ASA\dbsrv8.exe" "\Program Files\Sybase\ASA\asademo.db"")
Run: notepad c:\ShortCutTest.lnk
Add the following statement to the first line of the .lnk file:
77#"\Program Files\Sybase\ASA\dbsrv8.exe" "\Program Files\Sybase\ASA\asademo.db" Note:
There are 77 characters in the command to be executed. Save the file to "\Windows\Start Menu".
On the Windows CE or Pocket PC device, tap the Start button to see the shortcut that was created. The name of the shortcut is the same as the name of the .lnk file, minus the extension.