Click here to Skip to main content
16,016,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralIncrement CD songs with VB.NET Pin
Anonymous25-Nov-03 18:03
Anonymous25-Nov-03 18:03 
GeneralInput Boxes in VB.Net2003 Pin
BooleanOperator25-Nov-03 17:43
BooleanOperator25-Nov-03 17:43 
GeneralLoading A Data Grid from A Module Pin
wvjim25-Nov-03 10:02
wvjim25-Nov-03 10:02 
GeneralRe: Loading A Data Grid from A Module Pin
Anonymous26-Nov-03 23:57
Anonymous26-Nov-03 23:57 
GeneralRe: Loading A Data Grid from A Module Pin
Dave Kreskowiak29-Nov-03 6:04
mveDave Kreskowiak29-Nov-03 6:04 
GeneralNeed help with class design: data types, etc Pin
Toni Danza25-Nov-03 10:01
Toni Danza25-Nov-03 10:01 
GeneralVB.NET toolbar in mdi parent window Pin
krolrules25-Nov-03 4:50
krolrules25-Nov-03 4:50 
GeneralRe: VB.NET toolbar in mdi parent window Pin
Dave Kreskowiak25-Nov-03 8:11
mveDave Kreskowiak25-Nov-03 8:11 
First, you might want to move the Dim statements into the Case Is blocks. Its a better idea to allocate the new forms as you need them, not before you determine that. This will save the garbage collector some time because it doesn't have to destroy objects that were never used.

Second, the problem doesn't appear to be in your code snippet. I can use the exact same code and create new forms all day. Judging by the error message, the problem appears to be in the child form itself, not with the parent. You might be doing something that is not allowed in a child form, although I can't fathom what that might be. Its also possible you might have a data binding problem where pages/records/fields are getting locked and a bind is failing on the second form.

You'll have to trace into the creation of the child form to find out whats going on. Set a breakpoint on the Show statement and run your app. When you click on the button to create the new child, the debugger will stop on the Show statement. Hit F11 to step into the child form to see what's going on.



RageInTheMachine9532
QuestionHow to safely disconnect from a webcam .... Pin
Mohan G25-Nov-03 4:20
Mohan G25-Nov-03 4:20 
AnswerRe: How to safely disconnect from a webcam .... Pin
Dave Kreskowiak25-Nov-03 7:41
mveDave Kreskowiak25-Nov-03 7:41 
GeneralRe: How to safely disconnect from a webcam .... Pin
Mohan G30-Nov-03 0:32
Mohan G30-Nov-03 0:32 
GeneralRe: How to safely disconnect from a webcam .... Pin
Dave Kreskowiak30-Nov-03 11:25
mveDave Kreskowiak30-Nov-03 11:25 
GeneralRe: How to safely disconnect from a webcam .... Pin
Mohan G30-Nov-03 18:58
Mohan G30-Nov-03 18:58 
GeneralRe: How to safely disconnect from a webcam .... Pin
Dave Kreskowiak1-Dec-03 11:36
mveDave Kreskowiak1-Dec-03 11:36 
General#Write Problems... Pin
Anonymous24-Nov-03 15:46
Anonymous24-Nov-03 15:46 
GeneralRe: #Write Problems... Pin
Dave Kreskowiak25-Nov-03 3:38
mveDave Kreskowiak25-Nov-03 3:38 
GeneralProblems connecting VB6 to SQL Server with ADO Control Pin
LaptopBoy31124-Nov-03 15:12
LaptopBoy31124-Nov-03 15:12 
GeneralCustom Control Lib VB Std Edition Pin
Rickjs24-Nov-03 6:51
Rickjs24-Nov-03 6:51 
GeneralRe: Custom Control Lib VB Std Edition Pin
Dave Kreskowiak24-Nov-03 8:22
mveDave Kreskowiak24-Nov-03 8:22 
Generalhandling remote registry on a network Pin
R Sharma24-Nov-03 5:23
R Sharma24-Nov-03 5:23 
GeneralRe: handling remote registry on a network Pin
Dave Kreskowiak24-Nov-03 8:05
mveDave Kreskowiak24-Nov-03 8:05 
GeneralRe: handling remote registry on a network Pin
R Sharma24-Nov-03 8:26
R Sharma24-Nov-03 8:26 
Generalwww.itbooksearch.com.Huge IT ebook resources,You need not amazon any more. Each $4. Pin
Anonymous24-Nov-03 2:05
Anonymous24-Nov-03 2:05 
QuestionHow to convert files stored in LOB data type of Oracle to physical files Pin
Yogesh_Dwivedi23-Nov-03 19:32
Yogesh_Dwivedi23-Nov-03 19:32 
Questionhow to open outlook2000 "Contact people" interface use VB Pin
jjwangel23-Nov-03 17:39
jjwangel23-Nov-03 17:39 

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.