Results 1 to 10 of 10

Thread: can I turn a few DLLs into an ocx?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    Question can I turn a few DLLs into an ocx?

    hello,

    I need to use a number of DLLs in my programs.
    I wanted to know if there is a way to turn them in to one easy to use ocx.
    is this even possible? if so, how can I do that?

    thanks

    Dekel C.

  2. #2
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: can I turn a few DLLs into an ocx?

    Yea easy.
    How you do it though would depend on what you want to do, and how you want to use the code.

    I would prefer one easy to use DLL than an OCX.

    Woka

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    Re: can I turn a few DLLs into an ocx?

    the thing is, I have a few already made DLLs and I want to use them all
    together, and to that maybe even add more code...
    can you guide me hoe to do that?

    thanks
    Dekel C.

  4. #4

  5. #5
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383

    Re: can I turn a few DLLs into an ocx?

    Quote Originally Posted by Wokawidget
    1) errrr...add them all into your project???
    2) errrr...just add code to the DLL's and recompile



    Woka
    Make sure you choose activex project when you create you new project to put them in.

    Karl Moore had a good tutorial on this but I dont know where it is since vbworld was taken over.

    Whats Karl doing these days?

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: can I turn a few DLLs into an ocx?

    Quote Originally Posted by agmorgan
    Make sure you choose activex project when you create you new project to put them in.

    Karl Moore had a good tutorial on this but I dont know where it is since vbworld was taken over.

    Whats Karl doing these days?
    Is ths what you are referring to?
    ActiveX Tutorial

  7. #7
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: can I turn a few DLLs into an ocx?

    Remember, an .OCX houses visual ActiveX objects. If all your .DLLs are non-visual in nature, they should be placed in a common ActiveX .DLL, not an .OCX.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    Re: can I turn a few DLLs into an ocx?

    so all I need to do is put the DLLs in a activex dll, add my code, and I'm done?
    I don't need to register the DLLs?

    thanks
    Dekel C.

  9. #9
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: can I turn a few DLLs into an ocx?

    Quote Originally Posted by dekelc
    so all I need to do is put the DLLs in a activex dll, add my code, and I'm done?
    I don't need to register the DLLs?

    thanks
    Put the DLL's in a another DLL???
    Eh?
    Register what DLL's?

    WHat?
    Think you need to give a lot more explanation of what you are trying to do

    WOka

  10. #10
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: can I turn a few DLLs into an ocx?

    Quote Originally Posted by dekelc
    so all I need to do is put the DLLs in a activex dll, add my code, and I'm done?
    I don't need to register the DLLs?

    thanks
    Only ActiveX DLLs need to be registered.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

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