Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

maximizefocus does not work in windows 2000

Status
Not open for further replies.

rjmdt

Programmer
May 17, 2002
38
US
I want the program that is called in the code below to have the focus in maximized window. It works on NT 4.0, but on Win 2000 it goes minimized to the task bar.

Thanks here's the code.


vall2 = """C:\program files\Lmw32\lmwprint.exe"" /L=f:\labels\" & Forms![labelmain]![Unimark].Form![content label file name]
y = Shell(vall2, vbMaximizedFocus)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top