Author |
Message |
Dene Charleswort #1 / 8
|
 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 |
|
 |
Paul Newto #2 / 8
|
 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 |
|
 |
Dene Charleswort #3 / 8
|
 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 |
|
 |
Randy Birc #4 / 8
|
 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 |
|
 |
Rick Rothstei #5 / 8
|
 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 |
|
 |
Dene Charleswort #6 / 8
|
 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 |
|
 |
Mike William #7 / 8
|
 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 |
|
 |
Randy Birc #8 / 8
|
 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 |
|
|