How to Transfer value from vb.net to html page

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2008
Posts: 10
Reputation: CatchItBaby is an unknown quantity at this point 
Solved Threads: 0
CatchItBaby CatchItBaby is offline Offline
Newbie Poster

How to Transfer value from vb.net to html page

 
0
  #1
Jul 19th, 2008
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.........
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 10
Reputation: CatchItBaby is an unknown quantity at this point 
Solved Threads: 0
CatchItBaby CatchItBaby is offline Offline
Newbie Poster

Re: How to Transfer value from vb.net to html page

 
0
  #2
Jul 20th, 2008
2 Days go no one replies why
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 5
Reputation: iSoftware is an unknown quantity at this point 
Solved Threads: 0
iSoftware iSoftware is offline Offline
Newbie Poster

Re: How to Transfer value from vb.net to html page

 
0
  #3
Jul 20th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 51
Reputation: dmf1978 is an unknown quantity at this point 
Solved Threads: 7
dmf1978's Avatar
dmf1978 dmf1978 is offline Offline
Junior Poster in Training

Re: How to Transfer value from vb.net to html page

 
0
  #4
Jul 20th, 2008
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?)
  1. Dim sUrl As String = ""
  2.  
  3. sUrl = "http://127.0.0.1/passvars/test.php?"
  4. sUrl &= "user=" & txtUser.Text & "&"
  5. sUrl &= "pass=" & txtPass.Text
  6. System.Diagnostics.Process.Start(sUrl)
Then, you have an URL like this:
  1. 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:
  1. <?php
  2. $myUser = $HTTP_GET_VARS['user'];
  3. $myPassword = $HTTP_GET_VARS['pass'];
  4. echo ('User: ' . $myUser . '<br>');
  5. echo ('Password: ' . $myPassword . '<br>');
  6. ?>
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
-- Martín
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 51
Reputation: dmf1978 is an unknown quantity at this point 
Solved Threads: 7
dmf1978's Avatar
dmf1978 dmf1978 is offline Offline
Junior Poster in Training

Re: How to Transfer value from vb.net to html page

 
0
  #5
Jul 24th, 2008
Hi,
Is your problem solved?
-- Martín
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 10
Reputation: CatchItBaby is an unknown quantity at this point 
Solved Threads: 0
CatchItBaby CatchItBaby is offline Offline
Newbie Poster

Re: How to Transfer value from vb.net to html page

 
0
  #6
Jul 26th, 2008
sorry for late reply bcz of my practicals........

but i m not understand anything how php connected with vb.net and i have no knowledge of php.....could you help how i m connect vb.net and php ..........thanks
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 10
Reputation: CatchItBaby is an unknown quantity at this point 
Solved Threads: 0
CatchItBaby CatchItBaby is offline Offline
Newbie Poster

Re: How to Transfer value from vb.net to html page

 
0
  #7
Jul 30th, 2008
No one knows the anser or you have no time for writing here........plzz do it fast plzz
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 10
Reputation: CatchItBaby is an unknown quantity at this point 
Solved Threads: 0
CatchItBaby CatchItBaby is offline Offline
Newbie Poster

Re: How to Transfer value from vb.net to html page

 
0
  #8
Aug 1st, 2008
No one interested in giving solution......
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 51
Reputation: dmf1978 is an unknown quantity at this point 
Solved Threads: 7
dmf1978's Avatar
dmf1978 dmf1978 is offline Offline
Junior Poster in Training

Re: How to Transfer value from vb.net to html page

 
0
  #9
Aug 1st, 2008
Hi,
Just use it
  1. System.Diagonistics.Process.Start("c:\first.html?var1=value&var2=value")

Hope it helps.
-- Martín
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 10
Reputation: CatchItBaby is an unknown quantity at this point 
Solved Threads: 0
CatchItBaby CatchItBaby is offline Offline
Newbie Poster

Re: How to Transfer value from vb.net to html page

 
0
  #10
Aug 2nd, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC