Solved

VB6 and testing DLLs

Posted on 2003-10-21
2
348 Views
Last Modified: 2010-05-01
I am using VB6 to build a Word Addin.

I was intending to create is as a DLL.

However my experience with VB6 is limited to creating the odd very minor exe file, ie just playing.

So can I ask a few questions:

1)What are the differences between all the possible projects, ie standard exe, DLL addin, Dll, DLL exe etc.
2)Which one is best suited for my task.
3) what is the best practice for testing DLLs etc, I mean, if I create a form in a DLL, I cannot simply press F5 and expect it to compile and run, nothing happens. Do I have to create the DLL project, and then create a standard exe project, then compile the DLL and reference the exe project to it? Or is this what the "Groups" are about?

I will split the points up for the questions if needed.

You adivce/thoughts are appreciated.

Regards,
Cassandra
0
Comment
Question by:FowlerB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:FowlerB
ID: 9596298
Also what is the difference between an ActiveX DLL and and a standard DLL?
0
 
LVL 26

Accepted Solution

by:
EDDYKT earned 300 total points
ID: 9598021
>>Also what is the difference between an ActiveX DLL and and a standard DLL?
Activexdll can be create by using createobject which standard dll has to use declare function to call

VB cannot create standard dll

>>1)What are the differences between all the possible projects, ie standard exe, DLL addin, Dll, DLL exe etc.

standard exe run alone and cannot create by using createobjectdll addin is for office which allows all office product to see and use.
dll is in-process
exe is out-process (not run in same address space)

>>2)Which one is best suited for my task.
dll addin I believe.

>>3) what is the best practice for testing DLLs etc, I mean, if I create a form in a DLL, I cannot simply press F5 and expect it to compile and run, nothing happens. Do I have to create the DLL project, and then create a standard exe project, then compile the DLL and reference the exe project to it? Or is this what the "Groups" are about?

Dll is in-process so that you have create a container to run it such as standard exe
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question