Several application/workbook manages necessary?

I adjusted began working with CVI and Excel and I am using the library to Excel reports.

Basically, what I do is: I open existing Excel templates, edit the docs and save and close (see code below).

Currently, I have a handful of binder for each workbook that I opened, but I use only 1 application manage for all workbooks. It works so far, but I don't know if I'll run into problems later.

1. is it necessary to create more than one identifier for each workbook application?

2. when it comes to 'demand', which is a reference to? The Excel Application? If so, another application would be Word or another instance of Excel?

/*Declaration Handles*/
    static CAObjHandle workbookHandle2;
    static CAObjHandle workbookHandle3;
    static CAObjHandle workbookHandle4;
    static CAObjHandle applicationHandle; 

/*Create new app*/
    ExcelRpt_ApplicationNew(VTRUE,&applicationHandle);

/*open existing wb*/
    ExcelRpt_WorkbookOpen(applicationHandle,"C:\\testfile123.xltx", &workbookHandle2);
    ExcelRpt_WorkbookOpen(applicationHandle,"C:\\testfile123.xlt", &workbookHandle3);
    ExcelRpt_WorkbookOpen(applicationHandle,"C:\\testfile123.xltm", &workbookHandle4);

/*save templates*/
    ExcelRpt_WorkbookSave(workbookHandle2, "testfile2.xlsx", ExRConst_DefaultFileFormat);
    ExcelRpt_WorkbookSave(workbookHandle3, "testfile3.xlsx", ExRConst_DefaultFileFormat);
    ExcelRpt_WorkbookSave(workbookHandle4, "testfile4.xlsx", ExRConst_DefaultFileFormat);

Thank you

ZerMahlMer

Well, I'm glad that you're good to go!

I see that I have is at odds with myself in the second paragraph of my post.

"The important point is, don't forget to throw your handles when you don't need them (after the closure of the Excel application).

Corrected version:

You should throw your workbook/worksheet handles (not the handful of request of course) before you quit Excel.

If Excel does not task manager even though it looks like it is finished.

Tags: NI Software

Similar Questions

  • Adobe Application Manager, necessary for the verification of your driver's license, is missing or damaged.

    Adobe Application Manager, necessary for the verification of your driver's license, is missing or damaged. It appears each time I open a program from adobe. I downloaded the Manager, but he did that update hasdobe asks Manager.Please if you have an answer answer to me.

    N ° 1)

    Launch the Task Manager, click on the more details and end Adobe all related tasks.

    Step 2)

    Go to C: > Program (x 86) > " common files" > Adobe.

    Open the Adobe folder and delete files named Adobe Application Manager and OOBE.                  [Important]

    Impossible to remove? try to rename. as old OOBE. and Adobe Application Manager old.

    Step 3)

    Click on the link below and download Adobe Application manager and install the same:

    http://download.adobe.com/pub/Adobe/creativesuite/CC/Win/ApplicationManager9.0_all.exe

    Once the installation is complete, look for the icon of Adobe Application Manager launch on desktop and double-click it.

    It will start the update process.

    Once the update is complete, launch applications CC and check.

  • Several applications with lib install via OTA problems

    Hello

    We have several applications that use a library.  We offer them to users via OTA. So in all files jad app add us links (url, sha1 and size) to the cod of the library files. But we found the following problem: sometimes after an installation of apps on the device with a certain amount of our applications - some of them could not fail.

    Also, we have foung which, after upgrading OS to the latest version library, could not fail too.

    Everyone has the same problems and maybe a solution?

    Thank you!

    ' is not a user friendly way.

    I understand that.

    However, I have found that if you do not, then by installing a second request that contains the shared library can remove the first application.  In addition, removing one of the applications can also get out the shared library.

    This seems to be what you see also.

    Then I go back to my original statement:

    "The only way I think you can probably make sure that the shared library and apps are managed correctly using OTA downloads, is to put them in separate downloads."

    But this is only my opinion based on my experience.

  • Satellite L100-120 cuts of sound when running several applications

    I don't know if it is a software problem, but I'm pretty sure that it is. I have an a L100-120 recently, I have not had problems with it. The problem occurred when I tried to use the laptop speakers anymore.

    At first I noticed sporadic sound interruptions when several applications are running (especially Yahoo Messenger). I thought that it was because of the CPU and memory load and I chose to ignore the problem. A week before, while I was listening to music in Winamp, speakers for laptop (Yes, I have a headset, but sometimes, I feel the need to use the speakers) serious interruption occurred on the noise and I was forced to close two processes in a forced manner.

    Then, at each reboot, the Windows theme song was interruptions and grew every song that I played, no matter what I had programs open, and regardless of whether or not I used the speakers.

    I reformatted the HD and the problem disappeared. Unfortunately, today, I met the same problem, the same Messenger - situation of winamp and everything has stopped working properly again. At each reboot Windows high loading times and every song I play interruptions, even if the RAM memory seems rather free.

    I tried: defragmentation, clean registry, anti-virus, own system process...

    I don't know if there is a real problem of YM.

    Hello

    A question: did you play music files from the HARD drive?

    If yes yes maybe that's the problem. I think the noise interrupts because more enforcement are running and access the HARD drive Assembly.

    But it is not if you listen to just the music without running applications?
    It happens if you play the music from the CD?

  • When you install a new application, is it necessary to start from a clean boot to ensure that no application works?

    When you install a new application, is it necessary to start from a clean boot to ensure that no application works?  Somewhere, a long time ago, we advised me to always be in a boot environment when installing new applications and have always respected this notice since.  However, I recently learned that is not necessary and may even be counterproductive because some Microsoft Services are needed for new facilities.  My goal is to have no corrupted installations to avoid future problems, but I have nothing seems to give me resistance gremlin 100% and I still have my share of challenges.   Almost all applications that I install contains the warning to make sure that no application works before installing.  Can anyone tell me with authority the best way to ensure that new installations of new applications please?  In addition, the same orientation for Win XP Pro to do with Win 7 Home Premium please?  Thank you.

    YW. Yes, I think an important thing to take away is to realize that it is better to only install the necessary Windows updates 'priority '. There is one exception, apparently. Recently, an MVP made me notice that updates to certificate root (which although considered "Optional" are virtually useful updates to security for IE) must be installed as well.

    But others are optional and since then, they can be VERY problematic (especially updates of pilot and the dreaded Windows Search 4.0), you really should stay away from them!

    Happy to help to explain things. Good luck!

  • Asterisk blackBerry Smartphones Application Center? Application Center is necessary?

    I noticed just today that Application Center on my VZW Tour has the red asterisk next to him. I checked all applications listed and they are to be listed as installed or not.

    I QuickPull and configured it to run every morning to the wee hours.

    Also, Application Center is necessary given that the App World is on my device? It not, it would be safe to delete?

    Thank you

    Ray K.

    Application Center and App World are two different animals...

    The Application Center allows you to search, browse, install and upgrade of third party applications that have been selected by your wireless service provider.

    http://www.BlackBerry.com/BTSC/KB16141

    And the difference:

    http://www.BlackBerry.com/BTSC/KB17618

  • I got following message from the installation program Adobe - other instances of running Applications Adobe Manager that must be closed before you install this product. Please close or wait until they end. Please indicate how can I resolve the issue?

    I got following message from the installation program Adobe - other instances of running Applications Adobe Manager that must be closed before you install this product. Please close or wait until they end. Please indicate how can I resolve the issue?

    Please check if this helps https://helpx.adobe.com/creative-suite/kb/error-instance-updater-running-cs5.html

    Concerning

    Stéphane

  • I run pc photoshop CS6 on my windows 7 (mac). I have stupidly? the Applications Adobe Manager to update all my Adobe apps. Since that time I now get the following error message when you try to create the Contact Sheet II in my SP6 or 64 PS5.5

    Greetings


    I run Photoshop CS6 on my windows 7 Ultimate (MacPro 2008 via Bootcamp). 12 GB of ram, 512 on the video card. A lot of disk space. None of the questions of knowledge, viruses, malware, etc.


    I have stupidly? the Applications Adobe Manager to update all my Adobe apps. Since that time I now get the following error message when you try to create the Contact Sheet II in any of my SP6 or PS5.5 64-bit or 32-bit versions. «Cold is not complete the plug of command because Photoshop was unable to locate the plugin JavaScript» Re, I installed the latest update, but no change. My installation is built on CS4 extended, then with a version Standard 5, 5.5 and 6 facilities upgrade.


    The Contact Sheet function was working well, until I ran the updates.


    I'm in a bad place, as I am in the middle of multiple projects, everything I need to create Contacts for.  I thank any help or give advice on how to fix this...


    Help, please!

    Try to run Photoshop with the SHIFT key is pressed and skip loading part tird plug-in and try to use the Board contact II.  A version of plug-ins from third parties have been known to break Photoshop Scrippting.

  • I asked me to choose an application to manage the launch of photoshop CC, I don't know what to choose?

    I asked me to choose an application to manage the launch of photoshop CC, I don't know what to choose?

    Hi hoopersart,

    Its a problem of association of file on your system, please uninstall the Photoshop

    Restart the Machine

    Download and install again.

    Otherwise, see the thread below

    I cannot associate files with Adobe Photoshop CC

    Let us know if that helps.

    Kind regards

    ~ Mohit

  • Where can I get the Adobe Creative Cloud Desktop application that manages the installation process? I would check the progress of the download. Thank you!

    Where can I get the Adobe Creative Desktop application that manages the installation process? I would check the progress of the download. Thank you!

    Hello

    You can download the installer for Creative Cloud from here:
    Creative cloud help | Creative cloud desktop.

  • I get this error message on photoshop cs6 "one or more files in the Adobe Application Support folder necessary to the operation of photoshop are missing. ' Run the photoshop Installer and re-install photoshop. Could not help people talk to adobe. Does Any

    I get the following error message when I open photoshop cs6 "one or more files in the Adobe Application Support folder necessary to the operation of photoshop are missing. ' Run the photoshop Installer and re-install photoshop. Chat room Adobe could not help. I don't have a disc - it has been downloaded online. Does anyone have a suggestion?

    Hello

    Try re-download Photoshop CS6 license with your serial key and the link below:

    https://helpx.Adobe.com/x-productkb/policy-pricing/CS6-product-downloads.html

  • My computer is Win8.1 64-bit. Where can I download Adobe acrobat DC 64 bit? The application always Manager download 32-bit application for me.

    My computer is Win8.1 64-bit. Where can I download Adobe acrobat DC 64 bit? The application always Manager download 32 bit for me!



    (I tried PS and HAVE just now... the application manager installed 64 bit PS and Ai.) Why it does not find an Acrobat of 64-bit for me?)

    Acrobat CC on win is 32-bit.

  • When you try to install a trial version of InCopy CC, the application keeps Manager before installation takes place. Any suggestions?

    When you try to install a trial version of InCopy CC, the application keeps Manager before installation takes place. Any suggestions?

    uninstall your own cc desktop application (use the CC cleaning tool to solve installation problems |) CC, CS3 - CS6), and then reinstall the desktop application, https://creative.adobe.com/products/creative-cloud

    Use the desktop application to install id cc.

    or if you follow the 7 steps you can directly download a free trial here: Adobe CC 2014 Direct Download Links: Creative Cloud 2014 Release. ProDesignTools

    and activate it with your serial number.

    If you have a problem from the download, you follow the 7 steps, or your browser does not accept cookies.

    the most common problem is caused by failing to meticulously follow the steps 1, 2, and/or 3 (which adds a cookie to your system, allowing you to download the correct version of the adobe.com site).

    failure to obtain this cookie translates into an error page displayed after clicking on a link on prodesigntools.com or initiates the download of an incorrect (e.g., current) version.

  • R12.1.3 updated 11.5.10 and have several application servers

    Hello

    We are trying to upgrade the Instance to R12.1.3 11.5.10.
    12.1.3 Instance will have several application servers.

    I'll make a R12.1.1 Installation with Option to upgrade.

    What should be the procedure to several application servers?

    Finish the upgrade on a node of the Application, and then clone the other levels of applications?
    Please notify.

    Kind regards
    VN

    The current Architecture is two nodes with the Application on a node and the CM layer and DB level on another node.
    R12 Application tier is going to be on both nodes and the DB on cars.

    Please let know us on how to achieve.
    Upgrade with the node of an application and then clone or make a multi tier application node upgrade.

    Both approaches will work. However, using the cloning approach would take less time to compare several node approach.

    Thank you
    Hussein

  • CFDump several applications to a single file

    I have several applications running on a single server of CFMX7. I want to be able to run a single model of diagnosis, outside these requests, which will simply dump all scopes of application. I read that I could do this way:

    < cfapplication name = "FirstApp" >

    < cfdump var = "#application #" >

    < cfapplication name = "SecondApp" >

    < cfdump var = "#application #" >

    .. and so on.

    My question: when I call cfapplication for FirstApp in the model of diagnosis, how am affecting the FirstApp "real"? It seems to me that this method would be to attempt to create a second instance of FirstApp. Would cause problems? Did I miss something on the works of cfapplication?

    All the name of the application is, it is that a CF tag used to allow the code to identify which application it uses.  You had never created a duplicate of an application, and more would be that both ask normal, hit the tag with the same name.  The application is not related to the file that is the tag, or anything to do with the system files at all.  The application resides only in memory, and - I repeat - all is the name of the application a handle to match a request to an application.

    The more you know is if this app has expired, you must re-init by reference in your model of dump.

    --

    Adam

Maybe you are looking for

  • split a string using any delimiter and display a table

    Hello I'm trying to split a delimited string and an array of the output results. I come from a background of .net and c# code I would use would be Dim myString As String = "mystring\r\nto\r\nsplit"; String [] myString = mystring. Split (newchar [] {'

  • Windows 10 and Aspire XC600

    If confused, I have 2 AXC600 with the i3 3220 and one with the i3 3240. We came with 6gig and one came with 4 but has been upgraded to 8gig of ram. When I look at my list of Acer computers that I have saved, I see are of the XC-603 on the list for Wi

  • Windows XP update is successful but installation on a loop.

    Microsoft SQL Server 2005 Express Edition Service Pack 3 (KB955706) (update 1 of 1) This update seems to be stuck in a loop of the facility, each time that he managed installs as well as, according to automatic updates. Then said it requires installi

  • DVBSky

    ICH habe heute eine DVB-sky, S952 PCIe satellite HDTV Empfangskarte installed, der kann aber keine PC hardware find und keinen Treiber installieren. Kann mir helfen someone? Danke im voraus Milu

  • Using sortevent in the attribute of page template

    12.1.3 JdevHello. I have a page with a table template. I create the attribute< afc:attribute >< afc:attribute - name >AboutPageSortListener< / afc:attribute - name >< afc:attribute - class >oracle.jbo.uicli.binding.JUCtrlActionBinding< / afc:attribut