Solved

Detecting/Changing Colors

Posted on 1998-10-25
3
154 Views
Last Modified: 2010-04-30
Hi!

I use VB5.

How can I detect how many colors the computer is using, and also change them to the desired amount, as you would in Control Panel/Display/Settings?

Thanks
0
Comment
Question by:eversoslightly
  • 2
3 Comments
 

Accepted Solution

by:
minaxi earned 10 total points
ID: 1441458
U shall need to use windows API for this question. You shall need to use the API's which will get windows registry entries and use getdevicecaps API for this problem.

Happy
Searching!


0
 
LVL 1

Author Comment

by:eversoslightly
ID: 1441459
Please give me the API codes to do this then!

Thanks,

Mark
0
 
LVL 1

Author Comment

by:eversoslightly
ID: 1441460
Please give me the API codes to do this then!

Thanks,

Mark
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question