473,385 Members | 2,013 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.

Opening Web page from application

I have looked all over and maybe just missed how to do this, but I just want
to check that an internet connection is available and if it is open the
browser and display a page that I direct the user to.

In vb6 you could use Set Browser =
CreateObject("InternetExplorer.Application") and then use Browser.Navigate,
but I can't seem to find anything like this in vb.net. I do see the
WebClient, but that just seems to return a string rather than opening a
page.

Any suggestions or pointers would should be appreciated.

Thanks,
Norm


Nov 21 '05 #1
4 1417
Norm schrieb:
I have looked all over and maybe just missed how to do this, but I just want
to check that an internet connection is available and if it is open the
browser and display a page that I direct the user to.
Process.Start("http://www.vb-hellfire.de/")
In vb6 you could use Set Browser =
CreateObject("InternetExplorer.Application") and then use Browser.Navigate,


You can do this with VB.NET too, but it's not recommend to depend on
IE, instead of using the user's default browser.

Thorsten Doerfler
--
http://www.vb-hellfire.de/
Nov 21 '05 #2

"Thorsten Doerfler" <t.***************@bdsw.de> wrote in message
news:dg*********@news.bdsw.de...
Norm schrieb:
I have looked all over and maybe just missed how to do this, but I just want to check that an internet connection is available and if it is open the
browser and display a page that I direct the user to.
Process.Start("http://www.vb-hellfire.de/")
In vb6 you could use Set Browser =
CreateObject("InternetExplorer.Application") and then use

Browser.Navigate,
You can do this with VB.NET too, but it's not recommend to depend on
IE, instead of using the user's default browser.

Thorsten Doerfler
--
http://www.vb-hellfire.de/


Thorsten,

Thanks very much for the reply, that is certainly easier than what I was
trying to do and I don't even need to check for an internet connection first
as the browser will return an error stating that it cannot find the site if
there is no connection to the internet.

Thanks again,
Norm
Nov 21 '05 #3
Norm,

As addition to Thorsten

I know nothing about it than that I have seen it adviced by persons in one
of the dotnet newsgroups.

http://www.dll-files.com/dllindex/dl....shtml?wininet

I hope this helps,

Cor
Nov 21 '05 #4
"Norm" <No****@newsgroups.nospam> schrieb:
but I just want to [...] open the browser and display a page


Opening files, applications, Web documents, and the mail client
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=openfileappwebpage&lang=en>

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

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

Similar topics

44
by: Carlos Andr?s | last post by:
Hi everybody. I've got a problem. I'd like to avoid opening a new window when you have pressed the shift key and you click in the left button of the mouse. I've tried the next solution, in the...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
3
by: MrNobody | last post by:
I found an explanation of using Process.Start to open web pages but it has the following comments: // url's are not considered documents. They can only be opened // by passing them as arguments....
5
by: Brad | last post by:
In several aspx applications I export crytal reports to pdf, xls and doc files and then the aspx page writes the selected export file to the client browser. This all works with one small quirk: ...
2
by: Matt Hamilton | last post by:
I have an application page with a datagrid with a checkbox on each row. The user should check the rows they want to modify and then click a button. When the button is clicked, I have a Click...
6
by: Kenneth P | last post by:
Hi, It's rather common today, to see a PDF opening within a new Internet page. But how is it done in ASP.NET, VS2003? I'd rather use it as a way to invoice electronically. You email your...
1
by: Sushil Prasad | last post by:
hi, I have a web application with a help link. On the click of the help link user see a html page. I do response.redirect to url in my code. The vb.net application that user was using gets...
1
by: celoftis | last post by:
BACKGROUND: I have some PPT slides that have been converted to HTM (ensuring that the show slide animations while browsing checkbox is checked). The original HTM slides have custom animations to...
3
by: Luke Davis | last post by:
I'm looking for an effective way to open and close TCP ports. Can I do this through Tcpclient? And I know this is a potential security risk, so what kind of permission must the person running...
15
by: anon | last post by:
I have a page where the ASP script create a table of links i.e. 1 = NextPage.asp?Item=1 2 = NextPage.asp?Item=2 etc What I would like to do is open an new window with this link without any...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.