VB Shortcut Maker

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.
 
R

Rob ^_^

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.
 
D

Daniel Crichton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top