Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a DLL in VB6

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am working on a project with some C++ programmers, I am experienced in Vb6, but have never created a DLL. Where can I find a good example of a VB6 DLL that can be called on?
Thank you for your time,
Chikin
 
Follow these Steps:-
1.Open ActiveX DLL
2. write some code under any UserDefined Function

public sub display()
msgbox "Welcome"
end sub

3.Save This File with .cls extension
4.Make this as DLL

5. Open Standard Exe
Go to Project Properites under Project and give any name for project
6. go to References and add DLL which u r created Previously
and write the follwoing code under Button Event

Dim xx As New Project1.Class1

Private Sub Command1_Click()
xx.display
End Sub

7.press F5 to run this
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top