[AccessD] Register OCX

Dan Waters dwaters at usinternet.com
Tue Oct 6 20:10:07 CDT 2009


Hi Max - this is all you need:

Private Declare Function Register_mswinsck Lib "mswinsck.ocx" Alias
"DllRegisterServer" () As Long
Private Declare Function UnRegister_mswinsck Lib "mswinsck.ocx" Alias
"DllUnregisterServer" () As Long

Public Function RegisterFiles()

    Dim retCode As Long
    
    retCode = Register_mswinsck()
    'retCode = UnRegister_mswinsck()
    
End Function

Good Luck!
Dan

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo
Sent: Tuesday, October 06, 2009 5:54 PM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Register OCX

Anybody know how to register an OCX?

Max


-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com





More information about the AccessD mailing list