Variable Undefined

Discussion in 'ASP General' started by Jan Plastenjak, Jan 16, 2004.

  1. 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.
     
    Jan Plastenjak, Jan 16, 2004
    #1
    1. Advertising

  2. Jan Plastenjak

    Harag Guest

    On Fri, 16 Jan 2004 10:41:34 +0100, "Jan Plastenjak" <>
    wrote:

    >
    > 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
     
    Harag, Jan 16, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mantorok Redgormor
    Replies:
    70
    Views:
    1,847
    Dan Pop
    Feb 17, 2004
  2. mfglinux
    Replies:
    11
    Views:
    752
    Roberto Bonvallet
    Sep 12, 2007
  3. David Filmer
    Replies:
    19
    Views:
    281
    Kevin Collins
    May 21, 2004
  4. VK
    Replies:
    45
    Views:
    668
    Dr John Stockton
    Sep 12, 2006
  5. -Lost
    Replies:
    13
    Views:
    393
    Richard Cornford
    Jan 31, 2007
Loading...

Share This Page