Hi,
I will show you how to do this using PHP. I dont know if it works using HTML files (maybe using JavaScript to catch the values?)
Dim sUrl As String = ""
sUrl = "http://127.0.0.1/passvars/test.php?"
sUrl &= "user=" & txtUser.Text & "&"
sUrl &= "pass=" & txtPass.Text
System.Diagnostics.Process.Start(sUrl)
Then, you have an URL like this:
http://127.0.0.1/passvars/test.php?user=martin&pass=123456
Then, inside the PHP file (in this case test.php) you must code:
<?php
$myUser = $HTTP_GET_VARS['user'];
$myPassword = $HTTP_GET_VARS['pass'];
echo ('User: ' . $myUser . '');
echo ('Password: ' . $myPassword . '');
?>
I dont know how far do you want to go. But using this, you can take the values passed from the VB application inside the PHP file (I guess you can do this in a HTML file too).
Hope it helps.
MartÃn
dmf1978
Junior Poster in Training
51 posts since Aug 2006
Reputation Points: 18
Solved Threads: 7
Hi,
Is your problem solved?
dmf1978
Junior Poster in Training
51 posts since Aug 2006
Reputation Points: 18
Solved Threads: 7
Hi,
Just use it
System.Diagonistics.Process.Start("c:\first.html?var1=value&var2=value")
Hope it helps.
dmf1978
Junior Poster in Training
51 posts since Aug 2006
Reputation Points: 18
Solved Threads: 7