Results 1 to 2 of 2

Thread: Activex Control

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Posts
    56

    Question 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

  2. #2
    Hyperactive Member SoftwareMaker's Avatar
    Join Date
    Mar 2001
    Location
    Elbonia with Dilbert and Wally
    Posts
    322
    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.
    William T
    Software Architect / Chief Software Developer
    Softwaremaker.Net Pte Ltd
    http://www.Softwaremaker.net

    *** Things are always the darkest before they go pitch black ***

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width