App, opening a file via windows shell commands: "a device attached to the system does not work.

Hello!

I hope that someone here will be able to throw some lights on my question, if I post this is the wrong place please let me know because I was directed here (which forum? ). OK, I support and develop custom applications. An older application especially written in Delphi allows users to attached documents (pdf, jpg, txt, etc.) to the records of equipment in a data base. Later users can view these records of equipment and press a button to display the document.

When the user presses the button to view the document, the application uses the folder variable to save the document to the temporary path and then asks windows via a shell command to open the file. The appeal of Delphi for windows used is the following:

ShellExecute (GetDesktopWindow, 'open', PChar (TempFile), ",", SW_SHOWNORMAL);

Normally this process works very well, we have had no problems so far. On a single computer (windows xp pro with Service Pack 3) belonging to a client, instead of opening the file, windows returns the system 31 error and the message ""a device attached to the system is not functioning. ". is displayed.

* If I navigate to the location where the file is stored on the disk and try to open it, software adobe reader opens the file correctly.

* I found some suggestions that the file extension is associated properly. PDF associated with Notepad, I changed, and the application could ask windows to open the file very well. Open the file from the location on the work of disc as well. Change the file for adobe and the problem persisted.

* I reinstalled adobe reader software, but also a previous version of adobe and the problem persisted.

* The application doesn't have any problem asking other files opened, only those associated with adobe reader on this same machine. The problem does not exist on other machines.

That about sums up the problem. Any suggestion would be appreciated.

Thank you

Louis

It was determined that the version of adobe reader was at fault.

Tags: Windows

Similar Questions

  • Error 31: A device attached to the system does not work, Windows 7 host, c. 7.1.4

    Windows 7 host, Windows XP, Linux invited dare. Have tried every fix online, including the decommissioning of the upgrade and uninstall then reinstall. Nothing works. It was working and then stopped.

    The solution is:

    1. Close the workstation.

    2. Open the registry (Start > run > regedit).

    3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hcmon\.

    4. Create a new key called settings.

    5. In settings, create a new DWORD value entry named DisableDriverCheck, and then set the value to 1.

    6 reboot

    This question seems to Windows 7 host. The fix worked on the few that I tried.

  • Could not start service windows drivers Foundation-User-Mode Driver Framework on the local computer, error 31: a DVICE attached to the system does not work

    When I go to start the Service for Windows drivers Foundation I get the following error message, cannot start service window drivers Foundation-User-Mode Driver Framework on local computer, error 31: a device attached to the system is not functioning

    I was not able to find an answer in help

    Unless you write your own drivers for XP and using the Windows Driver Foundation Service to help you debug, you can disable the WDF Service.  It will be one less point to start your system and will not not just sitting there working day and night with nothing to do.

    On some systems, if WDF is activated, you can begin to see some errors of svchost.exe like this:

    Application error: the instruction at "0x7c91b21a" referenced memory at "0x00000010". Memory could not be "written".

    The best solution for this problem is: disable the WDF Service.

  • Windows Installer service is stopped 3 error "the system does not have the specified path.

    Original title: Windows Installer Service is stopped

    When I try to start the windows service install, I get: Windows could not start the Windows Installer Service on local computer.
    Misconception # 3 "the system does not have the specified path.

    Hello

    Try the methods below and check if the problem persists.

    Method 1:

    I suggest that you follow the steps under the heading Windows Installer issues in the link below to fix the problem.

    How to troubleshoot issues that may occur when you install, uninstall, or upgrade one program on a Windows computer

    http://support.Microsoft.com/kb/2438651#reso1

    Method 2:

    You can also try running a Scan SFC (System File Checker):
    SFC/scannow is a very useful command that you can use in any version of Windows. When the SFC (System File Checker) command is used with the/scannow switch, the tool analyzes all the important files of Windows on your computer and replace if necessary.

    Missing and the corruption of the operating system (like many DLLs) files are probably the main cause of the major problems of Windows. In view of this, plus the fact that the SFC /scannnow is completely automatic and very easy to use, the tool should be usually one of your top not troubleshooting.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

     

     

  • Windows search service couldn't start. The system does not have the specified path. How can I fix it?

    I'm having a problem where IE takes up to five minutes for a web page.   I see the mistake of follow up in the event viewer:

    Log name: System
    Source: Service Control Manager
    Date: 14/08/2012 21:14:10
    Event ID: 7000
    Task category: no
    Level: error
    Keywords: Classic
    User: n/a
    Computer: Owner-PC

    Description:
    The research service Windows could not start because of the following error:
    The system does not have the specified path.

    The event XML:
    http://schemas.Microsoft.com/win/2004/08/events/event ">"
     
       
        7000
        0
        2
        0
        0
        0 x 80000000000000
       
        391647
       
       
        System
        Owner-PC
       
     

     
        Windows Search
        %%d Ko
     

    When I run the program Microsoft FixIt Center I get 3 error messages that do not reach the difficulty.

    ---------------------------------------------------------------------------------------------------------

    (1) Windows Search is crashing or not fixed failing

    Windows Search crashes or breaks down after that that she has started.  In addition, an event ID 7042, 100 or 1000 is logged in the Windows event log, or the Windows Search Service is not running.

    (2) search Windows does not start and gives an error message no fixed

    Windows Search does not search results show and there is an error at startup.  A 3024 or event ID 1006 is logged in the Windows event log, or the Windows Search Service is not running.

    (3) Windows search shows no results not fixed

    Windows Search shows no results.  In addition, an event ID 7040 is logged in the Windows event log, or the Windows Search service is not running.

    ---------------------------------------------------------------------------------------------------------

    Someone at - it solutions?  Oh, I'm running Vista 32 Home SP2

    Thank you

    Hello

    Did you change to the computer?

    I suggest you to see the links and check.

    The problems with the search

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-searching

    Improve Windows searches using the index: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/improve-Windows-searches-using-the-index-frequently-asked-questions

    Ways to improve your computer's performance

    http://Windows.Microsoft.com/en-us/Windows-Vista/ways-to-improve-your-computers-performance

  • Player does not open the files. give and messages that it should close. uninstall the will does not work.

    Need help with xi reader to open files or uninstall them. Get the error and the error message that it must close due to when the file is opened. Uninstall give a patch not recognized message. can help you with this?

    Not sure about this error, but it seems some junk printer.

    Try link below

    http://support.Microsoft.com/?kbid=918730

    see if that helps you.

  • After installing Windows 7, the system does not work properly and must use the last known good configuration

    I installed the upgrade of Windows 7 a few months ago, my system was Vista 64 for everything I need, it was the upgrade, when I turn on my PC, my Start menu is not and none of my icons, to fix what I have to keep turning off my pc and turn on again by pressing F8 then go down to the last known configuration, how to fix this without having to shut down my PC and press F8 so that it starts normally all the time

    Download malwarebytes and run a virus scan to make sure that your computer is virus-free.

  • Hi friends, after upgrading to Windows 10 in my PC, my CC of Photoshop does not work. It is also not far. I want to uninstall Adobe CC and reinstall everything from scratch after you delete all the files. Please guide me. Thank you...

    Hi friends, after upgrading to Windows 10 in my PC, my CC of Photoshop does not work. It is also not far. I want to uninstall Adobe CC and reinstall everything from scratch after you delete all the files. Please guide me. Thank you...

    You can uninstall creative cloud, CC of Photoshop and other Adobe programs you want to remove "Programs and features" in the Panel

    Execution of other http://download.macromedia.com/SupportTools/Cleaner/win/AdobeCreativeCloudCleanerTool.exe

    Then reinstall Creative cloud link below

    Download Adobe Creative cloud apps | Free trial of Adobe CC

    Register and download the programs you need

  • V11.0.12 XI and IE11 Acrobat. Hyperlink inside the PDF does not work when the PDF file is opened with any browser.

    V11.0.12 XI and IE11 Acrobat. Hyperlink inside PDF is a blue rectangle and links to another PDF. When PDF is opened in Acrobat, the link works. When opened in any browser (IE, Firefox, Chrome) the link does not work. How can I get the link to work in browsers?

    I think it is a bug. I uninstalled Acrobat and reinstalled Acrobat v11.0.0. I tried the link and it works properly. Then, I installed each both updated and tested the hyperlink. Update 1-10, that the link works. However, when the 11.0.11 update is installed, the "Go to a page in another document" hyperlink stops working in browsers. V11.0.12 installation does not solve the problem. If I uninstall Acrobat and install v11.0.0 with updated v11.0.10, everything works fine.

  • The mouse does not work in the drop-down list windows

    I can click on the menus in the command line with my mouse, but once the new window opens, I use my tab, arrows and enter to navigate within this window key.  The mouse does not work.

    I am on Windows 7 and work, of course, in the Cloud of the IND version.

    Thanks for the help.

    See the signs and tools InDesign respond not to the clicks of the mouse (Windows 7/Vista)

  • Shortcuts mouse to "Open the link in a new tab" help "Middle-click on the link" does not work on 10.0.1

    Shortcut of mouse to "Open the link in a new tab" help "Middle-click on the link" does not work on 10.0.1, it worked on version 9.0.1.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

  • Windows Update cannot currently check the update, because the service does not work, you may need to restart your computer

    My computer stops the update via WIndows Update Component

    Whenever a try to do the manual update using this component I get the message;   * Windows Update cannot currently check the update, because the service does not work, you may need to restart your computer *...

    My computer has a few updates, but can not run these update

    Whenever I try to run computer shotdown/updates remain frozen for a while and stops without updating

    He starts to run updates 1 of 13... and stops

    If I shutdown normal e, computer stay likehanging 1 hour without stopping.

    I would like to know how to solve this problem

    Thank you

    Concerning

    Gladmar.

    Hello

    Were there any changes made on the computer before the show?

    Perform the following methods and check:

    Method 1:

    I suggest you to check if you are able to access Windows Update service and ensure that the following services are started. If it is not started, follow these steps:

    a. click Start, type services.msc and press enter.
    b. search Windows Update.
    c. right-click on the service and select Properties.
    d. in type of startup, select enable.
    e. click Start under the Service status.
    f. click OK.
    g. Repeat steps c to f for the following services:

    Background Intelligent Transfer Service
    Cryptographic services

    If the steps do not help to solve the problem, you can go ahead with the methods mentioned below and check.

    Method 2:

    How to reset the Windows Update components?
    http://support.Microsoft.com/kb/971058

    Method 3:

    Your anti-virus software is in conflict with Windows updates. You can test this by temporarily disabling your antivirus:

    Disable the antivirus software
    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 4:

    The problem with Microsoft Windows Update is not working

    http://support.Microsoft.com/mats/windows_update/

    See also:

    Troubleshoot problems with installing updates
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates

    Updates: frequently asked questions


    http://Windows.Microsoft.com/en-us/Windows-Vista/updates-frequently-asked-questions

    I hope this helps.

  • 5.1 surround Sound speaker system does not work in Windows 7 Professional 64-bit edition

    My problem is about the same as other users who cannot get their surround sound speaker system to work properly in Windows 7.

    I have a subwoofer and 5 speakers (2 front, 2 rear, 1 for the centre).  Connection to the RealTek HD Audio embedded is simple, orange for the subwoofer, green for the front and black for the rear.

    Test the sound in Control Panel-> windows sound produces a sound on all channels and RealTek HD Audio Manager at the same time, which is the desired configuration.

    However, different applications use different channels.  IE and Firefox use the front channels, VLC/MediaPlayer uses the back.  3D games (that is to say WoW) through all channels.  In each case the subwoofer does not work.

    I tried to download the latest drivers on the motherboard (Gigabyte) manufacturers site.  I even tried the supplied RealTek drivers (even if on the Web from RealTek site which is NOT recommended).  I tried to connect the connectors of the subwoofer to the different takes (reversed black and green).

    I have experimented with the settings in RealTek HD Audio Manager and control panel-> windows Sound.  Nothing works.

    These exact same subwoofer and speakers worked perfectly well on Windows XP.

    I have 2 questions:

    one) has anyone resolved their 5.1 & Windows 7 problem something that I have not yet tried?

    (b) when will Microsoft take this issue seriously?  All Microsoft provided answers just repeat what everyone

    has already tried.

    First disconnect the cable 3 (orange, green and black) then click on Control Panel configuration-hardware and sound - Real tek HD audio manager - central tick, subwoofer and rear pair, front left and right and filling of speaker

    Then click on advance device settings.

    Select "perform front and reading of output devices back two different audio streams simultaneously" and give ok

    Plug all three pins one by one and select the appropriate option in the popup windows.

    That's all.

    You give enough information for me to get this working.   My system runs Win 7 X 64 Home Premium.   When I select 5.1 sound capacity side my 550 x Logitech speakers are not recognized.  If I select 7.1, which is the capacity of my chip Realtek chipset, I can get the two outside are activated as a "rear" speakers and can push the test tones to each of the four surrounding speakers and the combination of Center/bass via the Realtek driver.

    Regarding the "front and reading of output devices back two different audio streams at the same time" worries... I can't find this option.  There are at least two suppliers of 'control of the interfaces' assets on my system.  One is provided by RealTek, the other by Microsoft.  The access roads to these interfaces is roundabout and confusing, to say the least.

    Some compromises are in order in my humble OPINION.  I have my Pandora one stream play in an acceptable way in my small study.  Many of the source of sounds streamed to me are recorded in stereo or mono, I find myself hitting the 'matrix' on my Logitech X 550 button quite frequently.  Sometimes a more recent piece is delivered which actually looks Ok without the decoder "matrix".

    What I would really like to be able to do is to "reconfigure on the fly" between the built in speakers on my Acer Z3731 system USB bar ' All in One ' and my external Logitech X 550 popular with the ability for the presentation of "5.1 surround sound" through three sons.  When I try your procedure, I don't get separate recognition of each thread, as it is trendy and often end up with its 2.1 being eliminated in my 5.1 speakers, because somehow Microsoft has re-recognized the built-in USB port based his bar instead of the three rear wires plugged into the outlets provided by the manufacturer of the system.

    If there was ever separate 'Speakers' and 'Realtek' icons in the UI on my system, speakers are long gone and I can't get back them.  All I see is the Realtek driver.  I would like to see the two icons 'Speakers' different, I could mark "integrated 2.1" and "5.1 external '", in addition to the driver Realtek.»  How can I get these to reappear?

    Can anyone suggest a way to have two different sets of "speakers" recognized and identified in the Microsoft UI in addition to the Realtek driver?  If I could get because of this, I think that the driver would let me 'set as default' one or the other speaker set, and I 'software switching' capable of letting me choose the external speakers or integrated sound bar offers the sound.

  • BlackBerry Smartphones ALT/O command to display the messages does not work on 7.10; Anyone know another shortcut?

    ALT/O command to display the messages does not work on 7.10; Anyone know another shortcut?  I know that I can get all messages sent via Options, but too heavy to do it and then cancel it.

    do an advanced search using the options. Once you are satisfied with it, you can save it and assign it to Alt - O.
    If you do this, remember to remove any other shortcut search which may exist.

  • My system does not work properly. I want to change it. Can I transfer my Windows 7 license on the new system?

    HI I WANT TO CHANGE MY SYSTEM AS MY SYSTEM DOES NOT WORK THERE ARE A FEW PROBLEMS WITH THE EQUIPMENT INSIDE SO I WANT TO CHANGE IT AND I WANT TO USE MY LICENSE WINDOWS 7 ON MY NEW SYSTEM CAN DO AND HOW? I HAVE A COPY RETAIL

    First of all, make sure that Windows 7 is no longer in use on the current computer.

    Click Start, type: CMD
    Right-click on CMD
    Click on run as administrator
    At the command prompt, type: slmgr.vbs - upk

    Press enter, this will uninstall the product key of the computer and to the evaluation mode, you are now free to use it on another computer. If you experience problems, try to activate by phone:
    Activate Windows 7 manually:
    1. click on start and in the search for box type: slui.exe 4

    2. press enter on your keyboard

    3. Select your country.
    4. Select the telephone activation option and brace yourself for a real person.

    The mode currently of the installation process, you will need to be activated or it will go into reduced functional mode. You have the option to install another version or edition of Windows or get a product key for it. Alternatively, you can put the system as follows:

    To format drive:

    1. Insert the DVD of Windows 7
    2. restart your computer
    3. When asked if you want to boot from your DVD player, do it.
    4. Select your language, click Next.
    5. click on "repair your computer".
    6. Select the operating system you want to repair.

    7. click on the command line

    8. at the command prompt, type: FORMAT C: /.

    Press enter on your keyboard

    Type y for Yes

    Press enter

    Please wait while the drive is formatted.

    Type exit to close the command prompt, and then click farm to shut down the computer.

Maybe you are looking for