Sqlagent90.exe keeps running in a command window

HELP!, This is annoying and beyond belief.  I installed SqlServer Developer edition without any problem than I installed SqlServer Express and now whenever I boot my PC, I have a command window that appear with nothing in it and the following title:
"C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Binn\SQLAGENT90.EXE"
Now if I go to the Task Manager and kill the SQLAGENT90.EXE process, it goes away for a second than comeback with the nice command windows.
Any idea what's wrong and how I can get rid of it?
Bye the way, everything else seems to be working fine with the application.
Thanks,
Claude.

Claude,
Some how the service was marked as allowed to interact with the desktop. This is not the default configuration and there is no need for it, so I'm not sure how you ended up in this state. To clean this us launch the service control manager (Control Panel -> Administrative Tools -> Services), scroll down to the Agent service (SQL Server Agent (instance name)) and double click it to bring up the Properties page. On the Properties page select the Log On tab. The service is probably running as Local System, below this is a check box labeled "Allow service to interact with desktop", uncheck that box, press the Apply button, go to the General tab and stop and start the service. You should no longer see the cmd window pop up. Click OK to dismiss the Properties page.
Cheers,
Dan

Similar Messages

  • FF 6.0 does not terminates itself, "plugin-container.exe" keeps running which does not allow termination of process

    After up-graduation to FF 6.0, FF fails to terminate when closed via X button or through Exit options in Menu. It was found that ''plugin-container.exe'' does not terminate causing failure to terminate ''firefox.exe''. ''plugin-container.exe'' runs as a sub-process to ''firefox.exe''

    After up-graduation to FF 6.0, FF fails to terminate when closed via X button or through Exit options in Menu. It was found that ''plugin-container.exe'' does not terminate causing failure to terminate ''firefox.exe''. ''plugin-container.exe'' runs as a sub-process to ''firefox.exe''

  • FM.exe keeps running

    Is it normal to see FrameMaker.exe in the Task Manager (using 93K of memory) after I have exited FrameMaker 9? Is this what they call a memory leak?

    In case this is helpful to anyone else, here is what I've learned. This is after many hours of troubleshooting and two calls (one a chat) to Adobe Support. I'll try to be concise.
    First problem: Frame would not start. I could see FrameMaker.exe as a process in the task manager, but absolutely nothing on the screen. After quite a bit of investigation, the Adobe tech told me this is a problem with the Adobe licensing system. So we renamed a licensing folder. Now I can see Frame. I thought everything was fine.
    Second problem: I notice if I start and close Frame, it's still running in the Task Manager (as shown in a previous post). If I start and close 3 times, I'll have 3 Frame processes running. The second Adobe tech checks many things (remotely) and tells me this is a result of the previous licensing fix (my first problem). Acrobat does the same thing--leaves one or multiple processes running after it's closed. The tech said this won't cause any problem and that I can ignore it. (It's true that Frame seems to work fine now.) But isn't this using/wasting memory I asked? No, because it's running "in the background." However, Task Manager says these processes are using memory. Also, I can't delete a folder that contains the Frame doc I last used. A message says it's being used. So I'm thinking the process is not letting go. But even after I end the process I can't delete this folder.
    I agree with what Russ said above, "This is definitely not right." It seems there should be a better solution.
    It seems this is all a result of a broken licensing system, and I am left with two Adobe applications that aren't behaving as they should. BTW, before I called Adobe the first time I ran an Adobe utility for "license recovery," but this did not fix the first problem (i.e, that Frame did not appear).

  • Hide visible command window when running cscript.exe

    I'm using vbs wrappers when I'm installing applications with MDT because they offer me better control and logging capability. Currently when task sequencer executes application install with cscript.exe there is this visible command window. Is it possible
    to completely hide it without big modifications to MDT?

    If you are using ZTIUtility.vbs then I recommend:
    oUtility.RunWithConsoleLoggingAndHidden "cmd.exe /c echo Hello World!"
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • Command window won't open Windows 8 (too) [SOLVED]

    I can't get the normal cmd window to open, in Windows 8. It was the same in Windows 7, so obviously something has been transferred (or remained unchanged) when I upgraded to Win8.
    Symptoms: I run cmd from win-R: conhost.exe is started every time, command window process is also started - BUT - there is no visible window! (Same if I run the command from the menu, run as administrator, whatever)
    I have seen this problem decribed by other users in the World for some time before, but still haven't found any solution.
    I suspect there is some policy setting, that prevents this window from opening. I found a proposed removal of policy settings; tried it, but it didn't make any difference.
    What policy settings could theoretically influence this?

    I can provide ProcMon output, but I can't interpret it - it's too much information for me.
    Perhaps a better tool would be ProcExp.  If the task is really there and you have cmd.exe which are both visible and invisible it can at least give you a clue about how it was started and its relationship with other started tasks.  
    ProcMon shows all the steps to producing the result that you are seeing.  You could start with a restrictive filter such as showing only Process & Threads and then comparing the patterns of successful and unsuccessful attempts at starting cmd.exe
    only from that perspective.
    Coincidentally I have just found a new toy you might be able to use easily for comparison purposes too:  wmic.exe
    E.g. for some capturable data about your problem tasks enter:
    process where name='cmd.exe' list /format
    Do it for conhost.exe too.
    C.f.
    http://technet.microsoft.com/en-us/library/bb742610.aspx#ECAA
    FWIW I have been oblivious of conhost.exe until seeing it mentioned in this incident.  What does it do?...
    I don't know but a search shows some other diagnostics which may also be easier to interpret than a ProcMon trace.  E.g. we should have thought about checking the Event log before this.  (But ProcMon would be showing you whether there
    was a write done to it as a result of your test.  <eg>)
    Good luck
    Robert Aldwinckle

  • How to ensure that giving the firefox.exe command in run dialog box in Windows opens up a specific firefox Profile?

    I have a firefox profile with certain proxy settings set. When I type firefox.exe in the run dialog Box in windows it opens up the default profile. I have a firefox shortcut specified with the command line args -P "profilename". I want this to be used as it will force the custom profile. Is there an environment variable that i can set for this?

    You can set the default profile to use in the Profile Manager to be used when no profile is specified and otherwise use desktop shortcuts with a profile specified (-P "profile").<br />
    There is also a "Don't ask at startup" check box in the PM window.
    *http://kb.mozillazine.org/Profile_Manager

  • How do I keep the command window open?

    I want to write a batch file that will leave the window open after running so I can see what the output is.
    I kind of remember having to use %k
    But I'm not sure exactly how to do it.
    UPDATE: I found what I was looking for, it's /k when you execute the command file.
    If anyone has any additional comments about scripting and keeping the command window open, please comment.

    Add "pause" to the end of the batch.
    ¯\_(ツ)_/¯

  • Cannot run command window

    In Windows I would expect to call up a seperate command window with the following, but it appears to freeze up. What am I doing wrong?
    import java.io.*;
    public class command {    
      public static void main(String[]args) {
        try {
          Process runprogram = Runtime.getRuntime().exec("C:\\windows\\system32\\cmd.exe");
          try {
            runprogram.waitFor();
          catch(InterruptedException e){}
        catch(IOException e) {
          System.err.println("Cannot run command window");
    }

    What about this...
        Process proc = null;
        try
          proc = Runtime.getRuntime().exec("start cmd");
          proc.waitFor();
        catch(Exception e)
          e.printStackTrace();
        }Some dukies would be nice next time ;-)

  • Running a shell command in windows

    Hi All,
    I am facing trouble trying to run the unix command in windows. I know that Runtime.getRuntime().exec(command) has to be used for this purpose. I have a slightly different requirement , i.e it is not simply executing the command.
    Before I execute a command say " export $KEY_SETTINGS " I need to invoke the mks shell and then execute a shell (which sets few variables).
    So the code which is written (not working though :( ) is
    osCommand = "export $KEY_SETTINGS "
    pathMKS = "C:\\temp1\\mksnt\\mksnt\\sh.exe";
    pathENV = "C:\\\\temp1\\\\temp2\\\\Environ.sh";
    command[0] = "cmd";
    command[1] = "/c";
    command[2] = pathMKS + " -c " + "\". " + pathENV + " ; " + osCommand + "\"";
    report.println("Comanda="+ command[0] + ' ' + command[1] + ' ' + command[2]);
    Process process = Runtime.getRuntime().exec(command);
    bufferedreader = new BufferedReader(new InputStreamReader(process.getInputStream()));
    bufferedreaderErr = new BufferedReader(new InputStreamReader(process.getErrorStream()));
    for(int i = 0; (s = bufferedreader.readLine()) != null && i < 1; i++) {
    commandOut = commandOut + s + "\n";
    report.println("Print env:" + s);
    while((s = bufferedreaderErr.readLine()) != null) {
    commandErr = commandErr + s + "\n";
    if (!commandErr.equals("")) {
    throw new RuntimeException("Error running command: " + command[2] + "\n. Error: " + commandErr);
    The error I am getting is
    "Error running command: C:\oracle\mksnt\mksnt\sh.exe -c ". C:\\oracle\\appl\\Apps.sh ; export $KEY_SETTINGS "
    Error: Export: not found.
    Please help me out in this.
    Best Regards
    Shrey

    Resending it again

  • How can I run a dos command from java on windows 98, 95?

    The usage of cmd.exe in the java program to run a dos command on windows 98. 95 doesn't work as the equivalent command is command.exe
    But using the command.exe in the java program makes my program to hang.

    hi,
    As u mentioned, u cannot use the cmd.exe in win9x environment as cmd.exe is specific to windows NT, you can use the command.exe without any hitches.
    for eg
    java.lang.Runtime.getRuntime().exec("start command /K a.bat"); should run the batch file a.bat..
    if the problem persists, try posting the snippet of code that you are using.
    cheerz
    ynkrish

  • I am using firefox on Windows 7 home premium platform today I updated my firefox to its latest version i.e. 3.6.12 I restart my system but when I click on firefox icon nothing happened in fact its exe was running in backend

    Hi! I am using firefox on Windows 7 home premium platform today I updated my firefox to its latest version i.e. 3.6.12 first I uninstall the firefox but keeps my personal setting and then restart my system but when I click on firefox icon nothing happened in fact its exe was running in backend firefox version 3.5 is working fine on my system as I low grade myself to 3.5 again. Kindly help.

    A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox.
    See [[Server not found]] and [[Firewalls]] and http://kb.mozillazine.org/Firewalls

  • Zenworksuserdaemon.exe command windows hangs

    Hello all,
    We recently updated to 11.2.4 MU1 and I've noticed that on our Win7 x64 devices the zenworksuserdaemon opens a black command window that stays empty. It sits there for 4 or 5 minutes before finally disappearing. It does this every log in. It uses 0 of the CPU and about 18,500 k of memory. Doesn't seem like its really doing much, just kind of sitting there. There are a couple small bundles that run on login but they finish as expected and the black command window stays open long after they are finished running so I have no idea if there is any relation between zenworksuserdaemon.exe and run on login bundles.
    You can see an irrecoverable error in the log file below. Any help in a direction to go would be appreciated. Im not even fully sure what zenuserdaemon does so i don't even know where to begin troubleshooting.
    Thanks.
    I cleared the log file, logged out and back in. The window stayed open for about 4 minutes before closing and then i copied this log file.
    [DEBUG] [01/30/2014 09:30:34.527] [1340] [ZenworksWindowsService] [4] [] [ZenCache] [] [DeleteFiles called for (printer policy#2e72861b0a2b4643ae2c8c2c5ba8e3d4_printer policy.xml, UserContext{_LocalId=none; _RemoteId=(ActionManager)SYSTEM})] [] []
    [DEBUG] [01/30/2014 09:30:34.527] [1340] [ZenworksWindowsService] [4] [] [ZenCache] [] [DeleteFiles called for (printer policy#a28de4fd34cc3954a2f1cc34ade106cd~3d896697a8 346944869a3d896697a834_printer policy.xml, UserContext{_LocalId=none; _RemoteId=(ActionManager)user})] [] []
    [DEBUG] [01/30/2014 09:30:47.912] [1340] [ZenworksWindowsService] [43] [] [SoapUtility] [] [Checksumming soap call with UID: USER:Assignment:GetEffectiveAssignments] [] []
    [DEBUG] [01/30/2014 09:30:47.912] [1340] [ZenworksWindowsService] [43] [] [SoapUtility] [] [Added checksum to request: 8fc755f03e93c06a7b45e06fd94836ed8ac15fc54315ff37a7 0a3c62100e9126] [] []
    [DEBUG] [01/30/2014 09:30:50.454] [1340] [ZenworksWindowsService] [43] [] [SoapUtility] [] [Using cached response.] [] []
    [DEBUG] [01/30/2014 09:30:50.454] [1340] [ZenworksWindowsService] [43] [] [CacheableHttpWebResponse] [] [Getting Response Stream] [] []
    [DEBUG] [01/30/2014 09:30:50.517] [1340] [ZenworksWindowsService] [43] [] [ContentManager] [] [metadataUpdatedNeeded = False] [] []
    [DEBUG] [01/30/2014 09:30:51.078] [1340] [ZenworksWindowsService] [37] [] [ZESMEnterprisePolicySettings] [] [Is all the ZESM Policies accepted by ZID:true] [] []
    [DEBUG] [01/30/2014 09:30:51.078] [1340] [ZenworksWindowsService] [37] [] [ZESMEnterprisePolicySettings] [] [Is all the ZESM Policies enforced by ZID:true] [] []
    [DEBUG] [01/30/2014 09:30:51.078] [1340] [ZenworksWindowsService] [37] [] [ZESMEnterprisePolicySettings] [] [ZID Current status:Enforced - Feature is operating normally last time it was loaded or currently.] [] []
    [DEBUG] [01/30/2014 09:30:51.297] [1340] [ZenworksWindowsService] [51] [] [ZESMEnterprisePolicySettings] [] [Is all the ZESM Policies accepted by ZID:true] [] []
    [DEBUG] [01/30/2014 09:30:51.297] [1340] [ZenworksWindowsService] [51] [] [ZESMEnterprisePolicySettings] [] [Is all the ZESM Policies enforced by ZID:true] [] []
    [DEBUG] [01/30/2014 09:30:51.297] [1340] [ZenworksWindowsService] [51] [] [ZESMEnterprisePolicySettings] [] [ZID Current status:Enforced - Feature is operating normally last time it was loaded or currently.] [] []
    [DEBUG] [01/30/2014 09:30:53.403] [1340] [ZenworksWindowsService] [34] [] [SoapUtility] [] [Checksumming soap call with UID: USER:Assignment:GetEffectiveAssignments] [] []
    [DEBUG] [01/30/2014 09:30:53.403] [1340] [ZenworksWindowsService] [34] [] [SoapUtility] [] [Added checksum to request: 8fc755f03e93c06a7b45e06fd94836ed8ac15fc54315ff37a7 0a3c62100e9126] [] []
    [DEBUG] [01/30/2014 09:30:54.417] [1340] [ZenworksWindowsService] [34] [] [SoapUtility] [] [Found etag: 8ef6b1074d934a50d5edf8b023a62b4331555aa7e5b92c14d6 96ef7e1ddf2cc8] [] []
    [DEBUG] [01/30/2014 09:30:54.417] [1340] [ZenworksWindowsService] [34] [] [SoapUtility] [] [Updating checksum for USER:Assignment:GetEffectiveAssignments. Value: 8ef6b1074d934a50d5edf8b023a62b4331555aa7e5b92c14d6 96ef7e1ddf2cc8] [] []
    [DEBUG] [01/30/2014 09:30:54.432] [1340] [ZenworksWindowsService] [34] [] [SoapUtility] [] [Caching HTTP response, Key: USER:Assignment:GetEffectiveAssignments] [] []
    [DEBUG] [01/30/2014 09:30:54.448] [1340] [ZenworksWindowsService] [34] [] [CacheableHttpWebResponse] [] [Getting Response Stream] [] []
    [DEBUG] [01/30/2014 09:30:54.698] [1340] [ZenworksWindowsService] [34] [] [ContentManager] [] [metadataUpdatedNeeded = False] [] []
    [DEBUG] [01/30/2014 09:31:04.260] [1340] [ZenworksWindowsService] [48] [] [ZESMEnterprisePolicySettings] [] [Is all the ZESM Policies accepted by ZID:true] [] []
    [DEBUG] [01/30/2014 09:31:04.260] [1340] [ZenworksWindowsService] [48] [] [ZESMEnterprisePolicySettings] [] [Is all the ZESM Policies enforced by ZID:true] [] []
    [DEBUG] [01/30/2014 09:31:04.260] [1340] [ZenworksWindowsService] [48] [] [ZESMEnterprisePolicySettings] [] [ZID Current status:Enforced - Feature is operating normally last time it was loaded or currently.] [] []
    [DEBUG] [01/30/2014 09:31:04.869] [1340] [ZenworksWindowsService] [34] [] [SoapUtility] [] [Checksumming soap call with UID: USER:Containment:GetContainment] [] []
    [DEBUG] [01/30/2014 09:31:17.536] [1340] [ZenworksWindowsService] [7] [] [ZenCache] [] [DeleteFiles called for (printer policy#2e72861b0a2b4643ae2c8c2c5ba8e3d4_printer policy.xml, UserContext{_LocalId=none; _RemoteId=(ActionManager)SYSTEM})] [] []
    [DEBUG] [01/30/2014 09:31:17.536] [1340] [ZenworksWindowsService] [7] [] [ZenCache] [] [DeleteFiles called for (printer policy#a28de4fd34cc3954a2f1cc34ade106cd~3d896697a8 346944869a3d896697a834_printer policy.xml, UserContext{_LocalId=none; _RemoteId=(ActionManager)user})] [] []
    [DEBUG] [01/30/2014 09:31:20.750] [1340] [ZenworksWindowsService] [7] [] [ZESMEnterprisePolicySettings] [] [InstallPrepCalled value from session:true] [] []
    [ INFO] [01/30/2014 09:31:22.247] [1340] [ZenworksWindowsService] [7] [apitt] [printer policy] [POLICYHANDLERS.PrinterPolicy.PrinterAlreadyExists] [Printer ipp://iprint01.cgresd.net/ipp/cgCentralHp4000 already exists for user , hence not adding.] [] [null]
    [ INFO] [01/30/2014 09:31:22.247] [1340] [ZenworksWindowsService] [7] [apitt] [printer policy] [POLICYHANDLERS.PrinterPolicy.PrinterAlreadyExists] [Printer ipp://iprint01.cgresd.net/ipp/cgCentralXe6180 already exists for user , hence not adding.] [] [null]
    [ INFO] [01/30/2014 09:31:22.247] [1340] [ZenworksWindowsService] [7] [apitt] [printer policy] [POLICYHANDLERS.PrinterPolicy.PrinterAlreadyExists] [Printer ipp://iprint01.cgresd.net/ipp/cgCentralRiMP8001 already exists for user , hence not adding.] [] [null]
    [ INFO] [01/30/2014 09:31:22.247] [1340] [ZenworksWindowsService] [7] [apitt] [printer policy] [POLICYHANDLERS.PrinterPolicy.PrinterAlreadyExists] [Printer ipp://iprint01.cgresd.net/ipp/cgCentralRiMPC5000 already exists for user , hence not adding.] [] [null]
    [DEBUG] [01/30/2014 09:31:23.027] [1340] [ZenworksWindowsService] [7] [] [ZenCache] [] [DeleteFiles called for (printer policy#2e72861b0a2b4643ae2c8c2c5ba8e3d4_printer policy.xml, UserContext{_LocalId=none; _RemoteId=(ActionManager)SYSTEM})] [] []
    [DEBUG] [01/30/2014 09:31:23.043] [1340] [ZenworksWindowsService] [7] [] [ZenCache] [] [DeleteFiles called for (printer policy#a28de4fd34cc3954a2f1cc34ade106cd~3d896697a8 346944869a3d896697a834_printer policy.xml, UserContext{_LocalId=none; _RemoteId=(ActionManager)user})] [] []
    [DEBUG] [01/30/2014 09:31:28.394] [1340] [ZenworksWindowsService] [52] [] [ZESMEnterprisePolicySettings] [] [Is all the ZESM Policies accepted by ZID:true] [] []
    [DEBUG] [01/30/2014 09:31:28.394] [1340] [ZenworksWindowsService] [52] [] [ZESMEnterprisePolicySettings] [] [Is all the ZESM Policies enforced by ZID:true] [] []
    [DEBUG] [01/30/2014 09:31:28.394] [1340] [ZenworksWindowsService] [52] [] [ZESMEnterprisePolicySettings] [] [ZID Current status:Enforced - Feature is operating normally last time it was loaded or currently.] [] []
    [DEBUG] [01/30/2014 09:30:03.311] [2864] [ZenUserDaemon] [1] [] [DeviceGuid] [] [Irrecoverable error!!! Error in creating Device Session.] [] []
    [DEBUG] [01/30/2014 09:31:16.818] [2512] [ZenUserDaemon] [1] [] [ZenCache] [] [SqliteConnection:Setting for Asynchronous IO operation to sqlite DB read from registry is null so setting it to default to true] [] []
    [DEBUG] [01/30/2014 09:31:35.180] [4216] [explorer] [1] [] [ZenCache] [] [SqliteConnection:Setting for Asynchronous IO operation to sqlite DB read from registry is null so setting it to default to true] [] []
    [DEBUG] [01/30/2014 09:31:40.515] [2512] [ZenUserDaemon] [1] [] [DeviceGuid] [] [Irrecoverable error!!! Error in creating Device Session.] [] []
    [DEBUG] [01/30/2014 09:31:40.515] [2512] [ZenUserDaemon] [1] [] [DeviceGuid] [] [Irrecoverable error!!! Error in creating Device Session.] [] []
    [DEBUG] [01/30/2014 09:37:04.075] [1340] [ZenworksWindowsService] [17] [] [Full Disk Encryption Module] [] [Module statusStarted] [] []

    Both of those errors are just noise in the logs.
    They can occur during normal operations.
    On 2/5/2014 10:56 PM, rhuhman wrote:
    >
    > Apitt,
    > Did you by chance find an answer to this issue? I am seeing the same
    > items in my deployment. I have been trying to track down an issues with
    > my Windows 7 systems which is causing the systems to hang. I just
    > remoted in to a laptop that just BSOD and looked in the zmd-messages log
    > and found around the same time an error reporting back
    >
    > ZenWindowsDaemon [1] [ ] [DeviceGuid] [ ] [Irrecoverable error !!! Error
    > in creating Device Session]
    > [DAUHelper] [1] [ ] ZenCommon] [ ] [ Failed to find sid in local
    > accounts. looking in AD accounts]
    >
    > This almost acts like a Microsoft Update is causing this. I don't seem
    > to see this until after the latest (Dec or Jan) updates have been
    > installed.
    >
    > I had a fellow Tech look at my setup and am confident that I don't have
    > a eDir issue or a problem with my core services.
    >
    > Not even sure this is related since I am still trying to determine what
    > might be causing the issue.
    >
    > Thanks for any update you can provide.
    >
    > Richard
    >
    >

  • TS3212 Still unable to download itunes to my pc. Tried with IE, Mozilla and Google Chrome. Keep getting an error message :"Windows cannot open itunes.exe the file is corrupt contact support."previous itunes files were wipped out by "disk cleaner." Any hel

    Still unable to download itunes to my pc. Tried with IE, Mozilla and Google Chrome. Keep getting an error message :"Windows cannot open itunes.exe the file is corrupt contact support."previous itunes files were wipped out by "disk cleaner." Any help??
    Please!
    Thanks!

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • After recently installing itunes on my new PC running windows 8, the CD/DVD drives no longer works, gives a code 19 message. Seems itunes is impacting the registry of the DVD drive. What is best solution to keep running itunes

    After recently installing itunes on my new PC running windows 8, the CD/DVD drives no longer works, gives a code 19 message. Seems itunes is impacting the registry of the DVD drive. What is best solution to keep running itunes normally in the future & get the CD/DVD drive working again? if I delete the upper / lower registry keys what other functions are impacted? I see others say itunes asks for a reinstall...then same problem all over again! THX

    Have you revieved this support document?
    TS2308: iTunes for Windows: Optical drive is no longer recognized, or "Disc burner or software not found" alert after install.
    tt2

  • EXCEL.EXE process is keep running even after closing all the handles

    I am using Excel Report Instrument functions  for creating excel application and sheet,workbook after reading/writing in to excel file am closing all the handles using CA_DiscardObjHandle (handle);     even after file is getting closed m checking it in TaskManager then one EXCEl.EXE process is keep running there,pls let me know how to deal with this....
    Solved!
    Go to Solution.

    A Kumar:
    Have you tried running the example program excelreportdemo.prj that ships with CVI?  It ends the excel process by discarding multiple handles, and it works even if you're editing a cell or have an Excel dialog open, etc.  Try running this without modification and verify that the excel process is closed when you quit the CVI app.
    Here's the Quit function from excelreportdemo.  It checks for and closes handles for the worksheet, chart, workbook, and excel application.
    int CVICALLBACK Quit (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
                if (worksheetHandle)
                    CA_DiscardObjHandle(worksheetHandle);
                if (chartHandle)
                    CA_DiscardObjHandle(chartHandle);
                if (workbookHandle)
                    ExcelRpt_WorkbookClose(workbookHandle, 0);
                    CA_DiscardObjHandle(workbookHandle);
                if (applicationHandle)
                    ExcelRpt_ApplicationQuit(applicationHandle);
                    CA_DiscardObjHandle(applicationHandle);
                QuitUserInterface (0);
                break;
        return 0;

Maybe you are looking for

  • Design questions - beginner

    Hello, I'm just getting started with BDB XML and the resources here have been very helpful. To play around with it, I imported 100,000 records from my relational db into BDB XML. I imported it as one document that sort of looks like this: <people> <p

  • Ship to Parties In Bill of Material

    Hi,   I have a scenario where in I am using LUMF as the item category in the material master for my header material and then I have maintained the Sales Bill Of Material for the same material. Let this header material be Mat 1. and the item materails

  • Macbook Pro Windows 7 no audio

    I was able to install Windows 7 on my MBP, installed graphics drivers perfectly. Only thing I cant figure out is getting the audio to work. Some people suggested downloading Realtek audio drivers which I tried but those too were unsuccessful. Any of

  • I Accidently deleted ichat how do i get it backI

    I accidently deleted ichat and i have no idea how to get it back i tried looking for it on the apple web site but i dont want to have to pay for it again

  • Load different content by date

    I need to show "Animation 1" once a day, then show "Animation 2". This is what I have so far, but it doesn't seem to work. Any ideas?