GetDotted Domains

Viewing Thread:
"Help needed with Vb.Net and MDI app"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sun 28/12/03 at 17:01
Regular
"PC Gaming Founder"
Posts: 2,136
Coding a program for my A-level coursework in Vb.Net and soon realised that an MDI application would be ideal for my needs. However, it's proving to be such a pain...

Ok, got my parent form, and a child form being displayed within no probs. However, I've now added a second child form, and when I go to display it (by selecting the appropriate item in a menu on the parent form) it doesn't show up and VB says this chunk of code isn't being run at all!

So, to experiment, I deleted the code that displays the first child form and changed it to display the other child form. What happens now? It still displays the first child form, even though there is absolutely no reference to it in any of my code!

I've read in a book that it's extremely unusual to have two different types of child form. Is it not possible? I hope this isn't the case as I want to have several different types of child forms! Am I not getting this whole MDI thing? Grr... :/
Sun 04/01/04 at 13:52
Regular
"PC Gaming Founder"
Posts: 2,136
Thanks for the advice Icarus, but things are starting to take shape rather nicely now. :)
Fri 02/01/04 at 19:57
Posts: 15,443
Well it should be possible, but maybe you could restructure your project so that only one form is visible at a time? If you are using tablegrids to display data, maybe you could place several in that one form.
Sun 28/12/03 at 17:01
Regular
"PC Gaming Founder"
Posts: 2,136
Coding a program for my A-level coursework in Vb.Net and soon realised that an MDI application would be ideal for my needs. However, it's proving to be such a pain...

Ok, got my parent form, and a child form being displayed within no probs. However, I've now added a second child form, and when I go to display it (by selecting the appropriate item in a menu on the parent form) it doesn't show up and VB says this chunk of code isn't being run at all!

So, to experiment, I deleted the code that displays the first child form and changed it to display the other child form. What happens now? It still displays the first child form, even though there is absolutely no reference to it in any of my code!

I've read in a book that it's extremely unusual to have two different types of child form. Is it not possible? I hope this isn't the case as I want to have several different types of child forms! Am I not getting this whole MDI thing? Grr... :/

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

First Class!
I feel that your service on this occasion was absolutely first class - a model of excellence. After this, I hope to stay with Freeola for a long time!
Excellent
Excellent communication, polite and courteous staff - I was dealt with professionally. 10/10

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.