Solved

VB6 and testing DLLs

Posted on 2003-10-21
2
349 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month4 days, 13 hours left to enroll

636 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