Variable Undefined

J

Jan Plastenjak

I got this error:

Error Type:
Microsoft VBScript runtime (0x800A01F4)
Variable is undefined: 'myapp'

When I was doing this:

Set myapp = Server.CreateObject("MyAppCOM.MyApp.1")

Why?

Thank you.
 
H

Harag

I got this error:

Error Type:
Microsoft VBScript runtime (0x800A01F4)
Variable is undefined: 'myapp'

When I was doing this:

Set myapp = Server.CreateObject("MyAppCOM.MyApp.1")

Do you have "Option Explicit" at the top of the page? if so then you
need to DIM all your variables

DIM myapp

HTH
Al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,016
Latest member
TatianaCha

Latest Threads

Top