Click here to Skip to main content
15,888,984 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: What is the .Net equiv to this VB6 format statement Pin
Jon_Boy16-Jun-09 7:58
Jon_Boy16-Jun-09 7:58 
GeneralRe: What is the .Net equiv to this VB6 format statement Pin
The Man from U.N.C.L.E.16-Jun-09 8:04
The Man from U.N.C.L.E.16-Jun-09 8:04 
GeneralRe: What is the .Net equiv to this VB6 format statement Pin
Jon_Boy16-Jun-09 8:42
Jon_Boy16-Jun-09 8:42 
GeneralRe: What is the .Net equiv to this VB6 format statement Pin
Henry Minute16-Jun-09 8:50
Henry Minute16-Jun-09 8:50 
GeneralRe: What is the .Net equiv to this VB6 format statement Pin
Jon_Boy16-Jun-09 9:01
Jon_Boy16-Jun-09 9:01 
AnswerRe: What is the .Net equiv to this VB6 format statement Pin
The Man from U.N.C.L.E.16-Jun-09 22:40
The Man from U.N.C.L.E.16-Jun-09 22:40 
GeneralRe: What is the .Net equiv to this VB6 format statement [modified] Pin
Jon_Boy17-Jun-09 6:05
Jon_Boy17-Jun-09 6:05 
QuestionForm Loading in VB .net [modified] Pin
No-e16-Jun-09 4:59
No-e16-Jun-09 4:59 
Not sure what I did here, I am new to .net and have been thrown into upgrading an app. I have a main form and a sub form and the upgrade wizard seemed to do a upgrade to teh form load and called "frmChamber.definstance.show().

This was all working very well as I moved on to other items. (working on controls and menus for that form) I think I got all that working but now I have trouble loading the form. All I changed the sub form is adding context menus and some text boxes to labels and such)

one of the first things the form does is open a comm port mcomm1.portopen = true , now I get an error "object reference set to an instance of an object" when I try to do that.

I get the same error when I do
dim frmChamber as new frmChamber
frmChamber.show()

I get the same error on the dim statement (before the show event)

what is the proper way to load a form? What am I doing wrong, this was working before....

the message is thrown on the line
Me.components = New System.ComponentModel.Container
in the InitializeComponent() section.

I load a different form before this one and it works fine...

no-e

modified on Tuesday, June 16, 2009 11:16 AM

AnswerRe: Form Loading in VB .net [modified] Pin
dan!sh 16-Jun-09 5:34
professional dan!sh 16-Jun-09 5:34 
GeneralRe: Form Loading in VB .net Pin
Colin Angus Mackay16-Jun-09 5:43
Colin Angus Mackay16-Jun-09 5:43 
GeneralRe: Form Loading in VB .net Pin
dan!sh 16-Jun-09 5:50
professional dan!sh 16-Jun-09 5:50 
GeneralRe: Form Loading in VB .net Pin
No-e16-Jun-09 6:08
No-e16-Jun-09 6:08 
AnswerRe: Form Loading in VB .net Pin
Henry Minute16-Jun-09 6:41
Henry Minute16-Jun-09 6:41 
GeneralRe: Form Loading in VB .net Pin
No-e16-Jun-09 7:01
No-e16-Jun-09 7:01 
GeneralRe: Form Loading in VB .net Pin
Henry Minute16-Jun-09 7:06
Henry Minute16-Jun-09 7:06 
QuestionConvert a string to unicode Pin
mosche7516-Jun-09 4:17
mosche7516-Jun-09 4:17 
AnswerRe: Convert a string to unicode Pin
Luc Pattyn16-Jun-09 4:54
sitebuilderLuc Pattyn16-Jun-09 4:54 
GeneralRe: Convert a string to unicode Pin
mosche7516-Jun-09 19:45
mosche7516-Jun-09 19:45 
GeneralRe: Convert a string to unicode Pin
Luc Pattyn16-Jun-09 23:10
sitebuilderLuc Pattyn16-Jun-09 23:10 
Questionxml root Pin
Ebube16-Jun-09 2:43
Ebube16-Jun-09 2:43 
AnswerRe: xml root Pin
EliottA16-Jun-09 2:52
EliottA16-Jun-09 2:52 
GeneralRe: xml root Pin
Luc Pattyn16-Jun-09 3:49
sitebuilderLuc Pattyn16-Jun-09 3:49 
GeneralRe: xml root Pin
Ebube16-Jun-09 5:23
Ebube16-Jun-09 5:23 
GeneralRe: xml root Pin
The Man from U.N.C.L.E.16-Jun-09 7:29
The Man from U.N.C.L.E.16-Jun-09 7:29 
GeneralRe: xml root Pin
Ebube16-Jun-09 23:56
Ebube16-Jun-09 23:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.