Everytime my computer comes out of standby it no longer recognizes the GPIB-USB.

When the computer comes out of standby or hibernation I get a message saying that there is an unknown device on the USB port. Then I have to unplug the GPIB and plug it back in. Then the New Hardware Found Wizard starts up and I have to install the software again. Can this problem be fixed?

After a bit of searching through MSDN help, I found the SetThreadExecutionState command in the kernel32.lib. If you invoke SetThreadExecutionState(&H80000001) on entry to your application, you will prevent the OS from entering standby autonomously from an idle state. A user initiated standby, though, will override this. The application should issue a SetThreadExecutionState(&H80000000) on close to ensure for good housekeeping.
If you want the system to query the user before entering a user-initiated standby, then your application needs to intercept and respond to the WM_PowerBroadcst message fired by the PBT_APMQuerySuspend event. You will need to subclass your main application and respond to the event by returning a BROADCAST_QUERY_DENY from the wind
ow message loop. Go to this URL for the relevant code fragment in VB: http://www.freevbcode.com/ShowCode.asp?ID=2596
Larry E."

Similar Messages

  • I am trying to update my itunes and iphone. Everytime I trie comes out a message about 'key access'. I've done all the steps from the support and nothing worked out. I cannot unistall and now I can't open it anymore also. What should i do, please?

    I am trying to update my itunes and iphone. Everytime I trie comes out a message about 'key access'. I've done all the steps from the support and nothing worked out. I cannot unistall and now I can't open it anymore also. What should i do, please?

    Isn't that only used when a PC will not boot?
    What options does booting with this give me?
    Thanks
    JK MCP
    Hi,
    USB recovery disk was used to recover your system when it encounter problem. You can try to use it to fix your problem instead reinstall system. However, there is no method to keep your program whenreinstall system.
    Roger Lu
    TechNet Community Support

  • What could be the possible reason for a deployed application to run slow after the target pc comes out of standby mode?

    What could be the possible reason for a deployed application to run slow after the target pc comes out of standby mode?  PC running XP and using the USB to communicate with the DAQ and driver boards.  Application generated with 2010.
    Thanks

    Hello,
    Usually default property is checked 
      system property -> devices ->usb root -> power management -> allow system to switch off device
    Hope this help
    Regards
    Tinnitus
    CLAD / Labview 2011, Win Xp
    Mission d'une semaine- à plusieurs mois laissez moi un MP...
    RP et Midi-pyrénées .Km+++ si possibilité de télétravail
    Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
    Don't forget to valid a good answer / pensez à valider une réponse correcte

  • Draw Something causes Apple TV to come out of standby

    When starting the "Draw Something" app on my I-phone or I-pad, the start up "splash screen" seems to be interpreted by iOS as a video & causes Apple TV to come out of standby (assuming AirPlay had been left selected to Apple TV)
    I have reported the issue to Zynga, who tell me an updated version of Draw Something addresses this issue, however the version currently available on the App Store (created Dec 28th 2012) appears to be the same (problematic) version I already have.

    Sadly the suggestion you've made is where I've ended up. I'm grabbing a Belkin cable, like the one you mentioned, for $10 and calling it a day on the cable/SAT TV watching front. Because Last night, while watching the Blu-ray copy of Planet Earth, the sound from the Hi-Fi was solid and full. Even my super non-audiophile GF noticed the difference without question right away over the stock hollow LCD speakers' sound I've been annoyed by for sometime. Sound for most is harder to see a difference in when compared to the difference in Standard Source watching to HD.
    Anyhow unless someone who knows about my LCD model can help with getting it's sound to the Hi-Fi like I have the PS3 or I move on to what I think is a safe beat, a 7.1 profile HD theater surround sound system, I'll be using the Hi-Fi for my Entertainment watching till in the near future. Otherwise your last suggestion and my conclusion, the analog cables will have to do for Cable/SAT tv watching.
    Thanks for your input and time on my frivolous matter.
    Message was edited by: Johnny Neat

  • I'm just wondering when IOS7 will come out for Ipod 4th gen. because half the free apps need the new IOS!!

    I'm just wondering when IOS7 will come out for Ipod 4th gen. because half the free apps need the new IOS!!

    Some apps have older versions available.
    Try this if you want an App that says you need iOS 7 or later:
    Go to iTunes on a computer or on a device running iOS 7 and find the app you want and download it using your Apple ID and password.
    Now go back to your iPod Touch Gen 4 and go to the App Store and tap updates at the bottom right, then tap Purchased at the top.  Find the app on the list that you just downloaded on the computer (or other device) and tap the cloud to download it.  If it has an alternate version available that is compatible with your iOS, it will prompt you and allow you to download that.
    Source: http://support.apple.com/kb/ht5919

  • Hi i am having a problem with itunes on this computer so i had to remove it and tryed to download it again and now every time the computer comes on i get a notification which says "the program cant start because MSVCR80.dll is missing from your computer

    hi i am having a problem with itunes on this computer every time the computer comes on i get a notification which says"the program cant start because MSVCR80.dll is missing from your computer,try reinstalling the program to fix this problem" but when i click on ok it just keeps popping up 4-5 time and then gone.and i cant dopwnload the itunes again.help

    You need to work through the user tip: https://discussions.apple.com/docs/DOC-6562

  • My users folder has 140GB used on it, but I cannot find where it is getting that calculation. I went through all of my folders and opened them all in an info panel, and they all come out to about 30GBs. Where is the rest of the data? -Using Mountain Lion

    My users folder has 140GB used on it, but I cannot find where it is getting that calculation. I went through all of my folders and opened them all in an info panel, and they all come out to about 30GBs. Where is the rest of the data? -Using Mountain Lion

    First, empty the Trash if you haven't already done so.
    Use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Triple-click the line of text below to select it, then drag or copy — do not type — into the Terminal window:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Press return. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • After updated to ios7. my iphone 4s get warm on my iphone and i go to app store to download something that i purchased from the app store...it didn't come out anything. please tell me why or the iphone updated wrong

    after updated to ios7. my iphone 4s get warm on my iphone and i go to app store to download something that i purchased from the app store...it didn't come out anything. please tell me why or the iphone updated wrong. please tell me why it happens like this. thank you

    after updated to ios7. my iphone 4s get warm on my iphone and i go to app store to download something that i purchased from the app store...it didn't come out anything. please tell me why or the iphone updated wrong. please tell me why it happens like this. thank you

  • I have applied the icloud on my sisters id accidently. How can I no w remove this information and set up my own Icloud on another computer with out loosing either of our information from the phone

    I have applied the icloud on my sisters id accidently. How can I no w remove this information and set up my own Icloud on another computer with out loosing either of our information from the phone.

    Please read before going through with this procedure.
    If you really want your contact back and you did not do another iCloud backap since you deleted some of your contacts, you can do a hard reboot on both devices with iClouded contacts by holding down the home and lock buttons on each of them for 10 seconds ignoring the slide to turn off thing. Make sure you have iCloud contact services off before doing so. You can then go through the whole set up process until you get up to the backup part. You then press to restore from an iCloud backup (make sure you choose the right backup for the right phone). If you didn't make an iCloud backup before the contact incident, you will have to use your two-month-old iTunes backups. Each phone should have their contacts the way they were from your last backup. You then go into Settings>iCloud>and turn off contacts. You then can choose if you want to keep your current contacts or not. Turn this off on both phones just incase you add another iCloud device to the mix later on. Now your contact lists are no longer linked (Caution: side effect may include lack of edit button). You may now add and delete contacts as you please without it happening on your other phone.
    Thank you for choosing Apple.

  • I just updated an iPhone 4 from iOS 7 to iOS 7.1 and my computer/iTunes no longer recognizes the device; what gives?

    I just updated an iPhone 4 from iOS 7 to iOS 7.1 and my computer/iTunes no longer recognizes the device; what gives? How do I get iTunes to show the device?

    With iOS 7, the "call Decline" button is only available when the phone is awake. To decline a call when the phone is asleep, simply tap the On/Off button.

  • Computer restarts when I make it come out of standby

    Hi everyone. I just installed arch linux a few days ago and everything is working fine except for this problem. I cannot figure it out at all. Basically I suspend the computer using pm-suspend and the computer goes to sleep. When I press the keyboard or I press the power button the computer just restarts. I've installed windows and linux on this computer previously and I have never had this problem. The computer would just resume from standby normally.

    Thanks. I am using awesome wm and here is my uname.
    Linux timmy 2.6.35-ARCH #1 SMP PREEMPT Tue Sep 21 11:00:23 UTC 2010 i686 Intel(R) Atom(TM) CPU D510 @ 1.66GHz GenuineIntel GNU/Linux
    I don't have a video card; it just uses the built-in one and the video driver version is xf86-video-intel 2.12.0-1.
    Last edited by kimmel (2010-10-01 19:10:04)

  • Lenovo t61 comes out of standby automatically after the lid is closed

    Hi,
    I have a t61 + wind 7 + 32 bit + ultimate edition. It was working fine till now and suddenly I have noticed its coming out of the standy mode suddenly. I close the lid, its going to standby mode i see the little semi circle on the top and everything is fine. Suddenly when it finds any known wifi signal or any thing, which I think I have noticed, its comes out of stand by ....I can tell that from the beep it makes and the light suddenly goes off. After sometime I notice that the battery dies,  as its in normal mode even when the lid is closed and it consumes all of the battery. Please let me know what settings have to be changed to get rid of this F error. I am facing a lot of trouble as it consumes all of the battery when I open the lid even if its fully charged. I think it has to do with some settings. I have verified everything power manager, wireless adapater etc. Any gurus pls suggest.
    thanks,
    Manu

    a couple things you can check...
    open up Device Manager and see if Allow this device to wake the computer is enabled for your mouse and/or your wired ethernet device on the Power Management tab of their Properties sheets.
    hth.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • Cannot come out of standby w/ wireless keyboard mouse (usb)

    For some reason I cannot get my mega 180 to respond to keyboard or mouse activity when in standby (wireless mouse/keyboard via usb).  In ther device manager, the options to "allow this device to bring comp out of standby" is grayed out.  Any ideas?
    Something else I have noticed that might jog someone's brain:  I have a touchscreen monitor that connects via a 9 pin adapter (it is made for a serial port) to a usb port.  When I bring the computer out of standby by pressing the power button, I lose the touchscreen function, and can only get it back with a reboot.
    tia

    bios settings
    you want s3 bios to turn the most devices off.
    probable need to turn apm to disable,
    and then enable some sort of wakeup ...kbc (keyboard comand,...wake on usb or something like that.
    that worked for my msi board..yours should be similar

  • Audio from computer comes out with bass distortion (fuzz or clipping)

    This just started happening, but it seems to affect every speaker system- the high end is OK, but the bass being put out by the computer is distorted, as if the "speakers" were being overdriven, but it occurs in all the output devices-my monitor speakers, my usb headset, and my tiny-jack headset, which seems to me to indicate that it's in the computer circuitry. Is there any way to equalize or adjust the signal coming out of the sound system?

    I fixed it. False alarm. Thanks for looking. The problem was in iTunes. I had failed to mention that all the distorted sounds were coming out of iTunes. After I posted the original question, I tried trashing 2 of the 3 iTunes prefs-including the equalizer-then re-establishing my user ID. It worked. No more distortion, even on Tom Waits' Earth Died Screaming and Fannin Street.
    Sorry for any wasted time.

  • When will iLife'09 come out & when will it be included in the leopard disk?

    I'm about to purchase leopard, but since it's so close to the new year, I started thinking about iLife. If I got leopard now, then iLife would be out in no time and I would have to spend another $80 to get the update. But if I waited a little bit, I could get it with iLife'09 already installed on the disk. So when exactly will the new version of iLife be out, and more importantly, will it be included in the disk immediately (once they ship of course) or will there be a delay? Or will they not even include it in Leopard and wait until Snow Leopard comes out? Please and thank you.

    Hi basstome97;
    The fallacy in your plan is that iLife is not part of Leopard. So it doesn't matter when you buy Leopard you will not get iLife. In order to get any version of iLife you have to buy it.
    Allan

Maybe you are looking for

  • Error 8010 with itunes & ipad

    I am currently on yosemite on my mac mini. I have an Ipad with ios 8 in it. My itunes is updated to 12.0.1. When i sync my ipad, it gets synced but when i try to update apps through itunes it gives me an error : An unknown error occurred 8010. Tried

  • Resizing attachments in Mail

    When composing messages with attachments in Mail, the "size" dropdown menu at the bottom right does not appear. Is there a way to change the size of attachments or make that box in the bottom right appear by default?

  • Satellite C855-1JD Amd Radeon Driver

    Good morning, When I turned on my computer this morning I received this message: "The Catalyst Control Center is not supported by the driver version of you enabled graphics adapter. Please update your AMD graphics driver, or enable your AMD adapter u

  • Green picture during video calls

    I am only getting a green screen from my camera when making video calls on x box one,can anyone suggest anything

  • Problem with MS-Access as  Back-End Database

    We are using MS-Acess as a back-end Database when we are inserting some rows into that table all rows are inserting but the last inserting row statement , is not inserting into that table please the following code import java.sql.*; public class inse