Reputation: 43
I am working with a C# program which has a textbox txtPath
and an HTML website that has another textbox txtWebPath
. The website is written in JavaScript.
txtPath
is being filled by openFileDialog
, while txtWebPath
is being filled via drag-and-drop. My goal is to have a button that sends txtPath
value to txtWebPath
.
Is there a way to do that?
Upvotes: 0
Views: 175
Reputation: 11
You could look into using WebSockets: they connect a server (the C# program in your case) with a web browser (in Javascript). You can find more about how you would write such programs here:
Upvotes: 1