Advertisement
2002VB Windows API Call/ Explanation #22913

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

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.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine