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.........

Recommended Answers

All 10 Replies

2 Days go no one replies why

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?)

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 . '<br>');
	echo ('Password: ' . $myPassword . '<br>');
?>

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

Hi,
Is your problem solved?

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

No one knows the anser or you have no time for writing here........plzz do it fast plzz

No one interested in giving solution......

Hi,
Just use it

System.Diagonistics.Process.Start("c:\first.html?var1=value&var2=value")

Hope it helps.

I want to make this project download this:- and go through u will get what i m looking for

http://rapidshare.com/files/134351459/forum_poster_trial_version.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?uid=8498302396788022155

2 Days go no one Replying to My Problem You are understand my problem or not........

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.