Results 1 to 3 of 3

Thread: DLL newbie

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Posts
    17
    Hi all...

    I'm trying to convert a function that I wrote in an EXE into an ActiveX DLL . How would I go about doing this and how would I access it from an EXE ? Thanks in advance.


  2. #2
    Guest
    To create a DLL, make an ActiveX DLL project and add your Functions and Forms to it.

    To use it from within your App, you must first add refrence to it by selecting the Project > Refrences menu then check your DLL off.

    You then create an instance of it and you can use all of it's Functions and Procedures.

    Code:
    ' To create an instance of the class
    Dim MyClass as Class1
    Set MyClass = New Class1
    'Do your necesary code
    
    'Free Class1 from the memory
    Set MyClass = Nothing

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Posts
    17


    Thanx Megatron for the help. I really appreciate it.


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