To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Visual Basic > Visual Basic .NET

Reply Post New Thread
 
Thread Tools Display Modes
Old Nov 28th, 2009, 12:49 PM   #1
manhit45
Fanatic Member
 
manhit45's Avatar
 
Join Date: May 09
Location: Ha noi - Viet Nam
Posts: 813
manhit45  is on a distinguished road (40+)
open chm file with expanded state

I want to open a chm file with expanded state.I opend my file but it collapse all.
__________________
--***----------***-----

If i help you please rate me.

Working with Excel * Working with String * Working with Database * Working with array *

Sinh viên k47 Đại học CNTT trường ĐH Tây Bắc.
manhit45 is offline   Reply With Quote
Old Nov 28th, 2009, 06:45 PM   #2
mendhak
ASP.NET Moderator
 
mendhak's Avatar
 
Join Date: Feb 02
Location: Ulaan Baator GooGoo: Frog
Posts: 38,161
mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)
Re: open chm file with expanded state

You can open up a specific topic using

hh.exe "C:\blah\filename.chm::/Root_Topic/Sub_Topic/topic9.htm"

hh.exe is what opens the CHM, the bit after the :: specifies where you want it to be open.
mendhak is offline   Reply With Quote
Old Nov 28th, 2009, 06:53 PM   #3
jmcilhinney
.NUT
 
jmcilhinney's Avatar
 
Join Date: May 05
Location: Sydney, Australia
Posts: 61,542
jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)
Re: open chm file with expanded state

Doesn't the Help.ShowHelp method let you do that too? I haven't used it much and not for a long time, but I think that's the case.
__________________

2007-2010

Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (Nullable Data Extensions *NEW*) (Serial Code TextBox *NEW*) | C# (ForumAccount has translated some of my VB submissions to C#)
My Blog: Defining and Raising Custom Events | Using Parameters in ADO.NET | Keyboard Events *NEW*
jmcilhinney is offline   Reply With Quote
Old Nov 28th, 2009, 06:53 PM   #4
manhit45
Fanatic Member
 
manhit45's Avatar
 
Join Date: May 09
Location: Ha noi - Viet Nam
Posts: 813
manhit45  is on a distinguished road (40+)
Re: open chm file with expanded state

please guid me more clearly . Thánks
__________________
--***----------***-----

If i help you please rate me.

Working with Excel * Working with String * Working with Database * Working with array *

Sinh viên k47 Đại học CNTT trường ĐH Tây Bắc.
manhit45 is offline   Reply With Quote
Old Nov 28th, 2009, 06:55 PM   #5
manhit45
Fanatic Member
 
manhit45's Avatar
 
Join Date: May 09
Location: Ha noi - Viet Nam
Posts: 813
manhit45  is on a distinguished road (40+)
Re: open chm file with expanded state

Quote:
Originally Posted by mendhak View Post
You can open up a specific topic using

hh.exe "C:\blah\filename.chm::/Root_Topic/Sub_Topic/topic9.htm"

hh.exe is what opens the CHM, the bit after the :: specifies where you want it to be open.
I try your way but not work.
__________________
--***----------***-----

If i help you please rate me.

Working with Excel * Working with String * Working with Database * Working with array *

Sinh viên k47 Đại học CNTT trường ĐH Tây Bắc.
manhit45 is offline   Reply With Quote
Old Nov 28th, 2009, 07:23 PM   #6
mendhak
ASP.NET Moderator
 
mendhak's Avatar
 
Join Date: Feb 02
Location: Ulaan Baator GooGoo: Frog
Posts: 38,161
mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)mendhak has a brilliant future (2000+)
Re: open chm file with expanded state

@jmc: I haven't either, but I think that may be it. I don't know if it can open a CHM to a specific topic or not. http://www.helpware.net/mshelp2/demo2/h1xNET.htm

@manhit: Try the link. I was basing my answer for a Process.Start but it appears you could do a Help.ShowHelp.

@mendhak: Nice work.
mendhak is offline   Reply With Quote
Old Nov 29th, 2009, 09:20 AM   #7
manhit45
Fanatic Member
 
manhit45's Avatar
 
Join Date: May 09
Location: Ha noi - Viet Nam
Posts: 813
manhit45  is on a distinguished road (40+)
Re: open chm file with expanded state

OK, THANKS MENDHAK. I try noW
__________________
--***----------***-----

If i help you please rate me.

Working with Excel * Working with String * Working with Database * Working with array *

Sinh viên k47 Đại học CNTT trường ĐH Tây Bắc.
manhit45 is offline   Reply With Quote
Old Nov 29th, 2009, 10:15 AM   #8
manhit45
Fanatic Member
 
manhit45's Avatar
 
Join Date: May 09
Location: Ha noi - Viet Nam
Posts: 813
manhit45  is on a distinguished road (40+)
Re: open chm file with expanded state

sorry, as last time. I used this but still not work :
PHP Code:

    Private Sub Button1_Click
(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        HelpProvider1
.HelpNamespace = "C:/Help.chm"
        
HelpProvider1.SetHelpNavigator(Button1, HelpNavigator.KeywordIndex)
        
HelpProvider1.SetHelpKeyword(Button1, "Nếu bạn muốn thêm ")

    
End Sub
__________________
--***----------***-----

If i help you please rate me.

Working with Excel * Working with String * Working with Database * Working with array *

Sinh viên k47 Đại học CNTT trường ĐH Tây Bắc.
manhit45 is offline   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Visual Basic .NET


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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:11 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.