Results 1 to 3 of 3

Thread: Application_OnStart Event

  1. #1

    Thread Starter
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Application_OnStart Event

    the Application_OnStart Event doesnt fire for me.

    Am I missing something obvious?


    tailz

  2. #2
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    Code:
        Protected Overrides Sub OnLoad(ByVal e As System.EventArgs)
            MessageBox.Show("i have just been loaded", Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Information)
        End Sub
    you can select that from the overides list, if you use OnEnter it wont return a messagebox , you need Protected Overrides Sub OnLoad.
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  3. #3

    Thread Starter
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Question

    thanks, but what about the application_onstart event in the global.asax file?

    Does it not fire for good reason? Do I have to press an 'on' button?


    tailz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width