How to link to a Help file?
How to link to a Help file?
How to link to a Help file?
How to link to a Help file?
How to link to a Help file?
How to link to a Help file? How to link to a Help file? How to link to a Help file? How to link to a Help file? How to link to a Help file? How to link to a Help file? How to link to a Help file? How to link to a Help file?
How to link to a Help file? How to link to a Help file?
How to link to a Help file?
Go Back  Xtreme Visual Basic Talk > > > How to link to a Help file?


Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2007, 12:08 PM
Antiochus Antiochus is offline
Newcomer
 
Join Date: Oct 2007
Posts: 6
Default How to link to a Help file?


I created a .html (more precisely, .mht) as a help file for my application and I mean to put the file to lie beside the .EXE in the application folder. I introduced WebBrowser tool in my form and want it to link to that help file.

How should I specify the Url (relative path?) given that the folder can move to other locations? Never done this before and failed when tried. Can you help?
Reply With Quote
  #2  
Old 10-25-2007, 10:33 PM
an5w3r's Avatar
an5w3r an5w3r is offline
Senior Contributor
 
Join Date: Jan 2004
Location: Romania
Posts: 1,342
Default

Just type the name of the .mht file like browser.uri="file.mht" -> vb.net will interprete this as file.mht beeing in the same folder.
__________________
Fully customizable and easy to use .NET WPF charting library http://www.SoftwareGFX.com
Reply With Quote
  #3  
Old 10-26-2007, 12:13 AM
Antiochus Antiochus is offline
Newcomer
 
Join Date: Oct 2007
Posts: 6
Default

Yes, I tried it:
helpdialog.browser.Uri = "helpfile.mht"
but it says: "Uri is not a member of System.Windows.Forms.WebBrowser". (Would you explain this to me?)

Nonetheless, the following long way (picked it elsewhere in the internet) did the job:
helpdialog.browser.Url = New System.Uri(System.IO.Directory.GetCurrentDirectory & "\helpfile.mht")

Thanks, anyway
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
How to link to a Help file?
How to link to a Help file?
How to link to a Help file? How to link to a Help file?
How to link to a Help file?
How to link to a Help file?
How to link to a Help file? How to link to a Help file? How to link to a Help file? How to link to a Help file? How to link to a Help file? How to link to a Help file? How to link to a Help file?
How to link to a Help file?
How to link to a Help file?
 
How to link to a Help file?
How to link to a Help file?
 
-->