VB Shortcut Maker

  • Thread starter Thread starter dsouzaleo
  • Start date Start date
D

dsouzaleo

Hi People,

I am new to Visual Basic, since i mostly work on java.
I want to make an application which is similar to an internet shortcut.
This application will open the desired URL in the machine's default
browser.
This application should have its own desired icon.
An example of this can be seen on this website.

http://www.rw-designer.com/make-shortcut-icon

Thanks in Advance.

Leo Dsouza.
 
Hi dsouzaleo,

Just change the file association for type internet shortcut (if you exe uses
*.lnk files). The Command value in the registry should look something like
YourApp.exe %1

In VB in the startup object (Form or Main) just check the value of Command$
which holds the command line parameters.

Suggest you use a custom file extension for you shortcut files so that it
does not screw up windows default associations.

Regards.
 
Hi People,

I am new to Visual Basic, since i mostly work on java.
I want to make an application which is similar to an internet shortcut.
This application will open the desired URL in the machine's default
browser.
This application should have its own desired icon.
An example of this can be seen on this website.

http://www.rw-designer.com/make-shortcut-icon

Thanks in Advance.

Leo Dsouza.

Use can use the ShellExecute Win32 API call to do this. Check http://www.pixel2life.com/forums/lofiversion/index.php/t17164.html
for an example.

Dan
 
Back
Top