473,385 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Is web page access possible?

Hi,

I've been playing with an idea in my head but don't actually know if it's
possible, so I thought I'd post the qustion here and see if anyone knows how?

Is it possible to type some text into a textbox then get your app to put
this text into a web based textbox, then get the text from the resulting
webpage and paste it into a richtextbox.

for example, I type "Surfing" into a textbox and click OK. "Surfing" would
then be dropped into Google's Seach Textbox. Google performs the search and
from the results the text of googles page is dropped back into my app in a
rich textbox.

Cheers for any advice
Niels
Nov 21 '05 #1
7 927
Niels

There are more ways,

A little example of one of them

Open a new windows application project

In the toolbox rightclick and select add/Remove items

In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.

\\\
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("
http://www.google.dk/search?hl=da&q=...%B8gning&meta=
")
End Sub
///

I hope this helps a little bit?

Cor

"Niels Jensen" <Ni*********@discussions.microsoft.com>

I've been playing with an idea in my head but don't actually know if it's
possible, so I thought I'd post the qustion here and see if anyone knows
how?

Is it possible to type some text into a textbox then get your app to put
this text into a web based textbox, then get the text from the resulting
webpage and paste it into a richtextbox.

for example, I type "Surfing" into a textbox and click OK. "Surfing"
would
then be dropped into Google's Seach Textbox. Google performs the search
and
from the results the text of googles page is dropped back into my app in a
rich textbox.

Cheers for any advice
Niels

Nov 21 '05 #2
"Niels Jensen" <Ni*********@discussions.microsoft.com> schrieb:
I've been playing with an idea in my head but don't actually know if it's
possible, so I thought I'd post the qustion here and see if anyone knows
how?

Is it possible to type some text into a textbox then get your app to put
this text into a web based textbox, then get the text from the resulting
webpage and paste it into a richtextbox.


Take a look at the 'HttpWebRequest' class. You can use the HTTP 'POST'
command to send the query.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #3
On Fri, 3 Dec 2004 06:31:04 -0800, Niels Jensen wrote:
for example, I type "Surfing" into a textbox and click OK. "Surfing" would
then be dropped into Google's Seach Textbox. Google performs the search and
from the results the text of googles page is dropped back into my app in a
rich textbox.


In addition to the other comments, if you're specifically looking to query
Google, then you can use Google's web services for that purpose.

Here's the link:

http://www.google.com/apis/
--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Nov 21 '05 #4
Niels. This sounds interesting. Were you able to do this to any extent. If
so could you post your solution or email it to me?

genojoe[AT]neo_lunchmeat_[DOT]rr[DOT]com

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
"Niels Jensen" wrote:
Hi,

I've been playing with an idea in my head but don't actually know if it's
possible, so I thought I'd post the qustion here and see if anyone knows how?

Is it possible to type some text into a textbox then get your app to put
this text into a web based textbox, then get the text from the resulting
webpage and paste it into a richtextbox.

for example, I type "Surfing" into a textbox and click OK. "Surfing" would
then be dropped into Google's Seach Textbox. Google performs the search and
from the results the text of googles page is dropped back into my app in a
rich textbox.

Cheers for any advice
Niels

Nov 21 '05 #5
Hi,

Take a look at string.replace and regex.replace.

http://msdn.microsoft.com/library/de...placetopic.asp

http://msdn.microsoft.com/library/de...placetopic.asp
Ken
----------------
"genojoe" <ge*****@discussions.microsoft.com> wrote in message
news:C1**********************************@microsof t.com...
Niels. This sounds interesting. Were you able to do this to any extent.
If
so could you post your solution or email it to me?

genojoe[AT]neo_lunchmeat_[DOT]rr[DOT]com

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
"Niels Jensen" wrote:
Hi,

I've been playing with an idea in my head but don't actually know if it's
possible, so I thought I'd post the qustion here and see if anyone knows
how?

Is it possible to type some text into a textbox then get your app to put
this text into a web based textbox, then get the text from the resulting
webpage and paste it into a richtextbox.

for example, I type "Surfing" into a textbox and click OK. "Surfing"
would
then be dropped into Google's Seach Textbox. Google performs the search
and
from the results the text of googles page is dropped back into my app in a
rich textbox.

Cheers for any advice
Niels

Nov 21 '05 #6
I think this might be the correct answer to a different question.

"Ken Tucker [MVP]" wrote:
Hi,

Take a look at string.replace and regex.replace.

http://msdn.microsoft.com/library/de...placetopic.asp

http://msdn.microsoft.com/library/de...placetopic.asp
Ken
----------------
"genojoe" <ge*****@discussions.microsoft.com> wrote in message
news:C1**********************************@microsof t.com...
Niels. This sounds interesting. Were you able to do this to any extent.
If
so could you post your solution or email it to me?

genojoe[AT]neo_lunchmeat_[DOT]rr[DOT]com

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
"Niels Jensen" wrote:
Hi,

I've been playing with an idea in my head but don't actually know if it's
possible, so I thought I'd post the qustion here and see if anyone knows
how?

Is it possible to type some text into a textbox then get your app to put
this text into a web based textbox, then get the text from the resulting
webpage and paste it into a richtextbox.

for example, I type "Surfing" into a textbox and click OK. "Surfing"
would
then be dropped into Google's Seach Textbox. Google performs the search
and
from the results the text of googles page is dropped back into my app in a
rich textbox.

Cheers for any advice
Niels


Nov 21 '05 #7
"Ken Tucker [MVP]" <vb***@bellsouth.net> schrieb:
so could you post your solution or email it to me?

genojoe[AT]neo_lunchmeat_[DOT]rr[DOT]com

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.


Take a look at string.replace and regex.replace.


LOL :-)!

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #8

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

Similar topics

2
by: Peter | last post by:
Hello! Please, could anybody tell me, is it possible to run an asp page as particular user? I have this situation where I have one shared folder on particular server and this folder is shared...
2
by: Alex Hunter | last post by:
Is it possible for one page to access a variable (or text) from another page or frame? How is this done? I want to update a piece of data on one page, and have it update on lots of different...
2
by: Dave Bootsma | last post by:
Is it possible to programatically save a certain image from a certain web page? I want to automatically get a specific graphic from a specific web page programatically so I can automate the...
2
by: terry | last post by:
Hi, I am using a FrameSet with three frames. In server code (c# code behind) is it possible for a page to call a function in another page of the frameset? I suspect that it is not possible but...
2
by: Jan | last post by:
Is it possible to somehow redirect users to a cutom page if their browsers/firewall do not support SSL? Almost like a customized 404 page? We'd like to offer SSL form submits by default, but...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
47
by: Max | last post by:
Due to the behaviour of a particular COM object, I need to ensure that a request for a particular ASP page is finalized before another request for the page is processed. Does IIS have a way to...
2
by: planetthoughtful | last post by:
Hi All, I have a Web User Control that I would like to use in several pages in my ASP.NET application. I'm wondering, however, if it's possible to call a function contained in the page from...
19
by: Mark Rae | last post by:
Hi, Is it possible to have programmatic access to the Page object in Application_BeginRequest, or is it too early in the lifecycle...? E.g. to be able to change a page's MasterPage...
2
by: Mike Harrison | last post by:
Hi, is it possible to do something like this using JavaScript? My page should prompt the user for a 3rd party URL. It will then validate this URL, request the page, analyse it and update the main...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.