Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Register and Unregister activeX dll's and ocx's fr...
Author:
deathofanangel
E-mail:
Click to e-mail author
Submitted:
12/26/2002
Version:
VB4
Compatibility:
VB4, VB5, VB6
Category:
ActiveX
Views:
13268
Register and Unregister activeX dll's and ocx's from app when needed, very easy:-)
Declarations:
'none
Code:
Public Sub Form_Load() 'Registers active X on app load shell "regsvr32 -s \ActiveXPath\dll or ocx name" 'The -s is so no confirmation dialog is show End Sub Public Sub Form_Unload() 'Unregisters active X on app close shell "regsvr32 -s -u \ActiveXPath\dll or ocx name" 'The -s as above, the -u to unregister no register End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement