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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VB for ASP 1

Status
Not open for further replies.

campbere

Technical User
Oct 10, 2000
146
US
I am trying to find information on building VB COM objects, (I believe also called active x components) to develop ASP pages.

Specifically I am trying to find information on how a COM object is written to take the information a user types into a form and incorporates that into a VB COM ojbect. For example I have a screen that the user types in their username and password. I want to have a COM object that gets the values they typed and use them in the VB COM object.

If anyone can help I would appreciate it.

Thanks,

campbere
 
for starters you can create a ActiveX Dll , and just use in the asp

set object = server.createobject("ProjectName.Classname")

then lets say you had a simple function that would return the results of two numbers

somevar = object.somenum(2,2)

you can create an object like above using it's class, and then when you are finished you can just do

set object = nothing

to kill the instance of it. The other way to make your VB ActiveX control, class or executable take actual information like
is to include the reference(no component) of Active Server Pages in your VB project. Karl Blessing aka kb244{fastHACK}
kblogo.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top