Click to See Complete Forum and Search --> : Activex
studycomp
October 2nd, 2001, 01:25 AM
Can anybody detail me about the practical differences between
1) activeX dll and activeX exe
2)activex document dll and activex document exe
thank you in advance...
Cakkie
October 2nd, 2001, 02:04 AM
The mayor difference between a anxtivex dll and activex exe is that the exe can run both as a standalone application or as a component in another program, where the dll can only run as a component.
Tom Cannaerts
slisse@planetinternet.be
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
studycomp
October 2nd, 2001, 06:24 AM
well thankyou for u r reply.But ,I think we need to include either dll or activeX exe from Project->references in a new exe.Or does the activex exe has a standalone existence.
Can u please get me a simple piece of code by which I can diferentiate between dll,exe and
activeX document dll and exe..
thank you
Cakkie
October 2nd, 2001, 06:45 AM
In both cases, a refference is required. What I meant was that if you double-click the exe, it will run as a standalone application. Take Word for instance, Word is an ActiveX exe. You can run word by doubleclikking the exe, or you can start it from VB using ActiveX (Set obj = New Word.Application).
One other thing I forgot to mention, is that an activex exe has it's own thread, meaning that it can do things while you are doping other things in your program. However, this requires some programming techniques, but is still way easier than all the other 'multithreading' experiments i've seen in VB.
Tom Cannaerts
slisse@planetinternet.be
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.