Illegal operation after open MS Word

I use activeX to open a MS Word with my document. After Word opened my document, I manually review my document and manually click File-Print. I get illegal operation issue.
1. I already close the ActiveX refence to MS Word in my labview program.
2. but if I don't close the ActiveX reference, will this cause some issues later, what if I manually review, print and manually exit/close MS Word, will my ActiveX reference in LabView close by itself?

Hi,
Could you post your VI that you use? I created a simple VI that just opens a Word document. I couldn't reproduce the error. Do you get the Print window to open at all? Does LabVIEW report any errors in the error handlers?
The attached VI was created with LabVIEW 6i.
Zvezdana S.
Attachments:
Word_Test.vi ‏41 KB

Similar Messages

  • CS 4 Dynamic Link to Encore doesn't work most of the time.  Encore stops operating after opening and periodically Premier Pro stops working.  I'm told that there has been a problem with CS4 when using Dynamic Link to go to Encore and build CD's.  Is there

    CS 4 Dynamic Link to Encore doesn't work most of the time.  Encore stops operating after opening and periodically Premier Pro stops working.  I'm told that there has been a problem with CS4 when using Dynamic Link to go to Encore and build CD's.  Is there a way around this?  Is there a patch to correct it?

    To build CD's???
    What problem does Encore have with DL?
    If DL is not working properly for you the way around this is to export from Premiere to either mpeg2-dvd for DVD or BluRay H.264 for BD-disks and import the files in Encore.

  • Office Web App 2013 : Compatibility issue after opening a word document with image from sharepoint 2013

    Hi,
    Uploaded a word doucment in sharepoint 2013 and When we open it in WebApp2013 then following compatibilty warning is reflecting.
    "Compatibility Mode Functionality is currently limited"
    how to supress this warning message ?
    Thanks.
    raj

    Hi,
    As I understand, you would like to insert document preview in Iframe, here is an article which describe about Document preview function for your reference:
    http://community.obilogic.co.uk/blogs/teamblog/archive/2014/01/23/sharepoint-2013-custom-callout-with-file-preview.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Illegal Operation

    I'm getting a constant illegal operation after loading 6 textfields from an access97 database. The data loads fine but after about 10 seconds the error appears. The error appears immediately if I initiate the following code. I'm using Visual Cafe' ver 4.1a standard edition as my editor with Win98 600mb memory PIII 667mh Millennia
    public Vector getAllEmployees(){
    //Declare Method Variables/Objects
    Vector allEmployeesVector = new Vector();
    //Pass DSN to constructor of DatabaseConnect
         DatabaseConnect DB = new DatabaseConnect("Emp");
         System.out.println("In Get All Employees....");
         try{
         String theSQL = "SELECT * FROM tblEmployee";
         ResultSet theResult = DB.queryDatabase(theSQL);
         while(theResult.next()){
         Employee E1 = new Employee();
         E1.setEmployeeID(theResult.getInt("EmployeeID"));
         E1.setEmployeeName(theResult.getString("EmployeeName"));
         E1.setEmployeeAddress(theResult.getString("EmployeeAddress"));
         E1.setEmployeePhone(theResult.getString("EmployeePhone"));
         E1.setPayMethod(theResult.getString("PayMethod"));
         E1.setnDeptID(theResult.getInt("nDeptID"));
         //Debug Trace
         System.out.println(E1.getEmployeeID());
         System.out.println(E1.getEmployeeName());
         System.out.println(E1.getPayMethod());
         System.out.println(E1.getEmployeePhone());
         System.out.println(E1.getPayMethod());
         //Add to Vector
         allEmployeesVector.addElement(E1);
         }catch(SQLException se){
    System.out.println("getAllEmployeesMethod error : "+ se);
    return allEmployeesVector;
    void JbtnClear_actionPerformed(java.awt.event.ActionEvent event)
              JbtnAdd.setVisible(true);
              JtxtEmpId.setText("");
              JtxtEmpId.setVisible(false);
              JtxtName.setText("");
              JtxtAdd.setText("");
              JtxtPhone.setText("");
              JtxtPay.setText("");
              JtxtDept.setText("");
              JlblFormHeading.setText("");
    JAVAW caused an invalid page fault in
    module <unknown> at 0084:1f909400.
    Registers:
    EAX=05ac0654 CS=0167 EIP=1f909400 EFLGS=00010297
    EBX=05ac1330 SS=016f ESP=04ddf650 EBP=04ddf670
    ECX=05ac0e60 DS=016f ESI=05ac0e60 FS=67f7
    EDX=05ac0e60 ES=016f EDI=00000000 GS=0000
    Bytes at CS:EIP:
    Stack dump:
    1f7d792e 052a2810 00000000 83540000 007d2f10 0068a060 00000000 00000000 04ddf6c8 1f7d7866 05ac0e60 00000000 00000010 0180a180 007d2f10 502d29b8

    Windows 98. Used to drive me crazy with those "invalid operation" messages. It's not a Java problem, it's just something that happens to Win 98 after you've loaded enough complex pieces of software onto it. Senility or something like that. If you have the stomach for it, reinstall Windows and the software you need; better still, install Windows 2000 (looks like you have enough hardware to run it).

  • Cannot Interact with Microsoft Word 2008 for Mac after Opening

    After I open Microsoft Word 2008 for Mac, either by opening a .docx file or opening Word from the Applications folder, I am not able to interact with the application whatsoever.  Selecting its icon in the dock does not bring any of its windows to the front, nor does it show the Word menu at the top; instead, it still shows the menu of whatever application was previously selected.  But the windows do exist if I move other windows out of the way.  If I do get to a Word window, I cannot click on anything, select anything, resize it, close it, or scroll.
    Other info: If I click and hold the Word icon in the doc, the menu displays as if the application were functioning normally; it does not show a Force Quit option, as it would if Word were frozen.  I do not see any dialogue boxes or anything that would take the focus away from the other windows.
    Background: I was able to successfully use Word without any problems before today, using the same installation of the application, same computer, and same operating system. I also never had this problem before Mavericks, though, as I said before, I didn't always have this problem in Mavericks.
    How do I get Word to function normally again?  Thanks for any help you can provide!

    After letting Word run for quite a while, a popup window told me there was an issue with the database.  I opened the Microsoft Database Utility and rebuilt the database.  It seems to be working fine now.

  • Whenever i open gmail it appears which says-"java script application,Error: Illegal operation on WrappedNative prototype ",how this will resolve,anyhow.object

    Question
    whenever i open gmail it appears which says-"java script application,Error: Illegal operation on WrappedNative prototype ",how this will resolve,anyhow ?

    This is usually caused by an extension that is using a name for a variable or function that has become a reserved variable name and thus can't be used anymore.<br />
    You will have to check if there is an update is available for your Firefox 29.0a2 Aurora version.
    If it works in Safe Mode and in normal mode with all extensions (Firefox/Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit)
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • When I try and open Microsoft Word 2011 documents they start opening one after another at a rapid speed and I can't stop it. I reboot and same thing happens?

    When I try and open Microsoft Word 2011 documents on my  IMAC they start opening one after another at a rapid speed and I can't stop it. I reboot and same thing happens. The documents open in rapid succession on their own and don't stop until I force close or after maybe 100 or more open I start getting the following message for each document attemting to open "This document could not be registered. It will not be possible to create links from other documents to this document" and then in paretheses the name of the document. After I click okay another trys to open. Any suggestions?

    If you had multiple documents open and quit the app without closing all of the docs first, it will open them again when you launch the app. Open Word, and then close all the documents, you may be asked to save the document, if the document was already saved but you made changes to it before you quit the app, you may need to save the changes first, shorcut ( command and s keys). After you close all of the documents then quit the app and restart the computer. See if this works.

  • After opening my yahoo mail window, I keep getting a very narrow dialogue box with the words "log into Xmarks" I cannot ... and everything is frozen. How can I get rid of this thing, and what is it? I have to hit CNTRL + ALT + ESC to get rid of it.

    After opening my yahoo mail window, I keep getting a very short and narrow dialogue box with the words "log into Xmarks" I cannot ... when it pops up, always upper left of my laptop screen and I try to get into my yahoo mail web page, I get a DING sound and cannot enter it ... everything is frozen. I have to hit CNTRL + ALT + ESC to get rid of it - and then reload my Firefox browser to get back to my yahoo e-mail page ... fortunately for me, Firefox re-stores a previous session ... How can I get rid of this intrusive thing, and what is it? Thanks in advance ... Ted Beaudoin, Welland, ON, Canada

    Remove VideoFileDownload and find a downloader that doesn't contain TextEnhance.

  • After opening a picture in Photoshop Elements 12 how can I copy the picture to a word processor docu

    After opening a picture in Photoshop Elements 12, how can I copy this picture to a word processor document?

    Open the photo. Press ctrl+A (command+A on a mac) to select it, then Ctrl+C (command+C) to copy it. Go to your word processing document and press Ctrl+V (command+V) to paste it in. (Note that for the last step the procedure may vary slightly depending on your word processor.)

  • Download problem with JSF: Cannot open PDF-file after opening WORD-file

    Hello,
    I have a JSP (created with Java Studio Creator) which displays a table with links to different files. Some links open PDF-documents, other for instance DOC-files (msword). I download the file as follows:
    public String downloadFile(String fileName) {
    try {
    int dotIndex = fileName.lastIndexOf('.');
    String fileExtension = "";
    String contentType = "";
    if(dotIndex > 0) {
    fileExtension = fileName.substring(dotIndex+1, fileName.length());
    contentType=CONTENT_TYPES.get(fileExtension.toUpperCase()).toString();
    if(!fileExtension.equals("") && !contentType.equals("")) {
    // method that reads file to the byte array
    byte[] fileContent = getContentOfFile(new File(fileName));
    FacesContext faces = FacesContext.getCurrentInstance();
    HttpServletResponse response = (HttpServletResponse) faces.getExternalContext().getResponse();
    response.setContentType(contentType);
    response.setContentLength(fileContent.length);
    response.setHeader("Content-disposition", "inline; filename=\""+fileName+"\"");
    try {
    ServletOutputStream out;
    out = response.getOutputStream();
    out.write(fileContent);
    } catch (IOException e) {
    e.printStackTrace();
    faces.responseComplete();
    catch(Exception ex) {
    return ("!!!ERROR: downloadFile(fileName) - Could not completely download file "+ fileName + ex.getMessage());
    return "";
    contentType is application/pdf if it`s a PDF-file or application/msword if it`s a word-file.
    fileName contains the full file path.
    link-properties:
    <ui:hyperlink action="#{showOriginalPDF.hyperlinkShowPDF_action}" binding="#{showOriginalPDF.hyperlinkShowPDF}"
    id="hyperlinkShowPDF" immediate="true" onClick="testSubmit()" target="_blank" text="#{currentRow.value['display']}"/>
    and the code of the JS-function testSubmit() (without this function I couldn�t get the right row selection in the hyperlink-table):
    function testSubmit() {
    document.getElementById('form1').submit();
    return false;
    All pdf-links are working fine and the correct document is displayed in a new browser window. but if I open a WORD-document and after that I click on another link to a pdf-file, the WORD-file is loaded again in the new window. Only if I close the window which contains the WORD-document, I can download the correct pdf after that.
    Is something wrong with the response header (I tried "attachment" instead of "inline" too but without effect)?
    Can anybody help?

    More than you asked for but good stuff. Permissions is buried in there somewhere.
    Reading
    [Resolve startup issues and perform disk maintenance with Disk Utility and fsck|http://docs.info.apple.com/article.html?artnum=106214]
    [Using Disk Utility in Mac OS X 10.4.3 or later|http://docs.info.apple.com/article.html?artnum=302672]
    [Disk Utility's Repair Disk Permissions 10.0-10.6|http://docs.info.apple.com/article.html?artnum=25751]
    "Try Disk Utility" (modified from [http://support.apple.com/kb/TS1417])
    1. Insert the Mac OS X Install disc that came with your computer (Edit: Do not use this disc if it is not the same general version as what you have currently on your computer, e.g. use a Tiger disc for a Tiger drive, not a Panther disc), then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk.
    Then boot in Safe Mode, (holding Shift key down at bootup; takes longer to boot this way so be patient), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    [Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
    [What is Safe Boot, Safe Mode? (Mac OS X)|http://support.apple.com/kb/HT1564]
    [Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]
    [Mac OS X 10.4, 10.5- Computer shuts down during Safe Boot|http://support.apple.com/kb/TA24054]

  • Microsoft Word 2008 immediately crashes after opening

    Hoping to work on a paper for school after updating to OS X Mavericks, but as the title of this post indicates, Word 2008 crashes immediately after opening.
    I'm working off of a 2010 Macbook Pro, though not sure if that makes a difference.
    Happy to provide more information upon request.

    Try going to Font Book and validating your fonts. If that doesn't fix the problem are you getting any crash reports you can post?
    If you aren't getting any crash logs - The next time the problem happens, note the date and time the problem occurred, then go to Applications/Utilities/Console and copy the log starting at the time of the crash. Paste the log in a reply. Please do not use a screen shot as they can be hard to read. If there are repeated runs of the same messages, please post only one run. Be selective about what you post and don’t  post huge amounts. Make sure there is no personal data visible. Information learned from Linc Davis.
    You might try looking/posting here.
    Microsoft Support – Office for Mac
    Microsoft Support – Office for Mac (2)

  • After having shut down after installing updates, when I restarted and tried to open a word file, it started opening ALL the word docs and the only way I could stop it was by"force quit"  arted  and tried to open

    After having shut down after installing updates, when I restarted and tried to open a word doc, it started opening ALL the word docs and the only way I could stop it was by"force quit"  . This is REALLY annoying!!

    May be it is the Resume feature.
    System Preference > General > Number of recent items
    Uncheck the box next to      "Restore windows when quitting and re-opening apps".
    Best.

  • I recently updated to the OSX 10.8.3 Operating Sistem.  I am writing a book and now cannot open any word document I've created.  Could not find a newer version of the Microsoft Word Processing Program.  Is Pages the next thing? Can I recover my documents?

    I recently updated to the OSX 10.8.3 Operating Sistem.  I am writing a book and now cannot open any word document I've created with the old system.  Could not find a newer version of the Microsoft Word Processing Program.  Is Pages the next thing? Can I recover my documents?  How?

    I'm in the same boat: new to OS X and Mac, and in the middle of a book. I switched because I heard about the the ease of using Mac, but so far, for me, it's been a nightmare. I bought 2011 Office Mac and hate everything about it, the most recent being the inability to open or cut or paste any of my original word files. I understand that this could have easily been done with earlier versions, but not Mountain Lion (which I learned is what OSX is.) Since I work with language, I am amazed at the assumptions of the Apple community. It helps to use common language and explain even the basics.  
    So all the helpful hints to use the latest version of Office Mac are to no avail. Now what?

  • After Install of Maverick Can't Open MS Word

    Since installing Maverick I can't open my Word documents getting an error message.  I've attached a photo of the message...

    Run Font Book to validate your fonts. This has fixed some Office issues after updating.
    How to use Font Book to validate fonts
      1. Open Font Book in your Applications folder.
      2. Select All Fonts.
      3. Now click in the list of fonts and select all (Edit > Select All).
      4. Under File in the Menu bar, select Validate Fonts.
      5. Duplicate fonts will be marked with either the yellow badge or a black dot.
      6. Select to remove or delete duplicates.*
      7. Delete font caches
      8. Restart your computer
    * Step 6 – remove or delete duplicates is where the tricky part comes in. You can select to let Font Book disable or remove duplicates, but I’ve found that it removes the one you have not been using rather than selecting the best option. See Font Management in OS X, by Kurt Lang, for more info on fonts.
    See Kurt Lang's directions here to remove font caches
    https://discussions.apple.com/message/26188553#26188553
    Still have problems...
    The next time you see this error, click on the more information button. Copy only the top portion of the report and paste it here.

  • Restart prompt after opening Word.

    earlier today i opened Microsoft Word so i could take a look at a file. After it was opened for a few minutes, maybe 2 or 3, i got a restart prompt. When i restarted my compter my dock had reset itself and Imovie turned into a transparent question mark. I read that page about the kernel panics and it said that it could be due to software or hardware errors... I also here that there are some viruses made for the mac version of microsoft word... could that be the problem? do i have a virus?

    I also here that there are some viruses made for the mac version of microsoft word... could that be the problem? do i have a virus?
    There are no viruses on the Mac - this ought to be a mantra!
    Would you please post a crash report.

Maybe you are looking for

  • Change inbound delivery using /SPE/IDOC_INPUT_DESADV1

    Hello - We are creating an inbound delivery using the idoc function module /SPE/IDOC_INPUT_DESADV1.  I have need to be able to change an existing delivery via idoc processing, so we are populating and mapping an E1EDL18 segment with the qualifier 'CH

  • ITunes is not opening,says comp missing(-42404)

    My iTunes will not open. It says a component of Quicktime is missing, and gives the clue (-42404). Where do I get the fix, and how to install it? By the way, this website is a ***** to work with.

  • Missing the iOS7 "Instant" Photo Filter in iOS 8! Alternatives?

    Hi, unfortunately Apple removed in iOS 8 the very loved "Instant" Photo Filter in the Apple Camera App. a) Does somebody know a way to get it back? HELLO APPLE CAN YOU PLEASE CHANGE THAT AGAIN!!?? b) I'm not sure, in the iOS 7 Days, a had a third Par

  • Alpha channel in initial video

    whether i am using premier or final cut, exactly how would i encode and save an alpha channel (to use in flash) in my video before i import the video into the flash video encoder. what setting(s) do i use in these programs? i am shooting the video wi

  • Using SCM with 10g developer suite

    i am using Oracle SCM utilities with 10g developer suite. can any body tell me that is there any way-out, or mechansim exists so that i can add existing coded objects in the database (e.g. procedures, functions, or table definitions) into the reposit