How to programaticaly send a string to a box to modify another application

Hello

I have a question about how can an application send a string, representing a code bar, change the box (or text box) of a second application (no info on this app ctrl is available), which treats all bar codes. In addition, first application must ' press on ' a 'OK' button on the second application dialog box.

First request, which will be written in CVI, begins by listing senior level windows, the function using Windows API - EnumWindows. Enumeration stops when the desired window's caption is found. A handle to this window will be available. I don't know how to find a handle for the control to change. There is no child window of this top-level window.

Any suggestion on how to implement this is really appreciated.

Concerning

Hello all-

@miniMe - I couldn't help but it should be noted from the information that the window you want to interact with is part of the installation of standard TestStand (modelsupport2), for which the source code is readily available.  Changing modelsupport2 is not for the faint of heart, your task is specific enough that I was able to accomplish with just a few lines of code (do not forget to copy the files from modelsupport2 to the public location before making changes).  Important components are below:

The application that will send the number of the object to be measured can send the WM_COPYDATA message to the TestStand application.  With the help of this message is quite simple and allows you to pass data (for example a chain WEAR) beyond the limits of the process.  Here's the relevant part of my little test app that sent the message:

Tags: NI Software

Similar Questions

  • How can I send five simple characters (P, H, O, T, O) using ComWrt, instead of sending a single string?

    The manual of instrument mentioned that "for switch mode remote"P","H""O""T","O"are sent as single characters and not as a single string". How can I send simple characters using the Serial Port, rather than send a single string?

    I have no CVI installed on this pc, and in the past, I used VISA instead of the ComWrt. If you know how to write a string, then I don't see where is your problem. You write only 5 channels instead of one--each with a single character.

    You can post to the ICB card if you have problems with C.

  • When I send a text message and mobile data are off, it is not given, but I do not see this message for a few minutes. I can then refer using "send as a text message. How can I 'send as a text message' in the first place?

    When I send a text message and mobile data are off, it is not given, but I do not see this message for a few minutes. I can then refer using "send as a text message. How can I 'send as a text message' in the first place?

    Disable the iMessage?

  • How can I send a message in my Outbox?

    How can I send a message from my Outbox? I do not see a 'send '.

    any where

    Usually, when you open the message there is a submit button. If not try to move the message to the drafts and try again, or copy and paste the content into a new message.

    TT2

  • How can I send a group of addresses of recipients to someone else?

    I regularly send messages to groups of recipients (5 to 50 in size). Someone supports a part of my work; How can I send a group of addresses without having to type all of them again?
    I tried watching a group of addresses in "address", highlighting its content and by pressing Ctrl-C; but by pressing Ctrl-V in the body of an email to him does not.

    You can export books complete addresses or mailing lists.

    If these groups are already in you mailing lists the address book opens the address book and click on the folder in the list to highlight. Then go to Tools-Export.

    Then name the file, choose where to save it and decide what file format can use the new person.

    The LDIF format is best if they are a user of Thunderbird. Separated by commas works with most, and can be opened in Excel to view or change.

    And then send the file.

    Export your address book is a good way to save problems later.

  • Thunderbird: In write mode can not find the tool bar (or menu bar), then how should I send my email?

    Thunderbird: In write mode can not find the tool bar (or menu bar), then how should I send my email?

    Well you can press Ctrl + Enter or you could re - turn on the menu and the toolbar https://support.mozilla.org/en-US/kb/display-thunderbird-menus-and-toolbar .

  • How can I send an e-mail folder?

    I want to transmit a complete electronic file to another party. How can I do this?

    You cannot send an email folders. A folder is technically a collection.

    For a regular folder in your file system, I would say you should zip upward and send the zip file.

    You can drag and drop individual messages in a new message to be added as attachments. Drop them on the address at the top box.

    Another approach would be to export the messages as .eml, zip files the eml files and attach the zip file to your new message. This add-on:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/

    is useful for exporting multiple files.

  • How can I send an e-mail to a smart phone?

    How can I send an email or a hot link for a smart phone? Of course, the smart phone has only a digital set is possible to send it to a smart phone?

    You can use a qrcode, on the computer, copy the link of the site, go to this site:

    Paste the link in the form, select static, click on generate, now save the qrcode and send by e-mail or connect the Mr. smarth phone to your pc, transfer on Mr. smarth phone qr code, then use an application to read the qrcode on Mr. smarth phone

    type the link in an email and send to yourself, then open the email in your smarth phone or send to someone

  • My iPod classic is synced to my old pc windows how can I send it to my new apple mac - all my music on iPod is uploaded to this topic via ads and bought on iTunes?

    My iPod classic is currently synced on my old windows pc - how can I send it to my new Apple Mac without losing any of my music.  All my music is downloaded from the ads?

    If you still have your old PC in working condition, with its iTunes library intact, not to use your iPod to transfer the library to your new Mac.  You transfer your data from user (not just your iTunes data) directly from the old PC to the new Mac.

    There is an automated system called Migration Wizard, if your system meets the requirements.  Be sure to have a backup of the data.

    Migration of Windows v1.0.5.7 Assistant

    Alternatively, for the part of iTunes, this paper outlines how do it manually, using an external drive.

    Manage and backup your iTunes media library - Apple Support

    To summarize, the first step is to make sure that all your iTunes data is stored in the iTunes folder ("consolidate"), which is located in your folder music user account.  The second step is to copy this folder iTunes on an external drive, to create a backup.  The third step is to restore that backup the iTunes on your new Mac folder.  Launch iTunes to use data from the old PC iTunes; It looks like iTunes running on your old PC, complete with all the songs (and other types of media) and data, such as reading lists, notes, play count, etc.

    Your iPod continues to synchronize with it, because for the iPod, it's the same iTunes library (on another computer).  If you using your iPod as a data source, you add your old data to an iTunes library on Mac.  It is NOT complete.  The iPod sees it as a different iTunes library.  iPods are not designed to be your data from iTunes backup.

    However, IF the iPod is now the only place where your songs are stored (and you have no other backup), thanks for posting back.

  • How can I send emails with outlook express from firefox

    How can I send emails with outlook express from firefox

    See change the program used to open e-mail links for how to configure Firefox to use Outlook Express.

  • How a SMS sending first?

    just after sending an SMS, I found that the phone number was wrong! Skype in waiting/trying to send text msg. How to stop sending?

    OK, Neil, but I not find anything at this time no discounts on the site of Skype! It's a shame, but it's not cataclysmic!
    Anyway thanks a lot for your messages
    Nice day
    Richard

  • How can I send a message to a cell phone from Apple of my iPhone

    I have an iPhone 6, but have friends with a Samsung.  How can I send them a text message.

    same way you send someone else a message text... using the Messages application.

  • How can I send voice messages in Spanish

    How can I send voice messages in Spanish

    Hello

    On your Apple Watch, after tapping on answer, press firmly on the screen, and then tap on choose language to a different language for your reply (including the dictation).

    The default language for a conversation in Messages is on the same language as the active keyboard on your iPhone (in Messages) for this particular conversation. When you change the language of the keyboard for this conversation on your iPhone, it also changes on your Apple Watch.

    To change the language for a chat on your iPhone (and also on your watch):

    • Lock your iPhone (press the Sleep / Wake button briefly).
    • Open the conversation with this contact on your watch and press on answer.
    • On your iPhone, press the Sleep / Wake button briefly to display the lock screen.
    • The lower left corner of the lock screen, drag upward on the Messages icon (where transfer icons appear).
    • This will open this conversation in Messages on your iPhone.
    • Press the symbol of the globe by the SPACEBAR on the keyboard of the iPhone and choose your preferred language.
      • To add international keyboards, on your iPhone, first go to: settings > general > keyboard > keyboards > add new keyboard.
    • Start typing a response on your iPhone (one or more characters), then delete (implements the choice of language of keyboard for this conversation).
    • On your watch, in the Messages application, exit the screen to answer.
    • Start a new response when this conversation - the new language will be used for dictation and short answers in this conversation.

    More information:

    Use Dictation on your Apple Watch - Apple Support

  • How can I send the documents that I did on my apple system Windows uncoded based

    Dear Apple Forum;

    I managed to send documents by e-mail or a windows-based system, I did on my apple system, but unfortunately they show in an unreadable code style, or sometimes it says: cannot open the document, or there are no applications. to open these documents. My question is how can I send documents that I did on my apple system, e-mail or / Windows based not coded or if there is any APP or platform to do so, your help and your knowledge, research appreciate your response, thank you.

    Best regards, Omar Alhussaini.

    Alghir Omar Sabah,

    What software did you use to write documents? Pages, Word or open Office?

    mAh Salam

    Leo

  • How can I send 5 photos together

    How can I send a video file 5 + concert?

    Email usually fights with 10 MB files.  Go is a lost cause.

    DropBox and other sites of file servers are good options, but transfer 5 GB 'to' and the other part transfer 'of' is a consideration.

Maybe you are looking for

  • iCloud library do not turn off

    Every now and then, I turn off my iCloud music library to my settings to erase the data and free up space on my phone. It helps to clear up about 3 GB of space. Then I re - activate the music library to iCloud and let the library load again on my pho

  • Compaq mini cq 10: compaq mini q10 reset password

    Hello I forgot my bios password and I need help to reset.The error code is CNU0083MRJ. Could you help me?concerningblubber05

  • DeskJet 1512: How mover, page and other information of printed pages?

    This must be a simple process; but, how remove the printed title, the page, the date printed on the DeskJet 1512 pages? Thanks for any help!

  • Need x 64 driver for a data card Huawei E368 AT & T

    No luck at the AT & T or Huawei (even to call them). I use Windows XP Pro 64-bit. I know that the card works because I used it on a different computer with the 32-bit version.

  • Police soze

    I increased the font size to large, so my mother could see the words on the screen. Now, she is so great that I don't see the ok button to restore it. What I'm doing.