VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

RegSvr API

Micah Epps  (1 Submission)   OLE/COM/DCOM/Active-X   Visual Basic 3.0   Advanced   Wed 3rd February 2021

The purpose of this function is to register/unregister a DLL/OCX with NO INTERFACE. That's right, no message boxes (what a concept).
It is in function form with an enumerated return value along with a PrintXXX function to convert a return value to string (my personal touch).
This code was originally written by Herman Liu, but my 120 minutes of editing and consolodating is worth the ink.

Inputs
Filespec (string): The complete filename of the .OCX/.DLL RVsU (Boolean): Register or unregister. Use yer head.

Assumes
Assumptions are that you can rectify mistakes you make with this code :)

Returns
An enumerated value- 0 means success. Use the PrintDLLRegService() function to get a string version.

Side Effects
ONLY TESTED ON WIN98

API Declarations
See below...

Rate RegSvr API (2(2 Vote))
RegSvr API.bas

RegSvr API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters