Using DLLs in vb6

Tags:
Development
Hi, I wanna ask that how can we use a dll file in our VB6 Project. I also wanna execute a dll using MS Word's Macro. Plz reply ASAP.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Kirmani,

Here is a link for creating and calling your own dlls:

http://www.pgacon.com/visualbasic.htm#Creating%20and%20Using%20DLLs;

Here is one for referencing and calling a 3rd party dll:

http://www.pgacon.com/visualbasic.htm#Customize%20the%20WebBrowser%20Control;

Here is one about APIs in general:

http://www.vbexplorer.com/VBExplorer/apitutorials.asp.

Note: Just seeing a dll you might want to use and then enumerating the internal functions might *not* give you access to its functionality:

http://www.codeproject.com/dll/dll_calling.asp.

Happy calling,
:) Gene

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following