Hello,
I have a intranet web page and a windows form application also.
I need to change a text box value on the windows form application, by getting a value from web page, and with a button on the page. How Can I do this? I need your help as soon as possible..
Thank you very much in advance
For Example;
Web Page = 12345 (written on a column) -> send to form (with pressıng a button)
Windows Form = 12345 -> Textbox value (first it's empty then we fill this via getting value from web page)
===============================
I decide to do web page (server side) writes the value to a somewhere inthe registry and client app should read from there.
I did this with the following script but it doesnt work when I deploy the code to the server.
Can you help me I need to finish it today:(
<script language="javascript" type="text/javascript">
function ReadRegistry() {
var WshShell;
var Key;
try {
WshShell = new ActiveXObject("WScript.Shell");
WshShell.RegWrite("HKEY_CURRENT_USER\\Software\\Clients\\id", 12345);
Key = WshShell.RegRead("HKEY_CURRENT_USER\\Software\\Clients\\id");
alert(Key);
} catch (e) {
Key = '';
}
}
ReadRegistry();
</script>
====================================