Board index » Visual Studio » Open a web page
|
maxgolanski
|
|
maxgolanski
|
Open a web page
Visual Studio284
I am creating an HTML report/file that will be written to the user's computer. Once the report is created, I want to open the newly created HTML file with the user's default web browser I have done this type of thing beore in VB6, but I can't seem to find out how to do it with VB.NET. Any help is grealt appreciated. -- Al Donker - |
| Bob
Registered User |
Tue Apr 12 10:44:17 CDT 2005
Re:Open a web page
"Al Donker" <DonkBuilt@hot.rr.com.NOSPAM>wrote in message
QuoteI am creating an HTML report/file that will be written to the user's -- <response type="generic" language="VB.Net"> This newsgroup is for users of Visual Basic version 6.0 and earlier and not the misleadingly named VB.Net or VB 200x. Solutions, and often even the questions, for one platform will be meaningless in the other. When VB.Net was released Microsoft created new newsgroups devoted to the new platform so that neither group of developers need wade through the clutter of unrelated topics. Look for newsgroups with the words "dotnet" or "vsnet" in their name. For the msnews.microsoft.com news server try these: microsoft.public.dotnet.general microsoft.public.dotnet.languages.vb </response> - |
| Paul
Registered User |
Tue Apr 12 11:13:53 CDT 2005
Re:Open a web page
On Tue, 12 Apr 2005 08:11:01 -0700, Al Donker <DonkBuilt@hot.rr.com.NOSPAM>wrote:
¤ I am creating an HTML report/file that will be written to the user's ¤ computer. Once the report is created, I want to open the newly created HTML ¤ file with the user's default web browser I have done this type of thing beore ¤ in VB6, but I can't seem to find out how to do it with VB.NET. Any help is ¤ grealt appreciated. You can use the same API function call but it isn't really necessary in .NET: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q320320" rel="nofollow" target="_blank">support.microsoft.com/default.aspx& Just use the HTML file path instead of the URL in the example. Paul ~~~~ Microsoft MVP (Visual Basic) - |
