Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Object Reference Not Set to an Instance of an object

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-14-2009, 04:30 PM
Junior Member
 
Join Date: Aug 2008
Location: Guildford, UK
Posts: 28
Default Object Reference Not Set to an Instance of an object

Hi,

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?

Thanks

Mike
Reply With Quote
  #2 (permalink)  
Old 02-14-2009, 04:47 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

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.
Reply With Quote
  #3 (permalink)  
Old 02-14-2009, 07:21 PM
Junior Member
 
Join Date: Aug 2008
Location: Guildford, UK
Posts: 28
Default

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.

Mike
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Object reference error on desktop exe junglejet Questions (Windows Mobile) 13 02-11-2009 08:51 PM
Object Reference not set to an instance of an object monster9999 Questions (Windows Mobile) 9 01-15-2008 09:56 PM
Explore Object tvrman Basic4ppc Wishlist 2 08-29-2007 06:29 PM
object reference dennishea Questions (Windows Mobile) 6 08-15-2007 04:48 PM
Tab Object anansath Basic4ppc Wishlist 1 06-08-2007 02:58 PM


All times are GMT. The time now is 03:55 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0