Hi all, I need some help with a problem with my program - people are reporting that it does not preserve their refresh rate - they say it sets it at 60 HZ after the program exits. I'm working in VB6, and I need some code that will preserve the user's refresh rate when the program runs (I assume for the monitor) and restore it when the program exits (or keep it at that rate when the program runs). I'm using resolution switching code to change it to 1024x768 res before the program runs, which is attached in text format, for reference, if this could be a problem or could be modified to do the above. It can be API if need be, and should be compatible with all Windows flavors from 98 on to XP, if so. Thanks!
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. VB6 compatible code for the above function, ready to go.
Windows, VB6 (SP5)