Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 244,310 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 872 people online right now. Registration is fast and FREE... Join Now!




Using chm file and F1

 
Reply to this topicStart new topic

Using chm file and F1

alman7005
23 Dec, 2008 - 07:55 AM
Post #1

New D.I.C Head
*

Joined: 23 Dec, 2008
Posts: 2

Hi everybody

I want to know how to link chm file in my application.

The file should run wether the user press F1 or from menu go to help
Im using Vb2005.net

User is offlineProfile CardPM
+Quote Post


Jayman
RE: Using Chm File And F1
23 Dec, 2008 - 09:09 AM
Post #2

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 8,063



Thanked: 159 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM
+Quote Post

alman7005
RE: Using Chm File And F1
23 Dec, 2008 - 09:17 AM
Post #3

New D.I.C Head
*

Joined: 23 Dec, 2008
Posts: 2

Well.

I used this code to run chm file :
CODE
System.Windows.Forms.Help.ShowHelp(Me, "c:\Help.chm", HelpNavigator.AssociateIndex)

but I want to make it run from any computer( I wanna make it in my project. not from c: directory)


User is offlineProfile CardPM
+Quote Post

Jayman
RE: Using Chm File And F1
23 Dec, 2008 - 09:33 AM
Post #4

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 8,063



Thanked: 159 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Put the file in your VS project where the EXE (typically the Bin/Debug folder) is located for your application and then remove the drive designation. It will find the file.

CODE

System.Windows.Forms.Help.ShowHelp(Me, "Help.chm", HelpNavigator.AssociateIndex)

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 07:24PM

Live VB.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month