Solved

Detecting/Changing Colors

Posted on 1998-10-25
3
156 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

733 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