Startup problem

D

Davis

Hi, i've created a simple Form app (called Form1) in VB targeting PPC03
emulator. I have the following code to start App

Public Shared Sub Main()
Application.Run(New Form1)
End Sub

However i'm getting a NullReference Exception was unhandled
error when i download program from IDE at the line Application.Run(New
Form1)

This is really simple stuff, please can someone point out what i may have
done wrong
 
G

Guest

You have a bug in Form1's constructor or something called by the constructor
(or in a Load event)

-Chris
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top