drosenkranz
Programmer
I have a VB 5.0 / Access '97 App (We'll call this Main) that has been up and running for some time. I recently wrote a new EXE (We'll call this Check4Update) that resides on the user's machine that compares the version of "Main" on the user's hard drive with the version of "Main" stored on the server. If the versions are different, then the server version of the "Main" App is copied to the user's hard drive and launched for them.
The "Check4Update" EXE is launched from the user's Start Menu using a Link (shortcut) stored in the user's c:\Windows\Start Menu\Programs directory because the user's desktops are locked down. We have both Win '95 and Win '98 user machines.
Out of the 40+ users on my application, 3 launch the application minimized. Two of these are Win '98 and one is Win '95. All three of the users who's machines launch my app minimized use a second version of the "Main" App for supervisors only. I have recompiled the Sprv version but it still launches minimized for these three users.
Here'e the kicker. The Reg version and Sprv versions of my "Main" App are identical and compiled from the same source code with the exception of these two changes.
1) The Min Button is added to the SPRV Version
2) The Resize Event on the Main Form in the Reg version is defeated using the line while the Sprv version has the line commented out. (This prevent Reg version users from double clicking the title bar of the form to get to the Start Button thereby defeating the absence of the Min button.
Private Sub Form_Resize()
frmMainMenu.WindowState = 2 'Maximized
End Sub
Is this unintended "minimized launch" of the Sprv version a Pol Edit Issue, a shortcut issue, or a VB issue. I think I'm down to Pol Edit but I need advice. Thanks. The early bird may get the occasional worm...
but the 2nd mouse always gets the cheese.
The "Check4Update" EXE is launched from the user's Start Menu using a Link (shortcut) stored in the user's c:\Windows\Start Menu\Programs directory because the user's desktops are locked down. We have both Win '95 and Win '98 user machines.
Out of the 40+ users on my application, 3 launch the application minimized. Two of these are Win '98 and one is Win '95. All three of the users who's machines launch my app minimized use a second version of the "Main" App for supervisors only. I have recompiled the Sprv version but it still launches minimized for these three users.
Here'e the kicker. The Reg version and Sprv versions of my "Main" App are identical and compiled from the same source code with the exception of these two changes.
1) The Min Button is added to the SPRV Version
2) The Resize Event on the Main Form in the Reg version is defeated using the line while the Sprv version has the line commented out. (This prevent Reg version users from double clicking the title bar of the form to get to the Start Button thereby defeating the absence of the Min button.
Private Sub Form_Resize()
frmMainMenu.WindowState = 2 'Maximized
End Sub
Is this unintended "minimized launch" of the Sprv version a Pol Edit Issue, a shortcut issue, or a VB issue. I think I'm down to Pol Edit but I need advice. Thanks. The early bird may get the occasional worm...
but the 2nd mouse always gets the cheese.