Solved

How to create a DLL using VB6

Posted on 2002-05-24
2
238 Views
Last Modified: 2010-05-02
I wish to create a DLL, using VB6, or VB7(.net) to be useable as in the example shown.


Option Explicit
Declare Function Testthis Lib "test.dll" (ByVal i_Anyint As Integer) As Integer

Sub calldll()
    Call Testthis(2)
End Sub

Ie, its NOT an activeX DLL. Can it be done, and if so, how?
0
Comment
Question by:GrahamAtJobserve
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
ID: 7031671
Not in VB6 though there is an add-in which claims to be able to do this: http://www.banasoft.net/MakeEx.htm as for vb.net I don't know yet!
0
 

Author Comment

by:GrahamAtJobserve
ID: 7031678
Cheers Tim, good answer as always.

I suspected as much, but there was always the chance that there was a way to do it somehow. Not going to try the add-in though.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now