How Can I detect Underlined Words from a paragraph

I have an application where I have to detect underlined and strikethrough words from a paragraph. I am using Labview 7 Express. Can someone suggest a possible solution ?
Thanks in Advance

It's probably easier to do it with ActiveX functions if you're on Windows. Attached is an example (LV 7.0) that will find all the underlined portions of a Word document and return them in a string array.
Warning: with ActiveX, the software version is critical, so this may not work for you if you don't have Word 2003.
Any time you want to use ActiveX to get another piece of software to do the work for you, you'll want to use the object model or API reference for that piece of software to figure out how to do it. For Microsoft Word, that means referring to the Microsoft Office Word 2003 VBA Language Reference. It's still a painful process in LabVIEW, but you should be able to do anything you want.
Regards,
John
Attachments:
Find Underlined Text in doc.vi ‏74 KB

Similar Messages

  • How can I monitor Status word From the other side of the GPIB bus

    I develop Thermal system control that should be operate thru the GPIB IEE 488.2 bus , my instrument application already written in Visual Basic ,The system knowes to do basic operation such as SETPOINT ,AIRDUT , BEGIN , STOP and more but I have do a problem , any time that I capture command from the controller the status word stuck at listener mode and I can not send another command again because my loop is waiting for the other side (the controller ) to tallk by monitor the IBSTA word .
    There is anyway to reset ,clear ,initialize STATUS word again to his default value ?
    Note : I am using VB 6 , the Samples that you have here for Non-controller is good so far if I want to send and recive data manualy (c
    omputer to computer)
    What if I have A system that work and always waiting for capture command and do somthing ?
    I will be very greatful if anyone can help me , send me sample code for Status checking loop.
    MIKI-AVI

    Hello Miki-Avi,
    I'm having a little bit of trouble understanding what you're trying to do. It seems that you have an instrument application that you have written and works in some instances but gets into an infinite loop in other cases. I think that your loop is waiting for something in the Status byte to change, and you're wondering how you can get it to change.
    I'm not sure what bit you're waiting for, but I would assume that it is the LACS bit 2. You do not want to simply reset the IBSTA byte because this byte tells you what is happening on the GPIB interface. So, if you're waiting for the LACS bit to change, then you are waiting for the board to be addressed as a listener. Your controller would address the non-controller as a listener once you sent it da
    ta with an IBDEV and an IBWRT call.
    If you are looking for code for a status checking loop, check the following resources. Remember that you must call ibwait 0 to update your IBSTA byte. The 488.2 Function Reference is very useful in figuring out what you need to do.
    http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EF8D56A4E034080020E74861&p_node=DZ52353&p_submitted=N&p_rank=&p_answer=&p_source=Internal
    http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/9cc0939663f1c5de862565d70082e89e?OpenDocument
    Please let me know if you need more assistance.
    Scott B.
    National Instruments
    Applications Engineer

  • How can I stop MS Word from automatically trying to open help and tutorial files in CS6 apps?

    I recently purchased a Creative Cloud subscription and downloaded the CS6 apps. Whenever I click a link to a tutorial or .pdf help file from any of myapps, MS Word automatically activates and attempts to open the file. Because of this, I cannot activate the tutorials. How do I correct this software conflict?

    This is a Windows problem, so go to the Microsoft search page to learn how to set your file associations
    http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US

  • How can you detect all words and phrases in a text document using java?

    Is there some java API which would help me extract all words, multi-word phrases, punctuations in an English text document? I would also like to get the order in which they appear with sentence detection. I've been searching for this in java NLP packages, but haven't found anything yet.
    Any help would be appreciated.
    Thanks,
    Ajith

    I don't understand what you actually want, but if your on about having a file and splitting it up into sentences then i would look into either psudocode or parsing strings, theres not a java api as far as i know that does anything like you want, you would have to write it yourself or find a project someone else has made.

  • I have converted a pdf to word. How can I access the Word file from my online account?

    I have converted a pdf to word. How can I access the Word file from my online account? When it says 'download the converted file' I choose a location on my PC and click, but nothing happens. It seems that it can only save the converted file to my online account. I went to my online account but I see no way to look for the file

    Hey Fabrizio,
    You might need to sign up at "https://cloud.acrobat.com/exportpdf" using your Adobe ID credentials to convert your PDF file to Word.
    Do you get the 'download' prompt?
    Also, you can find the converted files by clicking at the 'Files' tab. 
    Please try the same using a different browser and check.
    Hope to hear from you.
    Regards,
    Anubha

  • How can I get an image from the screen? Like screen printer in PC to pasting after in word or other program.

    How can I get an image from the screen? Like screen printer in PC to pasting after in word or other program.

    If you do Cmd+Shift+3 you'll get a full screen image saved to your desktop as a jpg file.
    Also, you can use Cmd+Shift+4 and you'll get a cursor which you click+drag to draw a box. When you release the drag the boxed in area will be saved to the Desktop as a jpg file.

  • I connect my pendrive to macbook pro but it cannot detect and my important data is there in my pen drive so how can i collect this data from my pendrive?

    i connect my externalpendrive to macbook pro but it cannot detect and my important data is there in my pen drive so how can i collect this data from my pendrive?

    make sure that in your finder preferences you have it checked to show external drives on the desktop and in the sidebar of finder
    you find these preferences by selecting the finder icon (blue square on the dock w/ smiley face on it) then click on the work "finder" at top left corner of computer screen then click on preferences then general and put check next to show these items on the desktop and put check next to external drives
    now you should see it on the desktop if you still can't open the drive or access it, it may be in format the mac can't read or write to so that could be an issue.

  • How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    You are trying to copy a link, it is most likely in a different color such as the words "Microsoft's own forums" in his post. In Word highlight the word or words, control click on them, select Hyperlink, then Edit Hyperlink, then delete the link from the top box. It will then have a button asking if you want to "Remove Link", click on it.

  • How can I stop Mac Mail from underlining hyperlinks and changing them to blue?

    How can I stop Mac Mail from underlining hyperlinks and changing them to blue?

    It doesn't look like you can. But that's how you tell they are a hyperlink. Is this a problem?

  • Every time I restart my mac air some applications like calendar and Microsoft word automatically starts, how can I stop such applications from starting when ever I restart my mac

    Every time I restart my mac air some applications like calendar and Microsoft word automatically starts, how can I stop such applications from starting when ever I restart my mac?

    One thing to check:  when shutting down or restarting, there is a checkbox in the shutdown/restart dialog which asks whether you want currently open applications to open at startup.
    charlie

  • How can I detect in Business HTML that the app was called from portal?

    How can I detect in Business HTML that the app was called from portal?
    I need to distinguish whether the application was called from portal (URL iView) or by using an URL outside of portal.
    So what I'm looking for is a variable or function that can be used like this:
    `if (~within_portal==1)`
      do this if called from portal
    `else;`
      do that if not called from portal
    `end;`
    For example, can I check in the program that there is a SSO2 cookie from the portal?
    I'm using Integrated ITS in Basis 700.

    Here is the trick:
      if (sapwp_active=="1")
        in portal
      else
        without portal
      end;

  • How can I bring a file from a folder on my desktop to this program and make it editable. Like deleti

    How can I bring a file from a folder on my desk top int this program and make it editable., in order to replace words or remove words or texts..?  jn

    Hi,
    FormsCentral cannot be used to edit existing PDF documents. That functionality is available in Adobe Acrobat:
    http://www.adobe.com/products/acrobat.html
    Regards,
    Brian

  • HT202879 how can I open a Word document in Pages 09?

    How can I open a Word document using Pages 09 please? I am trying to open Word documents from a CD using both trying to open in Pages, nd dragging and dropping into the Pages icon in the dock. It tells me, every time, thast the document cannot be opened.

    What happens if you open it in TextEdit or LibreOffice [free]?
    Does it open where you got it from?
    Peter

  • How can i delete some books from ibook?

    How can i delete some books from ibook? It says: this book can't be opened. The book is corrupt. I can't open and I can't delete it

    I was unable to delete a book sample from my iPhone 5s running iOS 7.  This seems to be what worked for me.  I went to the Library and clicked "edit" in upper right side of the screen.  I then tapped one time on the book I wanted to remove and a blue check appeared at the bottom right corner of that book (presumably you could tap several at a time)  Anyway, when the blue check is on the book, you will see in the upper left of the screen the word "Delete" (mine was in red) I clicked that and then a confirming dialog came up from the bottom of the screen with the choices of "delete" or "cancel".  I chose "delete" and the book was gone.  Hope this helps.

  • How can I print address labels from numbers spread sheet

    How can I print address labels from numbers spread sheet

    CAB,
    The 5163 template has the following dimensional specs:
    Dimensions & Info
    Length: 4.00000"          Height: 2.00000"
    Top Margin: 0.50000"          Bottom Margin: 0.50000"
    Left Margin: 0.18000"          Right Margin: 0.18000"
    Hor. Spacing (gutter): 0.14000"          Vert. Spacing (gutter): 0.00000"
    Intended Use: Mailing Labels, Shipping Labels, Address Labels
    There's a great vendor site with this data readily available, better than the Avery site in my opinion. But, you can get the same info in the Contacts Print dialog pane.
    You can grab a template matching these dimensions from that vendor site, Copy the table after opening the Word Template in Pages and drop the into a blank Numbers Sheet.
    I found that Sheet side margins of 0.15" worked better than 0.18. For some reason the table wanted to flow to the next page to the right with 0.18". Turning off the Headers and Footers and setting Top and Bottom Margins to 0.5" worked well. These adjustments are made in the Sheets Inspector.
    So, that will put the template you specified into a Numbers document and you can print labels properly aligned from there. Since your problem statement is a bit lacking in detail, that's all I can offer you at this point.
    Jerry

Maybe you are looking for