• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

VB screen saver opens minimized

I have created a screen saver in VB6.  It functions by reading the user settings from an ini file (font size and color, files to read text from, colors randomly selected, etc.) then opening the screen saver form which is a form with a black background, and displaying the text bouncing across the screen and changing to the next line of the text file at set intervals.  

The problem is, the background form is opening sort of minimized.  It's not minimized to the task bar, but sort of stretched down to what looks minimized.  (Just above the task bar)  How can I make it initialize into the full screen?

I am running this on NT4.0.

Regards,
Sekans
0
Sekans
Asked:
Sekans
1 Solution
 
bob_onlineCommented:
on form load, set me.windowstate = vbmaximized.  You might want to put the same line in the form resize event.
0
 
SekansAuthor Commented:
I can hardly believe it was so simple, yet it has solved the problem.

The points are yours.  Thank you.

sekans
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now