CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2009
    Posts
    1

    Red face Input data to windows pgm from text file

    I need to get data from a text or excel file and input it into a windows program that I do not have source code for and cannot get it.

    What I am trying to do is get sales order data from one of our customers in a file and then read the file and input the order information into our sales order system by actually stepping through the order entry process so all the checks for item #'s, zip codes, etc that are already in the sales order entry software are utilized, basically so that data files integrity is maintained.

    I am very green when it comes to programming, can anyone tell me if this can be done using vb.net or should I look into using another programming language.

    Thxs, Neil.

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Input data to windows pgm from text file

    That type of functionality should have been built into the program already.

    If the program makes use of Text / data files, there may be a way of doing what you want, otherwise, not really ( I think )

  3. #3
    Join Date
    Oct 2009
    Posts
    2

    Re: Input data to windows pgm from text file

    Well, you could theoretically disassemble and develop ASM code snippets to insert and do what you're looking for and then reassemble. But, in all reality, that's probably not worth the effort.

    You could also write a program that hooks onto the target program and implement functionality that way. Once again, you would still need to disassemble to find out what methods and functions it's using so you could call them in your new program.


    If you have a copy of the target program and file (barring any sensitive information), I can give it a shot for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured