FORCE IN VB6 SCREENSETTINGS

Due to the application, I want to force a users-screen when he starts his program to
the following,  (assuming his comp. has this available)

True color 32 bit,      1024 x 768  pixels,   large fonts 125% (120 dpi),
apply without asking or rebooting.

BIAPROAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AlexFMCommented:
Changing display settings:

http://www.angelfire.com/biz/rhaminisys/tricks.html

Scroll to the end and downlad file dsplmode.zip from Server 2 (Sample project to change the display mode).

I don't know how to set large fonts, I will try to find something.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BIAPROAuthor Commented:
Ok, I can set to  1024 x 768  pixels,
Now also if you could give a solution for the function:   large fonts 125% (120 dpi),
my programs will allways show right fonts,
Thanks sofar
0
AlexFMCommented:
Unfortunately, I don't know how to do this. But I am sure that this is impossible without reboot - Windows requires reboot when these settings are changed manually.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

BIAPROAuthor Commented:
ok, I understand, Thanks anyway
0
AlexFMCommented:
It is possible to detect DPI settings:
http://www.experts-exchange.com/Programming/Programming_Languages/MFC/Q_20723666.html

C++:

int sx = pdc->GetDeviceCaps(LOGPIXELSX);
if(sx == 96)
 //normal
else
  if(sx == 120)
   //large font

You can rewrite this in VB using API call. At least, you can ask user to set required font manually.
0
BIAPROAuthor Commented:
Will try this , thanks
Jack
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.