VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to register and un-register ActiveX Controls This tip describes how ActiveX controls can be reg

by Jonathan Valentin (5 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sun 18th June 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

How to register and un-register ActiveX Controls This tip describes how ActiveX controls can be registered and unregistered directly from

API Declarations


Alias "DllRegisterServer" () As Long
Declare Function UnRegComCtl32 Lib "ComCtl32.OCX" _
Alias "DllUnregisterServer" () As Long
Const ERROR_SUCCESS = &H0

Rate How to register and un-register ActiveX Controls This tip describes how ActiveX controls can be reg



    MsgBox "Registration Successful"
Else
    MsgBox "Registration Unsuccessful"
End If

If UnRegComCtl32 = ERROR_SUCCESS Then
    MsgBox "UnRegistration Successful"
Else
    MsgBox "UnRegistration Unsuccessful"
End If

Download this snippet    Add to My Saved Code

How to register and un-register ActiveX Controls This tip describes how ActiveX controls can be reg Comments

No comments have been posted about How to register and un-register ActiveX Controls This tip describes how ActiveX controls can be reg. Why not be the first to post a comment about How to register and un-register ActiveX Controls This tip describes how ActiveX controls can be reg.

Post your comment

Subject:
Message:
0/1000 characters