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.

null reference exception in cmd.new1

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-12-2010, 05:53 PM
Newbie
 
Join Date: Jun 2010
Posts: 7
Default null reference exception in cmd.new1

i have a program that uses SQL

I have added the necessary components and objects

con.New1
cmd.New1("", con.Value)

at the cmd.New1 my PPC returns error
"NullReferenceException"

desktop returns error
Object reference not set to an instance of an object

and the program terminates there. I cannot figure out what is the problem.

Last edited by jagr : 07-12-2010 at 05:57 PM.
Reply With Quote
  #2 (permalink)  
Old 07-12-2010, 06:08 PM
Newbie
 
Join Date: Jun 2010
Posts: 7
Default

after i added a form it was fine. i tried to run it without any forms
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
How to define NULL HARRY Questions (Windows Mobile) 1 04-21-2010 12:45 PM
Door Library Null Reference Exception sahoopes Bug Reports 1 07-15-2008 05:46 AM
Newbie having trouble with brush1.New1() mjcoon Questions (Windows Mobile) 6 05-28-2008 08:11 PM
Sms.New1(Number,Text) not working after compilation Graley Bug Reports 2 05-19-2008 02:50 PM
Trap the null value? conf Questions (Windows Mobile) 3 07-07-2007 01:49 PM


All times are GMT. The time now is 04:38 AM.


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