Hi.
I am not trying to confuse you, or tryng you waste your valuable time. I am asking help because I have a problem. Apparently the problem (or the solution) is very simple but I have, at this moment, a piece of code that doesn't work as is expected.
I didn't want to hide that I had renamed...
OK strongm.
I have renamed the shortcut, but I was meaning I haven't renamed the extension or I haven't added an extra extension. After all, if I see a file called shortcut.lnk in a DOS box. That's the filename I ought to use calling to ShellExecute.
Anyway, Thank you.
Aki
Hi LPlates.
I have placed a copy of Notepad.exe on "D:\" (D:\NOTEPAD.EXE)
I have created a shortcut to that copy on "D:\" (D:\Shortcut.lnk)
If I double click "D:\Shortcut.lnk" it opens the Notepad without problem, but if I execute the above code it does nothing...
Thanks LPlates.
I have try this code to open bookmarks, programs, images, ... and it works fine but when I try to open a shortcut it fails (Nothing appears).
----------------------------
Option Explicit
Private Declare Function ShellExecute Lib "shell32.dll" Alias...
Hi everybody.
I am tryng to execute a Windows shortcut (.lnk) calling it from VB6, but it fails. I am using a call similar to this:
RetVal = Shell("C:\MailBell.lnk", 1)
Is there anyway to execute a shortcut in VB6?
TIA,
Aki
Hi.
I'm getting troubles when I compile an old Visual C++ 1.52 application, which access to a Sybase 11.9 SQL server. I had installed Visual C++ 1.52 and Sybase Open Client/C 10.0.3, and I had tried to compile the Visual C++ project (A year ago I compile the same project without problems), but...
Hi.
I'm getting troubles when I compile an old Visual C++ 1.52 application, which access to a Sybase 11.9 SQL server. I had installed Visual C++ 1.52 and Sybase Open Client/C 10.0.3, and I had tried to compile the Visual C++ project (A year ago I compile the same project without problems), but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.