Jump to content
  • Advertisement
Sign in to follow this  
gamechampionx

Shell problem

This topic is 4868 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In vb.net, I'm trying to use a Shell command to open a help file called Help.chm. Even when the file path and name are explicitly stated, I get file not found errors. Why does this happen? On a side note, how do you specify the starting html document for a help file in the HTML Help Workshop program?

Share this post


Link to post
Share on other sites
Advertisement
I've used VB6 for yeeeears, but haven't gotten into VB.NET yet. I know this is not true in VB6, but since VB.NET has become more similar to C/C++ in various ways (the functionality more than the syntax), I'm wondering if maybe VB.NET now has character escaping in its strings? For example, is your string something like "c:\whatever\filename.chm", whereas it may need to be "c:\\whatever\\filename.chm"? Sorry for not having any VB.NET experience...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
System.Diognose.Proccess.Start( "winhlp32.exe", "filename.chm" )

This is also a gues!
filename.chm must be in same as .exe, or you need to give a full path.
winhelp32.exe is my program to watch *.chm files

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!