Click here to Skip to main content
15,888,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have an application which reads data such as barcodes from a document scanner and then passes that data to a running application such as an Excel spreadsheet. The user determines how the data is formatted - it can contain special key presses such as Escape and Tab, and fixed text such as "First name" as well as the incoming data - and they choose the application that receives the formatted output. The formatted data is simply pasted into the destination application using System.Windows.Forms.SendKeys.SendWait().

Is there a really neat way to make this more flexible and powerful? I'm thinking we could implement some sort of data source (WCF?) which clients could plumb into with a little coding. Maybe customers want to stuff our data into their SQL database. Obviously I could write database code to do that myself, but there must be some automated framework about.

Sorry to ramble a bit, and thanks in advance for suggestions.

What I have tried:

See the above description for details.
Posted

1 solution

It is of course very depend on the target application, but with Office applications you should look for Dynamic Data Exchange (DDE)...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900