| | |
How to Transfer value from vb.net to html page
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2008
Posts: 10
Reputation:
Solved Threads: 0
I dont know this programe name what ever u say........
Suppose you have a html page save in c:\first.html
first.html page contain two text boxes one for username and password and one button whenever we click on button it validate the username and password which is already pass in the source code...........
Suppose you have a Form in vb.net which have two text boxes and button in vb.net when u will click on button that first.html page open in a browswer and i m using this property:-
system.diagonistics.process.start("c:/first.html")
=========
Here my question Starts
================
I want to know that in vb.net there are two text boxes .......at run time we put the values in the text boxes and when we click on button that html page open and validate the username and password the from the vb.net .........
-------------------------
or simply u can say that how we transer vb.net value to html page.........
Suppose you have a html page save in c:\first.html
first.html page contain two text boxes one for username and password and one button whenever we click on button it validate the username and password which is already pass in the source code...........
Suppose you have a Form in vb.net which have two text boxes and button in vb.net when u will click on button that first.html page open in a browswer and i m using this property:-
system.diagonistics.process.start("c:/first.html")
=========
Here my question Starts
================
I want to know that in vb.net there are two text boxes .......at run time we put the values in the text boxes and when we click on button that html page open and validate the username and password the from the vb.net .........
-------------------------
or simply u can say that how we transer vb.net value to html page.........
•
•
Join Date: Jul 2008
Posts: 5
Reputation:
Solved Threads: 0
Funny, I have the exact opposite problem, but I found a work around. I had to transfer a value from a html page to Visual Basic, so I made a bat file and forced my browser to launch it when the form was submitted. Then the bat file carried out the value to a registry key, and my Visual Basic application retrieved it from the registry and deleted the key. I have no idea how to do it in reverse, though, but hopefully my info could trigger some idea in your mind that will work
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?)
Then, you have an URL like this:
Then, inside the PHP file (in this case test.php) you must code:
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
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?)
VB Syntax (Toggle Plain Text)
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)
VB.NET Syntax (Toggle Plain Text)
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 Syntax (Toggle Plain Text)
<?php $myUser = $HTTP_GET_VARS['user']; $myPassword = $HTTP_GET_VARS['pass']; echo ('User: ' . $myUser . '<br>'); echo ('Password: ' . $myPassword . '<br>'); ?>
Hope it helps.
Martín
-- Martín
Hi,
Just use it
Hope it helps.
Just use it
VBNET Syntax (Toggle Plain Text)
System.Diagonistics.Process.Start("c:\first.html?var1=value&var2=value")
Hope it helps.
-- Martín
•
•
Join Date: Jul 2008
Posts: 10
Reputation:
Solved Threads: 0
I want to make this project download this:- and go through u will get what i m looking for
http://rapidshare.com/files/13435145...rsion.rar.html
This is demo version but i m looking for full version through vb.net
project summary.:- we have may forum in World Wide Web like
1) http://www.katzforums.com/
2) http://bayw.org/
and many others
For ex We have to sumbit our downloads , and our articals in these forum one by one and visit each forum again and again suppose we have to post same artical in 50 forum then how disgusting to visit each forum one by one and posting same artical again and again ...........if we make a software in vb.net that will post our download in 50 forums at a time.......then how good is that.....so try to make this .........and Enjoy coding
Email me :- yash.mehta2007@gmail.com
my orkut profile:- http://www.orkut.co.in/Profile.aspx?...02396788022155
http://rapidshare.com/files/13435145...rsion.rar.html
This is demo version but i m looking for full version through vb.net
project summary.:- we have may forum in World Wide Web like
1) http://www.katzforums.com/
2) http://bayw.org/
and many others
For ex We have to sumbit our downloads , and our articals in these forum one by one and visit each forum again and again suppose we have to post same artical in 50 forum then how disgusting to visit each forum one by one and posting same artical again and again ...........if we make a software in vb.net that will post our download in 50 forums at a time.......then how good is that.....so try to make this .........and Enjoy coding
Email me :- yash.mehta2007@gmail.com
my orkut profile:- http://www.orkut.co.in/Profile.aspx?...02396788022155
![]() |
Similar Threads
- html/php form for .htaccess validation (PHP)
- transfer data from an asp .net page into a javasscript script (ASP.NET)
- ASP.NET and Mozilla - Issues! (ASP.NET)
- unable to load windows update web page (Viruses, Spyware and other Nasties)
Other Threads in the VB.NET Forum
- Previous Thread: Need help for adding record to database using vb.net
- Next Thread: checking if a file is open using VB.
| Thread Tools | Search this Thread |
"crystal .net .net2005 2008 access add advanced application array assignment basic beginner box button buttons center click client code combo convert cpu data database datagrid datagridview designer dissertation dissertations dissertationthesis dosconsolevb.net editvb.net employees excel exists firewall forms html image images isnumericfuntioncall listview login map math memory mobile module msaccess mssqlbackend mysql navigate net number opacity pan picturebox picturebox2 port print printpreview record regex reports" reuse right-to-left save savedialog search serial socket sorting sql sqldatbase sqlserver storedprocedure string temp textbox timer txttoxmlconverter upload useraccounts usercontol usercontrol vb vb.net vb.nettoolboxvisualbasic2008sidebar vba vbnet vista visual visualbasic visualbasic.net visualstudio.net web winsock wpf wrapingcode xml





