How can I open a shortcut like
".INK"??
So that I can load this shortcut instead of the .exe itself!
Thanks in advance!
Neon
Printable View
How can I open a shortcut like
".INK"??
So that I can load this shortcut instead of the .exe itself!
Thanks in advance!
Neon
This will open any file.
Code:Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Public Const SW_SHOWNORMAL = 1
ShellExecute Me.hwnd, vbNullString, "C:\Windows\Desktop\shortcut.lnk", vbNullString, "c:\", SW_SHOWNORMAL