Hi,
Are u making a Win32 API call using Visual Basic.NET?
If so, then you need to make sure you have declared it as a Sub.
| |
Private Declare Sub SHAddToRecentDocs Lib "shell32.dll" (ByVal uFlags As Long, ByVal pv As String)
|
If you have declared it as a Function instead of a Sub then it wont work.
Also make sure the extension of the file you are trying to add as an entry
is registered on your system
Regards,
Vikram