Search Tools Links Login

A ShellExecute module to launch programs & files from your vb app


Visual Basic 6, or VB Classic

This is a module that uses the ShellExecute API to launch a program or file with it's associated program. A MsgBox with the relevant error message can be generated if an error occurs. It is basically from the MSDN example. I just put it in a module. No votes wanted here, not trying to win, just maybe help someone :-). Let me know if you find it useful, let me know if it can be improved.
There is also a sub added that uses the Shell() function to run a .reg file and add it to the registry silently.

Original Author: -=ltnats=-

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 120 times

Categories

Visual Basic 6

Attachments

A_ShellExe79775562002.zip
Posted: 9/3/2020 3:45:00 PM
Size: 5,440 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.