Sign in to follow this  
gamechampionx

Shell problem

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this