[win2kforum] Re: screen resolution by user profile?

  • From: "Mauro Dionisi" <mhdion@xxxxxxxxxxx>
  • To: win2kforum@xxxxxxxxxxxxx
  • Date: Thu, 24 May 2001 12:53:26 -0300

Thanks Matt!

With the API that you suggest I solved my problem.
For now, my vb app recognizes if the user logging in is me or someone else, 
and changes the screen resolution.

If anyone wants it I could send to the list my code.
It's made in VB5.0 Enterprise Edition, so, you may have this or any newer to 
modify the code.

thanks a lot for everybody!

Mauro


----Original Message Follows----
From: Matt Neimeyer <mneimeyer@xxxxxxxx>
Reply-To: win2kforum@xxxxxxxxxxxxx
To: win2kforum@xxxxxxxxxxxxx
Subject: [win2kforum] Re: screen resolution by user profile?
Date: Thu, 10 May 2001 17:44:55 -0400



 >Could I create an script to run on Start for identify the user name and
 >changes the screen resolution?

KixTart is one of the best tools I've ever found for scripting logons and
while it does have tools for identifying users it doesn't have a built in
function (that I could see in the docs) that allows you to change the
screen resolution.

If you had a command line / windows console application that changed the
resolution you could call that from your KixTart script.

I couldn't find such a utility but after a little searching on-line I was
able to find this page which talks about the ChangeDisplaySettings windows
API. http://www.vbapi.com/ref/c/changedisplaysettings.html. Someone with
windows coding experience should be able to turn that into a command line
utility that you could use.

Matt

-----

To unsubscribe, send a message to win2kforum-request@xxxxxxxxxxxxx and put 
"unsubscribe" in the subject of the message.
To reach the administrator(s), send a message to 
win2kforum-admins@xxxxxxxxxxxxxx

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

-----

To unsubscribe, send a message to win2kforum-request@xxxxxxxxxxxxx and put 
"unsubscribe" in the subject of the message.
To reach the administrator(s), send a message to 
win2kforum-admins@xxxxxxxxxxxxxx

Other related posts: