Object Reference Not Set to an Instance of an object

Discussion in 'Questions (Windows Mobile)' started by mikewhite, Feb 14, 2009.

  1. mikewhite

    mikewhite Member Licensed User


    my program is running fine in the desktop environment. When I try to compile it I get that error on line 1 of the first Module. The module starts like this

    Sub Globals
    Public HOST
    End sub

    Any clues as to what I've done wrong anybody?


  2. agraham

    agraham Expert Licensed User

    Whatever your problem is its not in that code fragment. Post some more complete source that fails, preferably as sbp and bas project files and we can take a look.
  3. mikewhite

    mikewhite Member Licensed User

    :sign0060:Found it thanks. Was a missing end sub in a completely different module. Project is quite large so wasn't too keen to post it.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice