|
-
Jan 17th, 2004, 11:41 PM
#1
Thread Starter
Fanatic Member
How come?
How come?
how come i can show from form1 to form2 but not from form2 to form3?
error:Object reference not set to an instance of an object.
though i did exactly the same...
Private Sub cmdNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdNext.Click
Dim OpentheForm3 As frmPurchaseRequisition3
OpentheForm3.Show()
Me.Hide()
End Sub
-
Jan 17th, 2004, 11:51 PM
#2
Don't keep reposting threads
-
Jan 17th, 2004, 11:58 PM
#3
Re: How come?
Originally posted by Goh
How come?
how come i can show from form1 to form2 but not from form2 to form3?
error:Object reference not set to an instance of an object.
though i did exactly the same...
Private Sub cmdNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdNext.Click
Dim OpentheForm3 As frmPurchaseRequisition3
OpentheForm3.Show()
Me.Hide()
End Sub
two things:
I sent you a private mesage asking you to LOOK BACK at the threads that you post. People answer those and you can reply back to them... I'm not trying to be rude dont hesitate to ask questions.....but read peopl's answers after you ask something
-two: it would be nice if you had a better descriptive title for your thread something like "can't load a form" or whatever
anyways, change Dim OpentheForm3 As frmPurchaseRequisition3 to Dim OpentheForm3 As New frmPurchaseRequisition3 and it will work
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jan 18th, 2004, 12:01 AM
#4
^ I already told him that. He PMed me his code when I asked for it in the thread, then he made this thread.....
-
Jan 18th, 2004, 12:02 AM
#5
Originally posted by kasracer
^ I already told him that. He PMed me his code when I asked for it in the thread, then he made this thread.....
errm hope he learns
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|