Form won't show on some computers 
Author Message
 Form won't show on some computers

Hi,
I have a form that won't show on my laptop but works ok on my desktop.
The code to load the form is

Private Sub lblM5000_Click()
Load frmM5000
frmM5000.Visible = True
End Sub

there are several of these labels on the main form & they all come up in the
task bar when activated but none of the show.
they all work ok on my desktop machine. The main form uses SODresizer to
resize all the components & I suspect this might be at fault but can't see
the difference between laptop & desktop.
--


http://www.*-*-*.com/ ~dene/



Tue, 30 Mar 2004 04:47:31 GMT  
 Form won't show on some computers
Try frmM5000.Show,

e.g.

Quote:
> Private Sub lblM5000_Click()
> frmM5000.show
> End Sub

Paul


Quote:
> Hi,
> I have a form that won't show on my laptop but works ok on my desktop.
> The code to load the form is

> Private Sub lblM5000_Click()
> Load frmM5000
> frmM5000.Visible = True
> End Sub

> there are several of these labels on the main form & they all come up in
the
> task bar when activated but none of the show.
> they all work ok on my desktop machine. The main form uses SODresizer to
> resize all the components & I suspect this might be at fault but can't see
> the difference between laptop & desktop.
> --


> http://members.winnet.com.au/~dene/



Tue, 30 Mar 2004 05:23:48 GMT  
 Form won't show on some computers
Still doesn't work on the laptop.

Quote:
> Try frmM5000.Show,

> e.g.
> > Private Sub lblM5000_Click()
> > frmM5000.show
> > End Sub

> Paul



> > Hi,
> > I have a form that won't show on my laptop but works ok on my desktop.
> > The code to load the form is

> > Private Sub lblM5000_Click()
> > Load frmM5000
> > frmM5000.Visible = True
> > End Sub

> > there are several of these labels on the main form & they all come up in
> the
> > task bar when activated but none of the show.
> > they all work ok on my desktop machine. The main form uses SODresizer to
> > resize all the components & I suspect this might be at fault but can't
see
> > the difference between laptop & desktop.
> > --


> > http://members.winnet.com.au/~dene/



Tue, 30 Mar 2004 05:49:00 GMT  
 Form won't show on some computers
Could the position of the form be outside the view area of the screen ?

--

Randy Birch
MVP Visual Basic

http://www.mvps.org/vbnet/

Please respond only to the newsgroups so all can benefit.


Quote:
> Still doesn't work on the laptop.


> > Try frmM5000.Show,

> > e.g.
> > > Private Sub lblM5000_Click()
> > > frmM5000.show
> > > End Sub

> > Paul



> > > Hi,
> > > I have a form that won't show on my laptop but works ok on my desktop.
> > > The code to load the form is

> > > Private Sub lblM5000_Click()
> > > Load frmM5000
> > > frmM5000.Visible = True
> > > End Sub

> > > there are several of these labels on the main form & they all come up
in
> > the
> > > task bar when activated but none of the show.
> > > they all work ok on my desktop machine. The main form uses SODresizer
to
> > > resize all the components & I suspect this might be at fault but can't
> see
> > > the difference between laptop & desktop.
> > > --


> > > http://members.winnet.com.au/~dene/



Tue, 30 Mar 2004 09:19:31 GMT  
 Form won't show on some computers

Quote:
> Could the position of the form be outside the view area of the screen ?

Which he should be able to check using this addition to his Sub

Private Sub lblM5000_Click()
Load frmM5000
frmM5000.Visible = True
MsgBox "Top = " & frmM5000.Top & "; Left = " & frmM5000.Left
End Sub

Rick

______________________________________________________________________________
Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net



Tue, 30 Mar 2004 10:33:54 GMT  
 Form won't show on some computers
Well done Randy!!
The desktop is 1600 X 1200 & the laptop is 800 X 600.
Thanks all, Problem solved

Quote:
> Could the position of the form be outside the view area of the screen ?

> --

> Randy Birch
> MVP Visual Basic

> http://www.mvps.org/vbnet/

> Please respond only to the newsgroups so all can benefit.



> > Still doesn't work on the laptop.


> > > Try frmM5000.Show,

> > > e.g.
> > > > Private Sub lblM5000_Click()
> > > > frmM5000.show
> > > > End Sub

> > > Paul



> > > > Hi,
> > > > I have a form that won't show on my laptop but works ok on my
desktop.
> > > > The code to load the form is

> > > > Private Sub lblM5000_Click()
> > > > Load frmM5000
> > > > frmM5000.Visible = True
> > > > End Sub

> > > > there are several of these labels on the main form & they all come
up
> in
> > > the
> > > > task bar when activated but none of the show.
> > > > they all work ok on my desktop machine. The main form uses
SODresizer
> to
> > > > resize all the components & I suspect this might be at fault but
can't
> > see
> > > > the difference between laptop & desktop.
> > > > --


> > > > http://members.winnet.com.au/~dene/



Tue, 30 Mar 2004 13:19:16 GMT  
 Form won't show on some computers
Probbly won't work, but try setting its Left and Top properties.

Mike


Quote:
> Still doesn't work on the laptop.


> > Try frmM5000.Show,

> > e.g.
> > > Private Sub lblM5000_Click()
> > > frmM5000.show
> > > End Sub

> > Paul



> > > Hi,
> > > I have a form that won't show on my laptop but works ok on my desktop.
> > > The code to load the form is

> > > Private Sub lblM5000_Click()
> > > Load frmM5000
> > > frmM5000.Visible = True
> > > End Sub

> > > there are several of these labels on the main form & they all come up
in
> > the
> > > task bar when activated but none of the show.
> > > they all work ok on my desktop machine. The main form uses SODresizer
to
> > > resize all the components & I suspect this might be at fault but can't
> see
> > > the difference between laptop & desktop.
> > > --


> > > http://members.winnet.com.au/~dene/



Tue, 30 Mar 2004 07:06:28 GMT  
 Form won't show on some computers
That's why I get paid the big bucks <g>.

--

Randy Birch
MVP Visual Basic

http://www.mvps.org/vbnet/

Please respond only to the newsgroups so all can benefit.


Quote:
> Well done Randy!!
> The desktop is 1600 X 1200 & the laptop is 800 X 600.
> Thanks all, Problem solved



Wed, 31 Mar 2004 06:54:59 GMT  
 
 [ 8 post ] 

 Relevant Pages 

1. Custom ActiveX control won't show in IE browser under Windows 95 on other computers

2. form won't show up

3. VB6 form won't show modally in Excel

4. Help! MDI Child Form won't show

5. Control.Text Property won't show up on form

6. ActiveX DLL events won't fire when DLL shows Modal Form

7. Entire Form Won't Show

8. Custom ActiveX Control Doesn't Show in Other Computer's Browsers

9. I ran the VB5 ASW, but my app still won't work on other computers

10. My Program won't install on another computer, have VB studio Pro

11. VB6 Packaged program won't install on other computer

12. I ran the VB5 ASW, but my app still won't work on other computers

 

 
Powered by phpBB® Forum Software