bugs >> Application Ends While loading MDI Form

by TXVqZWVi » Mon, 05 Mar 2007 14:42:10 GMT

Hi,

I built an MDI application in which, First user is provided with a login
screen and if login success full the application display an MDI form with
various options like menus side panels etc. It is working fin on every
computer except one installed Windows 2003 R2 with SP1 on intel pentium D
processor 2.8 ghz , ati radeon xpress chipset mother board
with 1GB ram.

I tried on another system with windows 2003 R2 with service pack 1 and it;s
working fine.

Please some body help me on this.

Mujeeb


bugs >> Application Ends While loading MDI Form

by Bob O`Bob » Tue, 06 Mar 2007 06:27:24 GMT






It is extremely unlikely that any of those details about the systems
have anything at all to do with it.

Apparently, you have an application which starts fine on many systems,
but fails to completely start on one system.

If you can't say what line of code was the last to successfully execute,
and what was supposed to be next after that, then you have not supplied
enough information to expect anyone to help you.



Bob
--



bugs >> Application Ends While loading MDI Form

by jeff » Fri, 09 Mar 2007 01:18:41 GMT


does the machine it fails on have the necessary .net framework installed?









Application Ends While loading MDI Form

by Bob Butler » Fri, 09 Mar 2007 01:32:28 GMT





VB doesn't require the .net framework

Chances are the form uses a control or references something else that is not
installed on the failing system.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."



Application Ends While loading MDI Form

by jeff » Fri, 09 Mar 2007 03:58:40 GMT

ooops wrong forum .. my msitake.










Similar Threads

1. MDI Parent refresh issue when loading an MDI Child form

I'm having a problem when opening an MDI Child form.  I'm declaring the child 
form then setting the dock property to fill so that it takes up the entire 
space of the MDI Parent window without being maximized (user request).  The 
problem is that when the child form is being displayed it is briefly shown in 
it's default size before being resized to fill the available area on the MDI 
Parent form.  How can I stop the MDI Parent from displaying the child form 
until after all the load code is executed on the child form?  I tried using 
MDIParent.SuspendLayout() and MDIParent.ResumeLayout() but that didn't change 
anything.

Here's the call to show the child form called from the MDI Parent
me.SuspendLayout() ' doesn't stop the flicker
dim frm as new Form2
frm.MdiParent = Me
frm.Dock = DockStyle.Fill
frm.Show()
me.ResumeLayout(True)

Thanks

2. Tricking Transparent Non-Mdi Child Forms into MDI Parent / Application - VB.Net

3. How to end a mdi application

Hi,

I have a MDI Parent with a Exit ToolBar Button in a toolbar.
I also have a MDI Child with a Exit CommonButton in the form.

When either button is pressed, it calls a function in a module to do clean 
up.
Upon returning from the clean up function, the MDI Parent will do Unload Me. 
This ends the application ok.

But I don't know what to put in the MDI Child to end the application.

Any idea?

Thanks!



4. Issues with displaying a .Net Form as Child of a MDI Form in VB6 Application

5. MDI question - how to call other MDI child forms from a MDI chilid

Robert,

frmCOL.MdiParent = Me.MdiParent 

Kerry Moorman


"Robert Johnson" wrote:

> Hi all. I have a MDI child form that is a systems maintenance form.  I have 
> 7 buttons that will be used to call 7 lookup table maintance forms.  My code 
> to call the lookup table child forms from the child form is the problem. 
> How do I code it?
> The MainFrame.vb is the MDI container. I tried setting that as the MdiParent 
> but no joy...  Obviously I can't use .Me as .Me is a child form also.. So 
> how do I do this?
> 
> Thanks in advance..
> 
> Robert
> 
> Here is the one that calls the maintence form for Color:
> 
> Private Sub btnColor_Click(ByVal sender As System.Object, ByVal e As 
> System.EventArgs) Handles btnColor.Click
> 
>     Dim frmCOL As New frmColorMaint
> 
>     frmCOL.MdiParent = GRS2.MainForm   <------- this is the MainFrame.vb 
> that is the MDI container
> 
>     frmCOL.Show()
> 
> End Sub
> 
> 
> 

6. A problem to opem MDI child form from another MDI child form - VB.Net

7. Close a MDI Child form during load?

Is there ANY easy way to close a MDI Child form in the middle of it's load?
For instance, during the Load event I find a need to close the form (for
whatever reason - maybe the user isn't ready for it yet, or it displays
another form and they hit cancel). In any event, I need to be able to cause
that MDI Child form to close. Just sticking Me.Close in there won't work,
generates an error (note however, that on a NON-MDI form this seems to work
fine - go figure). I thought I could 'catch' the error in an error block
from the main MDI form; that does work - however, it must leave something
open because trying to close the main MDI form after this by using the X
button in the title bar no longer works.

Any suggestions?

Tom


8. MDI Form loading - VB.Net