DLLs and OCX

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ali Rizwan
    Banned
    Contributor
    • Aug 2007
    • 931

    DLLs and OCX

    Hi all,
    How can i add ocx and dll files in my form at runtime?? Is it possible?
    For example i have a dll file now i want to call its contents in my app by adding the dll to my app.

    Thanx
    >> ALI <<
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by Ali Rizwan
    Hi all,
    How can i add ocx and dll files in my form at runtime?? Is it possible?
    For example i have a dll file now i want to call its contents in my app by adding the dll to my app.

    Thanx
    >> ALI <<
    I have ever done this but couldn't you simply add the DLL in question in a the root folder of your app?!?

    Comment

    • pentahari
      New Member
      • Dec 2007
      • 60

      #3
      Originally posted by Ali Rizwan
      Hi all,
      How can i add ocx and dll files in my form at runtime?? Is it possible?
      For example i have a dll file now i want to call its contents in my app by adding the dll to my app.

      Thanx
      >> ALI <<
      you can add dll and ocx at runtime in your form read the form file in notepad and see the code for reference and components and add the line programmaticall y using write coding.

      (or) not runtime process:
      First Copy the dll and OCX to your current application folder and register the dll and ocx for unregistered components in another system.

      Comment

      • Ali Rizwan
        Banned
        Contributor
        • Aug 2007
        • 931

        #4
        Sorry for saying that you cant understand my problem.
        Actually i want that when i have create an exe of my app. Now when my app is running on another pc it will add some ocx or dll files by reading a text file.
        Now tell me how can i add reference to that ocx or dll.
        For example. in my app all buttons are of default style. Now i create a text file in which button style change command is written with ocx path. Now all buttons will change their appearence to new style.
        This is just an example. Just tell me how can i add new ocx in my app??

        Thanx
        >> ALI <<

        Comment

        Working...