[AccessD] Register OCX

Max Wanadoo max.wanadoo at gmail.com
Wed Oct 7 01:20:28 CDT 2009


Thanks Dan

Max


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters
Sent: 07 October 2009 02:10
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] Register OCX

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


-- 
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