Can I launch MS Access from labVIEW?

I would like to programmatically lauch MS Access and compact a database. Or perhaps I could set the table to compact on exit and exit it programmatically through labVIEW. Can I launch and exit a Microsoft application using labVIEW?

Yes, you can use ActiveX for that, to start, you should place an Automation open in the diagram, select activeX class (Access application) and from there, follow wiring property and invoke nodes to do almost anything with Access.
Hope this helps

Similar Messages

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader?
    I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
    It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
    The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
    Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
    This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
    Jan Inge Gustavsen
    Attachments:
    Show PDF-file - Adobe Reader 7-0-5 - LV61.vi ‏43 KB
    Read PDF file.jpg ‏201 KB
    Show PDF-file - Adobe Reader 5-0-5 - LV61.vi ‏42 KB

    hi there
    try the vi
    ..vi.lib\platform\browser.llb\Open Acrobat Document.vi
    it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • How to create a table in MS Access from Labview using ActiveX?

    I want to transfer datas from Labview to Access using activeX method. My only problem is to find out how to create a new table (array) in Access from the Labview program.
    Remarks: I use Labview 6i and MS Access 2000.
    For the moment I can write and read datas of Access from Labview.
    If someone could help me... that would be grate!

    This is off the Microsoft MSDN site "creating an external table". I think you can drop the last step.:
    Open the database you want to create the table in. If it is the current database, use the CurrentDb function to return an object variable that represents the current database. If it isn�t the current database, use the OpenDatabase method to open the database you want.
    Use the CurrentDb function to create a Database object that points to the current database.
    Use the CreateTableDef method of the Database object to create a table definition for the Microsoft Access table.
    Use the CreateField method of the TableDef object to create one or more fields in the Microsoft Access table.
    Use the Append method of the Fields collection to add the new field or fields t
    o the Microsoft Access table.
    Use the Append method of the TableDefs collection to create the Microsoft Access table.
    Use the TransferDatabase method to create the external table in the specified folder.
    Use the Delete method of the TableDefs collection to delete the Microsoft Access table definition.

  • Launching Microsoft Access from Internet Explorer to view a downloaded MDB file opens the wrong file (not a problem if I use Firefox)

    When clicking on a link (in Internet Explorer 9) to download an Access MDB file and then choosing to open the file directly in Microsoft Access (2007) instead of saving it, the file is copied to Temporary Internet Files but Microsoft Access tries to open
    a different file and displays an (Unrecognized database format) error.
    When I click on the option to open the file, the MDB file is copied to Temporary Internet Files\Content.IE5 but instead of that file, Access tries to open a different (incorrect) file located in Temporary Internet Files\Content.MSO (e.g. in the above error
    message, NativeView.do is an XML file containing an error message).
    I don't see this problem with Word, Excel or PowerPoint files. When opening a Word file (without saving) the Word file is copied to Content.IE5 but an identical .tmp file is created in Content.MSO which when opened in Microsoft Word displayed the required file
    correctly. The same happens for Excel files. PowerPoint appears to be handled a little differently (no .tmp file created in Content.MSO but the required file is still copied to Content.IE5) but the PPT file is still opened correctly in Microsoft PowerPoint.
    I think the Content-Type "application/msaccess" is fine because Internet Explorer does launch Microsoft Access. It just tries to open the wrong file (or so I think). However, it looks like the file type is not being determined. Here is what I noticed
    when trying to open different Microsoft Office files using Internet Explorer:
    The last one is the MDB file. As you can see, only for this type of file, the "Type" (Microsoft Office Access 2007?) is not displayed in this Open/Save dialog box.
    On Firefox, I don't see this problem. When I tried clicking on the link to the MDB file in Firefox, Microsoft Access was launched and the file was opened correctly. Is there something I can do so the MDB file is opened properly using IE? I can add/change headers
    in the HTTP response that writes this file to the output stream (on disk) if that helps.
    Thanks for your time!

    Sounds like a problem symptom to be discussed in either an IE forum or an Access forum, not here.  How did you come to post here?  ForumsRedesign.  That might be an on-topic issue for this forum.  <eg>
    Can you find your way to either of those other forums easily from here?  Another on-topic question for here I think.   ; )
    Robert Aldwinckle
    Oops, my bad. Thanks for letting me know! :)
    I've re-posted it here: http://social.technet.microsoft.com/Forums/ie/en-US/1a818501-296c-42fb-8abb-ba914629c962/launching-microsoft-access-from-internet-explorer-to-view-a-downloaded-mdb-file-opens-the-wrong-file?forum=ieitprocurrentver
    Hopefully that's the right place for this.
    Cheers!

  • Can't launch DAQ assistant in LabVIEW

    Hi
    I cannot launch DAQ assistant from LabVIEW, but i can do that from MAX. DAQ from MAX is not that flexible because i can't customized the code or convert it.  I 've tried all the various ways to open DAQ assistant and i finally realized something, on the block diagram, i open Tools/Advance/Edit palette/Express/Input/DAQ is missing (question mark) and many more functions are missing.
    I'm using  the evaluation software of Labview 8.6 and NIDAQmx 8.7.1
    Can you please tell me what is wrong. I really need to launch NI DAQmx from LabVIEW.
    Rgds
    Paul
    Solved!
    Go to Solution.

    Hi Christ
    Thanks for the feedback.
    From Block diagram interface: Function palette/Measurement
    I/O ? (there is nothing just MAX config).
    But from Front Panel: Modern/ I/O controls, i can see DAQmx names controls
    which i don't think i need now.
    What do  mean reintalling DAQmx with LV
    support, is it different from the LabVIEW evaluation software or i just have to
    reinstall the LV
    evaluation software.
    Rgds
    Paul

  • How can i load a VI from LABVIEW ver 6.0.1b3 to LABVIEW ver 6.1

    How can i load a VI from LABVIEW ver 6.0.1b3 to LABVIEW ver 6.1......I want to load a vi but i'm getting this error:
    LabVIEW load error code 9:VI version (6.1) is newer than LabVIEW version (6.0.1b3)
    My LabVIEW ver is 6.1
    Please help ......it's important
    Thanks

    I am having similar issues with a *.exe from LV6.1.  I have the runtime engine for 6.1 and recently upgraded to 8.2 from 7.1.  I've never had 6.1 on my machine.  I am able to install this executible and runtime engine on a machine with 7.1 and can run the *.exe fine. 
    I get a load error and am not sure why.  I have had similar issues with old VI's that I have written in 7.1 executing on this machine w/ 8.2
    any suggestions.
    Attachments:
    error.zip ‏14 KB

  • WEB reports can it possible to access from out side domein

    Hi, i want  information whether WEB reports can be access from

    Hi all,
    WEB reports can it possible to access from out side domein. If yes please tell me how..

  • I HAVE AN IPAD 2 WITH WIFI ONLY, CAN I GET INTERNET ACCESS FROM ANY SMARTPHONE, OR DO I NEED A SPECIFIC PHONE FOR THIS?

    i ave an ipad 2 with wifi only, can i get internet access from any cell phone, or do i need a specific phone or type of phone

    I received an iPad 2 for Christmas (the 1st Apple item I've ever owned!) and own a Nokia N95 8GB mobile (that's pretty much on its last legs/ready to die any day).
    On the Nokia I've got 2 apps (downloaded from/via Nokia's 'Ovi' app store): JoikuSpot &amp; HandyWi. Both are the free versions.
    I've not used HandyWi much - if at all - but JoikuSpot has been great. Basically, it creates a wifi hotspot (as pjl123 mentioned) in a couple of straightforward steps, and allows a few devices to be connected. It displays who/what is connected at a given time - so you can check if the guy having coffee behind you is piggybacking your hotspot or not! - data packets sent received etc.
    The paid version has the benefit of allowing you to secure the hotspot and other security features.  Their website is www.joiku.com, FYI.
    Given how slow behind the 8 ball Nokia has been, their phones are getting cheaper and cheaper - given Joiku's meant to work with Nokia S60, Symbian ^3, Maemo, Meego &amp; Sony Ericsson S60, this might be a cost effective option.
    Ps. Ah! One more thing - Joiku's website specifies that 3G must be used; that WAP will not work. Good luck, enjoy!

  • Can only launch editor once from elements 11, then have to re boot.

    Can only launch editor once from Elements 11, then must re boot.

    Please launch Editor once directly from its exe keeping Ctrl+Alt+Shift keys pressed. Delete the settings file when prompted.
    See if this helps.
    The exe can be located at - C:\Program Files (x86)\Adobe\Photoshop Elements 11\PhotoshopElementsEditor.exe
    Thanks
    Andaleeb

  • How can I control a base ACCESS from labview ?

    Hi,
    I'm working on a projet on labview and ACCESS and I want to say how can I do to control a database from labview ???
    Thanks in advance
    Cordially,
    Hasna

    On Tue, 9 Jul 2002 02:50:12 -0700 (PDT), kiki wrote:
    >could you give me more informations about Database Connectivity
    >Toolset ???
    >
    >I notice that we can write data in excel file thanks to an ActiveX but
    >is it possible with a table ACCESS ??
    DCT it's a suite of VIs (I think Optionals) the contains anything you
    need to connect to to a DB.
    I used them with access... since I'm not really happy with performance
    (read/write max 50 records/sec) it's quite quick to develop
    applications that read/write DB.
    (Write a Cluster it's trivial.... plug the cluster, prepare a table
    with fields of the same type and the same order, yo've did it)
    I think you can also use ActiveX, but I've never did.

  • Add records in table ACCESS from labview by ActiveX

    I try to add records in table of database ACCESS by an ActiveX from labview but my programme doesn't work ...
    What is the problem ?
    I have attached my VI
    Thanks in advance
    hasna
    Attachments:
    base1.vi ‏35 KB

    On Thu, 11 Jul 2002 08:13:48 -0700 (PDT), Lab Viewer
    wrote:
    >I saw your previous posts related to ActiveX/Access. I once had the
    >same kind of problems. It's not an easy task (without a toolkit)
    >because you have to learn the "interface" provided by Access/DAO in
    >order to manage what you are trying to do.
    >In my case, the best solution it was to follow the Visual Basic for
    >Applications examples included in MS Access. Even though you don't
    >know VB, don't be afraid. Important is to figure out from that example
    >what methods/properties you need to use, the proper order to call them
    >and eventually some parameters. You are dealing with the same
    >methods/properties in LabVIEW, the difference is that you have them in
    >a graphical format instead of text
    .You can find these examples by
    >going to MS Access help > Index and type DAO objects and then choose
    >one to start with (Database, recordset, field =85).
    >
    >Hope this helps
    The examples on NI's website were originally written using the DAO
    model, but the latest one was written using the ADO model.
    However, I am unable to find either example LLBs on their website
    anymore. Maybe they're trying to push their SQL Toolkit.
    Along with the VBA help in MS Access, I *highly* recommend the book
    ADO Programming for Dummies. Wonderful book. Helped me understand the
    VBA help. :-)
    Again, if anyone is intersted in VIs using ActiveX that works. He/she
    is welcome to email me.
    Linda

  • Can't launch Business rules from Smartview

    Hi,
    I am trying to lauch a business rules from smartview, but the "calculation option"/ "business rules" menu is unavailable in Excel.
    This business rules is available in the Web HBR launcher.
    How could I get access to business rules in Excel please ?
    Regards

    In Excel, you can't launch a Business rule in a free form, you have to use a form from Hyperion Planning for example.
    It would have been nice to be able to launch a BR in Smartview, as in the web launcher.

  • After SN install can't launch Disk Utility from external drive

    I recently upgraded 10.5.9 to SN on my white Macbook. First I used Carbon Copy Cloner to clone the old drive onto the replacement drive in an external enclosure. Then I swapped drives so that the new drive is now the internal drive and the old drive is in the enclosure. I then upgraded the OS on the internal drive via SN installer on DVD.
    Now when I start from the external drive in OS X 10.5.9 and try to launch Disk Utility from this drive I get a weird error message that "Disk Utility can't be launched because it's incompatible with this architecture." The only things I can think of is that Snow Leopard installs something that globally effects all perhipherals (like new disk drivers?), or that there is something in the enclosure's USB bridge which is causing this, or that installing Snow Leopard breaks the PRAM for older versions of OS X. Tech support for the enclosure vendor tells me there is nothing in the enclosure's USB that would cause this. Any insights into what's happening appreciated.

    Thanks for response. Ah, that's it. I was trying to launch it from the applications folder I had dragged to the dock, which was done while running Snow Leopard. That's why (duh!) all the application icons were slashed out. : |

  • Can you generate PDF file from LabVIEW?

    Can you generate a PDF file from LabVIEW?

    Hi there,
    I just read this post in passing.
    Heres a fairly detailed forum post on the matter - seems to be a few work arounds, but basically no you can't with just the normal labview.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=259103&query.id=65866#M259103
    Thanks
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • [Cinnamon] Can't launch cinnamon-settings from menu.

    Hi all,
    I've just put together a fresh install with gdm and cinnamon, but I can't launch the cinnamon-settings widget from the settings button (on the bottom left)
    From what I've gathered in my forum / wiki / google searches, this isn't too uncommon. However, unlike in those cases, I can launch the settings widget from the console. I can also navigate through it, except it doesn't actually *do* anything when I change settings. This is somewhat annoying, as I want to theme the desktop / set up my multi-head configuration properly / change the background.. you get the picture.
    This is what I have installed:
    [wfaithfull@mjolnir ~]$ pacman -Ss | grep cinnamon
    community/cinnamon 2.4.8-1 [installed]
    community/cinnamon-control-center 2.4.2-3 [installed]
    community/cinnamon-desktop 2.4.2-1 [installed]
    community/cinnamon-menus 2.4.1-1 [installed]
    community/cinnamon-screensaver 2.4.2-1 [installed]
    community/cinnamon-session 2.4.3-2 [installed]
    community/cinnamon-settings-daemon 2.4.3-1 [installed]
    community/cinnamon-translations 2.4.4-1 [installed]
    Can anybody point me in the right direction?
    Last edited by amicable (2015-05-11 14:00:23)

    Wow, this was stupid. I hadn't used cinnamon before - I thought it looked a lot like GNOME.. and guess what, it IS GNOME. that's why the settings don't work. My problem is that GDM picked the wrong session. Jesus.

Maybe you are looking for