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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a picture fullscreen with rundll32.exe

Status
Not open for further replies.

flaviooooo

Programmer
Feb 24, 2003
496
FR
Hi,

I'm trying to open a picture from a script, using following code:

rundll32.exe C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen \\tphl246\netlogon\Picture1.jpg

Unfortunately this does not open the window in full screen. Can anyone here point me to how I can do this?

PS: I know that if you open the Picture viewer, and maximize it, it will also do it with the code. But is there a way to force it being fullscreen al the time?

Thanks in advance
 
If you resize the Picture Viewer to its Full Size doesn't your command always open it at this size too?

You probably know this already, so apologies in advance.

To resize an open window.

To change the width, point to the left or right window border. When the pointer changes into a horizontal double-headed arrow , drag the border to the right or left.
To change the height, point to the top or bottom window border. When the pointer changes into a vertical double-headed arrow , drag the border up or down.
To change the height and width at the same time, point to any window corner. When the pointer changes into a diagonal double-headed arrow , drag the border in any direction.

Close the window and next time you open the new window, hopefully it will open to the size you resized it to (perhaps).

Maximize/Re-Size Program Screens
thread779-501946
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top