>You let people use Xtras like FileIO and FileXtra, which are capable of
>wiping the user's hard drive.
True--but most of us know a whole lot more about files than video hardware.
Plus, we have to be able to write files--we don't have to be able to reset
the refresh rate.
>I don't disagree with the idea of limiting things a little to stop someone
>from doing damage, but I still say that not allowing them to set refresh
>rates is as likely to cause damage.
I also agree with your point that it's generally a bad idea to reset
somebody's resolution. Often, though, in a limited distribution, that's
desirable. I've done corporate presentations where the user (the presenter)
will be running on various machines, and wants the program to set the
resolution so it's full-screen.
How about this for a compromise. An Xtra could probably talk to the video
driver and get acceptable refresh rate combinations--say, 800 x 600 @ 80
Hz, 1024 x 768 @ 75 Hz, etc. You could tell the Xtra to set the refresh
rate to high-medium-slow, or on a sliding scale of 1-10, say, with 10 being
the highest. It would be the Xtra's responsibility to get the available
refresh rates from the system and set it to something appropriate.
The video drivers, by the way, are how refresh rates are set--I'm pretty
sure it's not in the registry, but I could be wrong. I think it's written
into the CMOS. When you go into the control panel to set your resolution,
you're sending messages from Windows to the video drivers. The video card
drivers work in tandem with the monitor to determine acceptable resolution
and refresh rates.
Cordially,
Kerry Thompson
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]