Makin a new object from the file in activeX

hi
How can i make a new object from a file in ActiveX.
i am Making an object of the following 
C:\Program Files\Microsoft Office\OFFICE11\WINWORD in order to use Word in LabVIEW but when i use the property nodes, then no properties are being displayed.
so further i cannot use Microsoft word. I dont want to use the Microsoft word in the CREATE DOCUMENT option of the ActiveX. This is because , from there, i cannot access the SPEECH function of the word.
Help me out of this
Somil Gautam
Think Weird

Duplicate² post: http://forums.ni.com/ni/board/message?board.id=170​&thread.id=437939&jump=true
Somil: if you want to add something to an existing post then reopen that post, scroll down to the last entry and press "reply". Insert your new entry and then press "Post". Create a NEW post only if you want to start a NEW topic.
By doing so there's a possibility to start a discussion rather than a one-way one-shot conversation. This increases the chance for you to get an answer to your questions and solutions to your problems.  
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!"

Similar Messages

  • When I click on 'open a new tab' or if I select 'new tab' from the file menu a new tab does not open. It used to.

    When I click on the tab to 'open a new tab' or when I select 'new tab' from the file menu then a new tab does not open. It used to.

    This has recently been answered below - Ask toolbar issue - this was the problem

  • I cannot open a new browser window by double clicking Firefox icon or selecting NEW WINDOW from the file menu.

    I can open only 1 browser window and I can't open another or multiple windows by double clicking Firefox icon or selecting NEW WINDOW from the file menu.
    Looking forward to your earliest reply.
    Thanks and regards,
    Sheraz

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • I cannot open more than 1 Tab per window. The "+" does not work as well as the item "New Tab" from the File drop-down menu. What shall I do ?

    I have just removed FireFox and reinstalled it again on my Mac Book PRO.
    When I open FIreFox I canNOT open more than 1 TAB.
    I click on the "+"on the top line of the window. It should open another TAB but id does NOT.
    I click on the File item in the top menu bar. A drop-down menu pops up. I click on "New Tab" and nothing happens.
    How can I get more than 1 Tab on the same window ?
    This feature works with Safari !
    Thank you so much.
    Best regards

    We have seen reports about a Community Toolbar extension causing this issue with not being able to open a new tab.
    So if you have such a toolbar then start with disabling it.
    *Tools > Add-ons > Extensions
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can I write new objects to the existing file with already written objec

    Hi,
    I've got a problem in my app.
    Namely, my app stores data as objects written to the files. Everything is OK, when I write some data (objects of a class defined by me) to the file (by using writeObject method from ObjectOutputStream) and then I'm reading it sequencially by the corresponding readObject method (from ObjectInputStream).
    Problems start when I add new objects to the already existing file (to the end of this file). Then, when I'm trying to read newly written data, I get an exception:
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    Is there any method to avoid corrupting the stream? Maybe it is a silly problem, but I really can't cope with it! How can I write new objects to the existing file with already written objects?
    If anyone of you know something about this issue, please help!
    Jai

    Here is a piece of sample codes. You can save the bytes read from the object by invoking save(byte[] b), and load the last inserted object by invoking load.
    * Created on 2004-12-23
    package com.cpic.msgbus.monitor.util.cachequeue;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    * @author elgs This is a very high performance implemention of Cache.
    public class StackCache implements Cache
        protected long             seed    = 0;
        protected RandomAccessFile raf;
        protected int              count;
        protected String           cacheDeviceName;
        protected Adapter          adapter;
        protected long             pointer = 0;
        protected File             f;
        public StackCache(String name) throws IOException
            cacheDeviceName = name;
            f = new File(Const.cacheHome + name);
            raf = new RandomAccessFile(f, "rw");
            if (raf.length() == 0)
                raf.writeLong(0L);
         * Whne the cache file is getting large in size and may there be fragments,
         * we should do a shrink.
        public synchronized void shrink() throws IOException
            int BUF = 8192;
            long pointer = getPointer();
            long size = pointer + 4;
            File temp = new File(Const.cacheHome + getCacheDeviceName() + ".shrink");
            FileInputStream in = new FileInputStream(f);
            FileOutputStream out = new FileOutputStream(temp);
            byte[] buf = new byte[BUF];
            long runs = size / BUF;
            int mode = (int) size % BUF;
            for (long l = 0; l < runs; ++l)
                in.read(buf);
                out.write(buf);
            in.read(buf, 0, mode);
            out.write(buf, 0, mode);
            out.flush();
            out.close();
            in.close();
            raf.close();
            f.delete();
            temp.renameTo(f);
            raf = new RandomAccessFile(f, "rw");
        private synchronized long getPointer() throws IOException
            long l = raf.getFilePointer();
            raf.seek(0);
            long pointer = raf.readLong();
            raf.seek(l);
            return pointer < 8 ? 4 : pointer;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#load()
        public synchronized byte[] load() throws IOException
            pointer = getPointer();
            if (pointer < 8)
                return null;
            raf.seek(pointer);
            int length = raf.readInt();
            pointer = pointer - length - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            byte[] b = new byte[length];
            raf.seek(pointer + 4);
            raf.read(b);
            --count;
            return b;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#save(byte[])
        public synchronized void save(byte[] b) throws IOException
            pointer = getPointer();
            int length = b.length;
            pointer += 4;
            raf.seek(pointer);
            raf.write(b);
            raf.writeInt(length);
            pointer = raf.getFilePointer() - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            ++count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCachedObjectsCount()
        public synchronized int getCachedObjectsCount()
            return count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCacheDeviceName()
        public String getCacheDeviceName()
            return cacheDeviceName;
    }

  • In the latest version of Firefox, I am not able to open a new tab neither by Ctrl+T nor from the File Tab nor by pressing the '+' sign next to the last tab

    In the latest version of Firefox, I am not able to open a new tab neither by Ctrl+T nor from the File Tab nor by pressing the '+' sign next to the last tab. So the only solution is opening "New window" which is extremely messy. Kindly help me with this issue.

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • Setting the name of a new object from a string

    Is there anyway I can set the object name of a newly created
    object from a string?
    eg.
    (the code below generates a compile time error on the
    variable declaration)
    public function addText(newTxt:String, txt:String,
    format:TextFormat):void {
    var
    this[newTxt]:TextField = new TextField();
    this[newTxt].autoSize = TextFieldAutoSize.LEFT;
    this[newTxt].background = true;
    this[newTxt].border = true;
    this[newTxt].defaultTextFormat = format;
    this[newTxt].text = txt;
    addChild(this[newTxt]);
    called using>
    addText("mytxt", "test text", format);
    I could then reference the object later on without using
    array notation using mytxt.border = false; for example
    There are many a time when I want to set the name of a new
    object from a string.
    In this example I have a function that adds a new text object
    to a sprite.
    The problem is, if I call the function more than once then
    two textfield objects will exist, both with the same name. (either
    that or the old one will be overwritten).
    I need a way of setting the name of the textfield object from
    a string.
    using
    var this[newTxt]:TextField = new TextField()
    does not work, If I take the "var" keyword away it thinks it
    a property of the class not an object.
    resulting in >
    ReferenceError: Error #1056: Cannot create property newTxt on
    Box.
    There must be a way somehow to declare a variable that has
    the name that it will take represented in a string.
    Any help would be most welcome
    Thanks

    Using:
    var this[newTxt]:TextField = new TextField()
    is the right approach.
    You can either incrment an instance variable so that the name
    is unique:
    newTxt = "MyName" + _globalCounter;
    var this[newTxt]:TextField = new TextField();
    globalCounter ++;
    Or store the references in an array:
    _globalArray.push(new TextField());
    Tracy

  • Every time I open a New File from the File Menu and I open it all of my desktop items are in it. What's up with that?

    Every time I open a New File from the File Menu and I open it all of my desktop items are in it. What's up with that?

    This is configured in Finder preferences under the General icon. You can make some changes to that behavior.

  • I have downloaded and installed Photoshop Elements 11 on my new Macbook Pro.  Why can't I see my scanner (Epson Perfection 3200 Photo) from the File Import menu?

    I have downloaded and installed Photoshop Elements 11 on my new Macbook Pro.  Why can't I see my scanner (Epson Perfection 3200 Photo) from the File>Import menu?

    There was no driver update available (it said my driver was up to date), so I just deleted the scanner and restarted the computer.  when it came up, the scanner had already been added again.  With great anticipation I tried to import from Photoshop...but no luck (scanner was not visible).  I finally ended up calling Epson (had great difficulty in locating a number for support) and they finally told me there is no driver update for OS X 10.10 and I should as a work around use "Image Capture" application.  I tried it, and it works quite well.

  • Firefox won't spawn a new window, either from the File menu or by right-clicking a link

    I can't get Firefox to open a new window under any circumstances. Not from the file menu, and not by right-clicking on a link. This has been going on for at least a week, and I don't know what changed before it started happening.
    == This happened ==
    Every time Firefox opened

    Disable or Uninstall ZoneAlarm Toolbar. They are still having problems with it in current Firefox.
    https://support.mozilla.com/en-US/forum/1/472881?
    http://forums.zonelabs.com/showthread.php?t=70801&highlight=firefox+3.5

  • How to continue to read Object from a file?

    At some program I write an object into a file. This program will be called again and again so that there are many objects which are saved to that file. And I write another program to read object from this file. I can read the first object but can not read the second. However if I delete the object in that file (using editplus, by manually) I can read the second. Because now the second object is the first object. (Delete first object).
    The exception when I read the second object is below:
    java.io.StreamCorruptedException: Type code out of range, is -84
         at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1607)
         at java.io.ObjectInputStream.refill(ObjectInputStream.java:1735)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:319)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:272)
         at LogParser.main(LogParser.java:42)
    Exception in thread "main" The read object from file program is below:
         public static void main(String[] args) throws Exception {
            FileInputStream fis = new FileInputStream(path + File.separator + "ErrorApp21config2.log");
            ObjectInputStream ois = new ObjectInputStream(fis);
            ErrorLog errorLog = (ErrorLog)ois.readObject();
            System.out.println(errorLog.getErrorDate());
            FIFData fifData = (FIFData)errorLog.getErrorDescription();
            CommRegistration commRegistration = (CommRegistration)
                                     fifData.getDataObject(FIFData.REGISTRATION_DATA);
            String ic = commRegistration.getPatient().getPatExtID();
            System.out.println(ic);
            CommQueue commQueue = (CommQueue) fifData.getDataObject(FIFData.QMS_DATA);
            String location = commQueue.getLocation();
            System.out.println(location);
            ois.readObject();  //will throw above exception
            fis.close();
         }Can anyone tell me how to continue to read object? Or I should do some special things when I write object into file?

    Thanks Jos.
    Perhaps you are correct.
    There are some code in a SessionBean to log an object. Write file code is below.
         private void logPreRegError(
              byte[] strOldFifData,
            byte[] strNewFifData,
              String requestID)
              throws TTSHException {
              if (requestID.equals(RequestConstants.ADMIT_PATIENT)){
                String runtimeProp = System.getProperty("runtimeproppath");
                FileOutputStream fos = null;
                   try {
                        fos = new FileOutputStream(
                            runtimeProp + File.separator + "Error.log", true);
                    BufferedOutputStream bos = new BufferedOutputStream(fos);
                    bos.write(strOldFifData);
                    bos.write(strNewFifData);
                    bos.flush();
                   } catch (FileNotFoundException e) {
                        log(e);
                   } catch (IOException e) {
                    log(e);
                   } finally{
                    if (fos != null){
                             try {
                                  fos.close();
                             } catch (IOException e1) {
                                  log(e1);
         }strOldFifData and strNewFifData are the byte[] of an object. Below is the code to convert object to byte[].
         private byte[] getErrorData(FIFData fifData, boolean beforeException, String requestID) {
            ErrorLog errorLog = new ErrorLog();
            errorLog.setErrorDate(new Date());
            errorLog.setErrorDescription(fifData);
            errorLog.setErrorModule("Pre Reg");
            if (beforeException){
                errorLog.setErrorSummary("RequestID = " + requestID +" Before Exception");
            }else{
                errorLog.setErrorSummary("RequestID = " + requestID +" After Exception");
              ByteArrayOutputStream baos = null;
              ObjectOutputStream oos = null;
              byte[] bytErrorLog = null;
              try {
                  baos = new ByteArrayOutputStream();
                   oos = new ObjectOutputStream(baos);
                  oos.writeObject(errorLog);
                  oos.flush();
                  bytErrorLog = baos.toByteArray();
              } catch (IOException e) {
                   log(e);
              } finally {
                if (baos != null){
                        try {
                             baos.close();
                        } catch (IOException e1) {
                             log(e1);
              return bytErrorLog;
         }I have two questions. First is currently I have got the log file generated by above code. Is there any way to continue to read object from log file?
    If can't, the second question is how to write object to file in such suitation (SessionBean) so that I can continue to read object in the future?

  • Derive new class from air.File

    Could some kind person show me how to derive a new class from air.File using javascript.  Everything I try seems to be wrong.  Essentially I need a new class called RegattaFile that has some extra properties and methods.
    When an object method to be the callback to a dispatcher - how do you do it?  When I try, the callback function gets called, but it's lost the 'this' context.
    I'm getting reallty confused.

    Most of the runtime classes are final for performance reasons. You generally can't (as far as I know) extend hem in JavaScript using the prototype change.
    The this problem in callbacks and event handlers in JavaScript usually occurs because "this" is evaluated as the calling object rather than the class object. One way to solve the problem is to capture the this variable in another local variable in the class and use that variable in the callback or event handler. Something like:
    //in class definition
    var that = this;
    function callback()
         that.value = nnn; //instead of this.value

  • Unable to load new information from configuration file /var/ldap/ldap_clien

    Hi all,
    When I run the command "ldapclient init", I got the error message:
    # ldapclient init -a proxyDN=cn=proxyagent,ou=profile,dc=example,dc=ca -a domainName=example.ca -a profileName=UserProfile -a proxyPassword=pwd 10.1.10.50
    Unable to load new information from configuration file '/var/ldap/ldap_client_file' ('Unable to open filename '/var/ldap/ldap_client_file' for reading (errno=2).').
    Any idea?
    Thanks a lot for your help!

    Does the profile UserProfile exist on your LDAP server?
    Do the logs on your LDAP server show access problems?
    Try using -v to get more verbose output

  • Dynamically create Value Objects from XML file

    Hi
    I want to create a value object from Xml file dynamically,like in the xml file i have the name of the variable and the datatype of the variable.is it possible do that,if so how.

    Read about apache's Digester tool. This is part of the Jakartha project. This tool helps in creating java objects from the XML files. I am not sure, if that is what u r looking for.

  • Import or load a new logo from the external system

    Hi all...
    I want to import or load a new logo from the ext system helps to generate for my ALV report program(for top-of-page)......the one from SE78 is not working for me if i do import or with pre-defined one......
    pls revert me on urgent basis....(help need esp., for ALV report generation)
    thanks
    sankar

    Hi,
    In the transaction OAOR, you should be able to insert your company Logo.
    GOTO - OAOR (Business Document Navigator)
    Give Class Name - PICTURES Class Type - OT..... then Execute
    It will show you the list, then select ENJOYSAP_LOGO.
    On that list, you will find one control with a "create" tab.
    Click std. doc types.
    Select SCREEN and double-click.
    It will push FILE selection screen.
    Select your company logo (.gif) and press OK.
    It will ask for a description- for instance: "company logo".
    It will let you know your doc has been stored successfully.
    You can find your logo under ENJOYSAP_LOGO->Screen->company logo.
    Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.
    FORM TOP-OF-PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = HEADING[]
    I_LOGO = 'ENJOYSAP_LOGO'
    I_END_OF_LIST_GRID ='GT_LIST_TOP_OF_PAGE'.
    ENDFORM. "TOP-OF-PAGE
    Here 'ENJOYSAP_LOGO' will replace by ur created logo.
    n pls reply me.
    Refer this link
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm
    http://www.sap-img.com/abap/alv-logo.htm
    http://www.sap-img.com/fu002.htm
    reward if it helps..
    Regards,
    Omkar.

Maybe you are looking for

  • Photoshop CC imprecise cropping on Windows 7

    Hello, I have been trying to precisely (with pixel accuracy) crop some images in Photoshop CC in Windows 7. The "new" crop tool, regardless how zoomed in I am, jumps in increments of about 2 or 3 pixels. I have used Photoshop for decades on a Mac, an

  • Cannot sync any of my devices wirelessly all of a sudden

    I had been able to sync wirelessly all of my devices (ipod, iphone and ipad) but all of a sudden it does not work at all.  I can sync with the wire to the computer, but i don't like doing that.  I have gone on to  make sure there have been no changes

  • Duplicate a report

    Hello, I'd like to know if there is a way to duplicate, save as or copy the report on one tab to another tab without having to copy each element of the report individually. Thank you Tracy

  • Aa-issued

    Hi, This is ramesh, i am the new user, i am interacting with you guys first time. I have one thread on asset accounting which is how to capitalize the asset from asset under construction, if u guys send detail customization i will be great ful to the

  • Sprint Nav after 1.3.1 update

    I have a bone stock Pre which was purchased on day one of availability.I am having an issue with Sprint Nav where it will randomly truncate / drop all or part of a street name while giving voice directions. I have used this app daily and this was nev