Integrating to a winforms application with No Api?

  • Thread starter Thread starter gregory_may
  • Start date Start date
G

gregory_may

I have a regular windows forms application that I need to automatically fill
in some information into..... But the manufacture has no published API's or
web services. Everything must be via their GUI.

Is there some technique that would allow a .Net program to fill in any
winforms text box with some information (from my own database pull)?

Thanks!

(I posted this on the Vb.Net form, but just realized the same technique
could be adapted from c# as well).
 
It seems that you want to bind the textbox control to the column in the
database table.
In case of this, you can use the following method:
textBox1.DataBindings.Add("Text", ds, "TableName.ColumnName");
, where ds is the DataSet object pointing the target database.

The method used in the VB.NET and the C# will be more or less the same
because they are using the same API. The only difference that I beleive
is the syntax.

By the way, what is the reason using the WinAPI to send keystroke to
the program? It seems to be some kind of event handling technique for
receiving the latest information. If so, I believe that it is a very
good method.

Hope this help.

Best regards,
Frankie Leung.
 
I believe the poster wants to populate information in another
executable that isn't his...
 
Back
Top