Need to change Display settings, either resolution or color

HI
Due to a faulty graphics driver I need to be able to change my display settings dynamically.
I know that I should use DLL calls to user32.dll, and I know that I should use the EnumDisplaySetting and ChangeDisplaySettings. But No matter what I try my LV 6.02 crashes.
I can not use G-Tool as I'm not allowed to buy it. and the shareware version dosn't include this functionality.
I have found the following links to be helpfull (but not enough):
http://msdn.microsoft.com/library/default.asp?url=​/library/en-us/gdi/devcons_84oj.asp
http://msdn.microsoft.com/library/default.asp?url=​/library/en-us/gdi/devcons_7gz7.asp
Can anyone please give me a hint. I suspect this is due to a bad choice
of input/output datatypes.
Attached is the code I have so far (it does not work)
Attachments:
enumdisplay.vi ‏19 KB

I took a crack at making the code work from LabVIEW and failed. The devmode struct is way too complicated! I believe you would be best off writing code in VB or C that can change the resolutions then call that code from LabVIEW. You might even find example code to do this on the web.

Similar Messages

  • Do I need to change any settings to connect my mac book pro to my tv?

    Do I need to change any settings on my mac book pro to connect to my tv

    Almost certainly, yes. Did you want to know which settings?
    Exactly what settings you would need to change, where, and to what would depend on many factors, including at least the following:
    * what model MBP you have (which will tell us the connector available),
    * what version of Mac OS X it runs (which will tell us the settings available),
    * what sort of TV you have (resolution, what connectors it offers, how they are switched, etc.),
    * what connecting facilities you have (like wires or an AppleTV),
    * how you want to use the TV (primary screen, secondary screen, mirror screen, sole screen),
    * whether you want to play audio through the TV,
    and even
    * where the TV is located with respect to the MBP.
    Simple case: New enough MBP to have HDMI output, running a recent OS X, TV new enough to have an available HDMI input, an HDMI cable on hand, using the TV as a secondary screen, and you don't care about how the screen positions relate or where the audio plays. You might be able to get away with default settings on the computer, but you'll still probably have to switch the TV to the HDMI input, and you'll have to drag windows onto the new screen.

  • Permanent Crash related to changing display settings while FCP is open.

    Recently, the display settings (arrangement) on my two monitors started changing by itself while I was working in FCP 6.5. I'm using ancient monitors (Viewsonic MB90 and Mitsubishi Diamond Pro 920. I just don't have the money to upgrade right now). Tis was annoying but I dealt with the problem by creating two different windows layouts. Then things got worse (the only thing I had done was install 8 gigs of additional memory on top of the original 2). FCP started crashing and now I can't even open the application. It doesn't react.
    Apple recently posted a not very informative acknowledgement of the problem with changing display settings while FCP is open, but it doesn't suggest solutions to my problem. It would be helpful to know a) what resolution and refresh rates are best for these old monitors and b)how to open FCP again. Your help is greatly appreciated.
    FCP 6.5
    2x3g quad core xeon
    Thanks,
    Alex

    THIS IS IT!
    Disabling the nVidia deep colors for 3d applications solved the uber-annoying "flicker-screen-settings-and-disrupt/crash-other-programs" issue. I specifically only disabled deep colors for Premiere, not for all 3d applications I use, because none of them have caused the same problem as Premiere.
    This display-screen setting issue probably occurred because I use a Dell u3011 monitor which displays Adobe RGB color gamut, not just sRGB.
    However, now this brings up another question with disabling deep colors (effectively disabling the Adobe RGB use of the Dell monitor):
    QUESTION: If I have CG-rendered frames that seem to be created in sRGB and Adobe RGB (in two different programs), what color space should I be mixing/editing them in?
    I'm somewhat of a novice with the color spectrum/gamut issue. From what I understand, if I edit both CG images in sRGB, I'll be losing color data from the Adobe RGB-created CG image. If I edit both CG images in Adobe RGB, will I create minor banding effects on the sRGB image because it doesn't have the color range that I'm editing in? Perhaps my question is more relevant to AfterEffects compositing of the images rather than simply/only editing them in Premiere.
    The end result is something like an architectural film/ flythrough.
    Thanks,
    -Matt

  • Preview failed because Adobe Muse could not make a connection over HTTP. The most common cause of this is Firewall software which prevents HTTP connections. You may need to change Firewall settings to allow Adobe Muse to make connections.

    Preview failed because Adobe Muse could not make a connection over HTTP. The most common cause of this is Firewall software which prevents HTTP connections. You may need to change Firewall settings to allow Adobe Muse to make connections.
    no firewall at all, in win 8.1, turned it off for all networks
    ftp and publish works just fine

    Hi,
    Please take a look at this post : Re: Adobe Muse - Preview Failed
    Regards,
    Aish

  • I need to change the settings of my acount, right know my acount says that I live in the United States but actually I live in Belgium and I need to change this before I can order/download photoshop

    I need to change the settings of my acount, right know my acount says that I live in the United States but actually I live in Belgium and I need to change this before I can order/download photoshop

    Select a Store

  • Apple TV only showing trying to change date and time. I have recently changed to a new wifi provider and need to change the settings in tha ATV box.

    Apple TV only showing trying to change date and time. I have recently changed to a new wifi provider and need to change the settings in tha ATV box.

    Welcome to the Apple Community.
    Assuming this is not the first time you have used your Apple TV
    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
    Also try restarting the router. (Also try removing it’s power cord for at least 30 seconds)
    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If restoring from the Apple TV doesn't help, try restoring from iTunes using a USB cable.
    If this is a new Apple TV, in addition to trying the above, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • I have recently changed by email login password for my emails i have managed to change them in my setting for my iPad but need to change the settings for my MAC computer but i cannot see to do it help please

    i have recently changed by email login password for my emails i have managed to change them in my setting for my iPad but need to change the settings for my MAC computer but i cannot seem to do it help please?

    Mail/Preferences/Accounts
    Use the - and + signs to delete or add your new Accounts
    see
    http://support.apple.com/kb/PH4928
    Mac 101
    http://support.apple.com/kb/index?page=search&src=support_site.kbase.search&loca le=en_US&q=deleting%20mail%20accounts

  • MBP 15" retina screen is fuzzy, changing display settings does not improve, help!

    My 2013 late model MBP 15" retina screen is not displaying sharply, even with I select "best resolution for Retina display."   Or when I change the settings to "scaled" and select "more space"....the text and fonts get smaller but still not "sharp". (my screen looks like an old MBP screen from 5 years ago).
    How can I fix this and make it a true Retina sharpness on my screen?

    Hello BocaJulz,
    You may need to enable “Use LCD font smoothing when available,” in System Preferences -> General.
    OS X Mavericks: If screen text looks blurry or jagged
    http://support.apple.com/kb/PH13821
    Cheers,
    Allen

  • Monitor says VIDEO MODE NOT SUPPORTED after changing display settings

    HELP! I am about to have a nervous breakdown with my mac mini! I hooked up the mac to my Philips LCD via DVI. No problem at all. But because the screen is only 15" I wanted to play around with the display settings a bit. So I changed the resolution from it's original 1204x768 to the one higher (not sure of numbers) and to my HORROR, I now can't get any picture at all - it says "VIDEO MODE NOT SUPPORTED". I have tried everything I can think of. I have rest the P-RAM, I have unplugged all cables, plugged the back in again, I bought the mac into work and hooked it up to my monitor and changed the resolution back to 1024x768 which is what it was on originally and that STILL didn't work. I can see the Apple logo and then it goes black and comes up with the error message. HELP! What am I doing wrong - I can't believe one click of a mouse button has rendered my display useless!!!

    Welcome to Apple Discussions!
    Try booting the mini without the display connected, and then, once the system is running, connect the display. This will often force the system to default to a low resolution, and then correctly detect the display when it is connected.
    If that doesn't help, with the display connected, boot into safe mode (hold the shift key down when starting up) and once the system is running, change the resolution to 1024x768, and ensure the correct refresh rate is selected. Rebooting normally ought then to give you a good display.
    If all else fails, boot into safe mode with the display connected, and then in the Finder's file menu, use the 'find' option to search for 'windowserver' (no quotes). You should get 2 or 3 results, including one with a string of alphanumeric characters. Move all of them to the trash and restart normally.

  • Computer crashed! Need to change sync settings!

    My old Windows 7 computer crashed. On that computer was my iTunes and my iPhone 4 was synced to it.  Now I don't have a computer and I cant, sync music, movies, update software, or anything else.  It gives me 2 options when I connect it to my Friends computers, either erase all data and start over from this computer, or just change the iPhone.  I need to be able to change my settings on the phone so that when I get my new Windows 7 computer I don't have to start over.

    Here's what you can do to save your settings and data to your friends computer until you have a new one, you'll have to repeat the procedure for your new computer.
    Disable autosync in iTunes, connect your phone to the new computer and right click on it in the device list and choose backup. iTunes will backup your phone without syncing. Transfer your purchases by right clicking again, this time choosing "transfer purchases". When you connect your phone for the first time, all media content will be erased. But you can restore your settings and app data from your manual backup afterwards. Don't forget to set up at least one contact and event on your new computer to be able to merge calendars and contacts when you sync the phone for the first time.
    About backups and what's saved: http://support.apple.com/kb/HT1766
    How to back up and restore: http://support.apple.com/kb/HT1414
    How to download apps for free again: http://support.apple.com/kb/HT2519
    Saving other data is also explained here. How to back up your data and set up as a new device
    Music is one way only, from the computer to your device, unless you bought the songs in itunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread: http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0

  • Change display settings to show mac on tv

    I bought the cables in order for me to hook my macbook pro up to my plasma tv through and hdmi cord and converter.  The first few times I hooked it up I was able to drag the screen over to the tv and it worked perfect, now it is not working and I'm not sure why.  I have tried adjusting the display settings to see if that was the case, but it doesn't make a difference. If anyone has any suggestions it'd be appreciated!

    It's not there. In Mountain Lion, the Displays options have changed somewhat:
    It only shows the external display option when a display is detected.
    Clinton

  • Change display settings to 1024x768 stretched?

    Hi all,
    I want to be able to change my display settings to 1024x768 streched?
    You use to be able to do in lion but the option is not there on mountain lion, and if you change it to 1024x768 it leaves the black borders on the sides instead of streching....
    PLEASE HELP.....

    It's not there. In Mountain Lion, the Displays options have changed somewhat:
    It only shows the external display option when a display is detected.
    Clinton

  • Thinkvantage Productivity Center - Changing Display Settings

    I have a T61 and everytime I attempt to change the display settings the window opens and says the settings were captured then closes.  This happens so fast I cannot click on the setting I want.  Any help would be appreciated.

    Your friend is correct.
    "Choose Presentation or Display Screen" (also known as "Choose Display Scheme menu") is supposed to appear.
    I don't konw why it does not work in your case, however.
    Rick
    W500 4058-CTO WinXP

  • Keyboard or terminal commands to change display settings?

    I have a circa 2007 Macbook Pro with a nearly dead display.  The top two thirds of it is dead.  I think it's running Snow Leopard.  When I attach a RGB external display it shows the background and I can drag windows to it, but I cannot seem to move the System Preferences window to a place where I can access the Dislays control panel.  Does anyone know of a way to change the display settings so that the main desktop is mirrored on both displays or how I can grab the System Prefs window and drag it to the other display?

    Try the keyboard combo: CMD + F1 (or OPT +CMD + F1) to toggle mirroring. 

  • Slows or freezes all apps on droid2. Apps work ok with fennec removed, do i need to change any settings???

    Unrooted Droid2 with froyo. Applications freeze or slow almost to a stop. Removing fennec lets apps run normally. Reinstalled fennec and problem returned. Too bad, I really like firefox. Do I need to change anything??

    Sorry, this is a common problem with Firefox on Motorola Droid and Droid 2 phones:
    https://bugzilla.mozilla.org/show_bug.cgi?id=602252
    It seems to happen because current beta versions of Firefox 4 use too much memory on Android. We're working on improving this.

Maybe you are looking for