I have to create a shortcut to MSACCESS.EXE with the various paameters you have to pass. I found some code on the Internet to do the job, but it doesn't work on my machine. xp issue?
As far as I can tell the first problem is that it tries to use an api call to add MSACCESS.EXE (the full path) to the "Recent" folder on my computer. The call returns with a return code of greater than 0 which indicates success, but the code can't seem to find the file in the recent folder--as if it didn't put the link there. I.e., when I use Win Explorer to look in the folder, the file is not listed. Nor will a Dir([Recent folder path]MSACCESS.EXE.lnk), it returns nothing.
Either what's wrong here, or, is there another way to create a shortcut in VB6?