Link to home
Start Free TrialLog in
Avatar of Sankar_V
Sankar_V

asked on

Changing Screen Resolution!

HI Every Body!

I always use to have my screen resoultion at 1024x768!

when my compiled programs are installed on other machines which have 800x600! some controls are not visible!

my requirement is just when my program is started, what ever may be the resolution it should change to 1024x768!
And when i quit my program it should restore the previous screen resolution!

pls help me regarding this!
Avatar of puranik_p
puranik_p
Flag of India image

first thing to mention is not all the monitors support this resolution.
second, not all the people like to work with this resolution. Some still like the 800X600.

so.., the better option is to size your form accordingly.
using..

form.height = multiplyingfactor * Screen.Height
ASKER CERTIFIED SOLUTION
Avatar of Rem
Rem
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sankar_V
Sankar_V

ASKER

Sorry for the delay as iam out of office!

Any how thanx for ur help and for responding my question!

it works for me!

Thanx a lot and sorry again for my delay1

You're welcome.
Just a small question; what kind of "answer" would have earned an A grade?

Rem
sankar_v,
you should appriciate the help from the experts by giving A grade. I feel answer given by Rem is more than satisfying your requirement.
Sorry Rem & Puranik!

I selected Excellent from the options!

As i did that in a hurry, some think had happen wrong!

Please tell me hw can i change this!

Sorry again.....i just noticed this by seeing ur comments!
Never mind Sankar-V, I'm not playing for the points.
Just thought it was a bit weird.
Rem
But Rem u had helped me.....

Pls tell me hw can i transfer!

U may not be palying for points......But i should give u the full points!

If you insist, I really don't know.
Ask EE directly.

C U

Rem
post a request (question) at
https://www.experts-exchange.com/Community_Support/
with 0 points.
An EE moderator will take care of this.
Grade changed as requested

Computer101
E-E Admin
Thanks Puranik for giving me the link!

anytime. :-)
I rem ,
I tried your code , but I think I am doing something wrong.
I paste the code into a class file , but nothing happen. do I have to do something else ?
I am kind of lost with the declaration

Thanks