Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Software Integration

Software Integration

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpjsonhelptutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CodingYoshi
    wrote on last edited by
    #1

    The company I work for uses a software built with COBOL. This software has no API and the only way to interact with it is through its GUI. My question is: Is there anyway to integrate with such a software without any help from the vendor? For example, if this COBOL software has tow text boxes to enter 2 numbers for addition and gives the answer, is there a way to enter the two numbers programmatically? I am not even so much concerned about the answer it provides but just to automate data entry. Please let me know if you need clarification.

    CodingYoshi Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07

    D T 2 Replies Last reply
    0
    • C CodingYoshi

      The company I work for uses a software built with COBOL. This software has no API and the only way to interact with it is through its GUI. My question is: Is there anyway to integrate with such a software without any help from the vendor? For example, if this COBOL software has tow text boxes to enter 2 numbers for addition and gives the answer, is there a way to enter the two numbers programmatically? I am not even so much concerned about the answer it provides but just to automate data entry. Please let me know if you need clarification.

      CodingYoshi Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      CodingYoshi wrote:

      ...is there a way to enter the two numbers programmatically? I am not even so much concerned about the answer it provides but just to automate data entry.

      Can you use calls to FindWindow() and SendMessage()? Not bullet-proof, but it might get you by.

      "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      1 Reply Last reply
      0
      • C CodingYoshi

        The company I work for uses a software built with COBOL. This software has no API and the only way to interact with it is through its GUI. My question is: Is there anyway to integrate with such a software without any help from the vendor? For example, if this COBOL software has tow text boxes to enter 2 numbers for addition and gives the answer, is there a way to enter the two numbers programmatically? I am not even so much concerned about the answer it provides but just to automate data entry. Please let me know if you need clarification.

        CodingYoshi Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        use spy++ tool to find, does cobol window provide you any windo handle

        C 1 Reply Last reply
        0
        • T ThatsAlok

          use spy++ tool to find, does cobol window provide you any windo handle

          C Offline
          C Offline
          CodingYoshi
          wrote on last edited by
          #4

          ThatsAlok does cobol window provide you any windo handle

          How do I find out? If I can get a handle to the window, how would I go about finding the child controls to send keystrokes to? For example, how do I control sending name to a text box which accepts name of new employee or something similar.

          CodingYoshi Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups