473,508 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Passing text to a web page:

Hi,

I have the following code to open a web page using a webbrowser control:

Public Class Form1

Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load

WebBrowser1.Navigate(http://RequiredWebAddress)

End Sub

End Class

I would like to pass a user name and password to the web page, but being new
to .NET I can't seem to find the required code. I presume this is possible
and would like some guidance as to how to do it.
--
Regards

Laurie Comerford
Jan 14 '08 #1
2 980
Laurie,

Do you know the Google Newgroup search?

This question has been endless in this newsgroup

http://groups.google.com/group/micro...eb+page&hl=en&

Cor

"Laurie Comerford" <laurie.comerford@I_Hate_Spam.com.auschreef in bericht
news:uD****************@TK2MSFTNGP05.phx.gbl...
Hi,

I have the following code to open a web page using a webbrowser control:

Public Class Form1

Private Sub Form1_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load

WebBrowser1.Navigate(http://RequiredWebAddress)

End Sub

End Class

I would like to pass a user name and password to the web page, but being
new to .NET I can't seem to find the required code. I presume this is
possible and would like some guidance as to how to do it.
--
Regards

Laurie Comerford

Jan 14 '08 #2
Hi Cor,

Thanks for the suggestion. I had tried the MS knowledgebase and a general
web search, but did not get any meaningful (to me) results.

I'm unable to get any of the options from the search results you gave me to
work inclusive of trying various seperators, spaces, commas, colons,
semi-colons etc.

In the sample code: http://www.asite.com/pass.aspx?uname=john&pass=doe& I
could not be sure if "pass.aspx?" is generic or if it is a specific function
on a specific web page. Also with "uname" and "pass". Are these generic or
page specific.

I also tried variations on:

http://username:pa******@10.10.10.1

None of them worked. In one of the posts the Username and Password were
enclosed as follows <Usernameand <Password>. I tried both with and wthout
the braces with no effect.
--
Regards

Laurie Comerford

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:57**********************************@microsof t.com...
Laurie,

Do you know the Google Newgroup search?

This question has been endless in this newsgroup

http://groups.google.com/group/micro...eb+page&hl=en&

Cor

"Laurie Comerford" <laurie.comerford@I_Hate_Spam.com.auschreef in
bericht news:uD****************@TK2MSFTNGP05.phx.gbl...
>Hi,

I have the following code to open a web page using a webbrowser control:

Public Class Form1

Private Sub Form1_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load

WebBrowser1.Navigate(http://RequiredWebAddress)

End Sub

End Class

I would like to pass a user name and password to the web page, but being
new to .NET I can't seem to find the required code. I presume this is
possible and would like some guidance as to how to do it.
--
Regards

Laurie Comerford


Jan 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7769
by: Paul | last post by:
Hmmm, didn't seem to work. I have set session.use_cookies = 1 and session.use_trans_sid = 1 in my php.ini file. Index.php contains:...
7
43234
by: Anne | last post by:
hie there, i want to be able to pass multiple parameters to another page. currently, i am able to do so, but somehow i feel it is not the correct way to do it. below is part of what i have so far....
7
2597
by: Wade Wegner | last post by:
Hello, I have been desperately trying to programmatically authenticate a windows user, create their credentials, and then redirect them to a different server while passing the credentials at the...
3
1969
by: James Robertson | last post by:
I am new to the ASP and VB thing so be kind. Question I have is that I have created an ASPX web site to use as an E-Mail page. But I want to use this for a lot of users. Can I create the link on...
5
3193
by: jmartmem | last post by:
Greetings, I have built an Update Record Form in an ASP page. This form contains a number of fields, such as text boxes and menus, to name a few. Upon clicking the 'submit' button, I want the...
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7125
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7499
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5631
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.