|
-
Aug 19th, 2002, 05:48 PM
#1
Thread Starter
Member
How and when?
Can anybody tell me how and when ACTIVE X dlls are used.
and
ACTIVEX EXEs are used?
For example, what is best for data connection to SQL server, oracle or another database?
can u give me more examples of how and when to use it?
any tutorial links are helpful but a few words would also be great.
thanks for all the help
krishna
-
Aug 20th, 2002, 08:05 AM
#2
Fanatic Member
ActiveX DLL's and EXE's are like standard VB projects except they expose their public class modules to other projects that might want to instantiate them.
For instance, if I've written a function in one project and I want other projects to be able to use it, I would make it an ActiveX project. I don't have any tutorials on the subject but it's not difficult. As long as you know how to use class modules, you'll be fine.
The difference between DLL's and EXE's are that DLL's run in the same process as the calling application and EXE's run in a seperate process. Hence, DLL's are faster as calls to EXE's have to be marshalled across process bounderies but if an EXE crashes, it won't drag the calling application down with it.
Also, EXE's can run in stand alone mode whereas DLL's have to be called by another application.
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Aug 21st, 2002, 09:28 AM
#3
Lively Member
ActiveX DLL or EXE have nothing with database connection.
if u r coding with VB 6.0 and want to connect to any RDBMS like Oracle, SQL Server, DB2 etc. the best way is using ADO via OLE DB.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|