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

declare variable with reference object

Status
Not open for further replies.

krayonx

Programmer
Jul 28, 2002
2
MY
Hi, i want to convert my code from vb 6.0 to asp. But i need some help in asp.
#1.in vb i declare my variable like this:
private myVariable As Something.Something

so..i try to declare the variable in asp like this
step1-register my *.dll file
step2-declare the variable
private myVariable
set myVariable=server.CreateObject("Something.Something")

but the code generated error "Invalid class string".

thanks in advanced.
 
I think maybe because i use user defined class. Any hint??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top