Creating Dll files in Vb 6.0 Enterprise Edition

How do I go about creatingan activeX dll files in visual basic.  I know what I want it to do.
master01Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
halapayaConnect With a Mentor Commented:
Open a New project, and from the template choose Active X dll.

then it'll create a class for you.

so in that class you can just create ur methods properties as u want. for example inside class1..

public function Reply(byval strmsg as string)
on error goto Error

'what u do in the function
exit functoin
Error:
 Err.raise bla bla
end fucntion

now after u compile, it'll create an activeX dll.. u can invoke its reply method from another project...[add the referenec to the dll ]

then,

set blah as new Class1

blah.reply("parameters")

thats all

0
All Courses

From novice to tech pro — start learning today.