-
Activex Control
Hi,
How can i create an UserControl which uses a DLL that has been created using C++/VC++.
For e.g if i have created an Add function in a DLL.how can i include this to an ActiveX so that i can use it in any project.
Normally in any other program i would just call it using Private DECLARE FUNCTION.... and all those.Instead of doing that i just want to create an ActiveX for that.
Any help will be appreciated.
Thanks,
Hari
-
Hi Hari
I dont see a difference b/w using or declaring your DLL with a Normal Form object or with your UserControl Object. You declare it as normal as use it in your private or Public subroutines or methods.
Say you have a Add method that your usercontrol uses...
Declare Function ADD...[yourDLL]
Public Sub Add
'Put your ADD Function declared from your DLL here
End Sub
Let me know if you need any help with your usercontrol object.