Page 1 of 1

Help error in IDE

Posted: 06 February 2006, 11:37 AM
by victorf
I was in the IDE and editing a program and pressed F1 for some help and got the following error message box:

ZBasic IDE
Error while launching
'"'file://D:ZBasicStuff\ZBasic\IDE\.. \doc\ZBasicRef.html"
The specified path was not found

The IDE was installed normally and I have not moved anything around. The installer placed ZBasicRef.html in D:\ZBasic Stuff\ZBasic\doc\ZBasicRef and, BTW, placed ZBasicSysLib in D:\ZBasic Stuff\ZBasic\doc\ZBasicSysLib . Is there a problem with the installer? The installed version of the IDE is 1.0.2.

I hate mucking with stuff like this but how do I recover? Can I just move the contents of folders ZBasicRef and ZBasicSysLib from the folder doc to the folder IDE?

The folder structure is exactly as the installer created it!

Any enlightenment will be appreciated

Vic

Posted: 06 February 2006, 12:07 PM
by dkinzer
The location of the language help file is specified in the Global Options file near line 245:

Code: Select all

command.zbasic.help.default="file://$(SciteDefaultHome)\..\doc\ZBasicRef.html"
We don't know yet why this works correctly on some systems but not on others. For example, on my main development system (XP SP2) it works fine but on a laptop also running XP it does not. I suspect that the browser may have a problem with the "up directory" reference in the middle of the path.

As a temporary workaround, you can add a line to your User Options file to specify the direct path. For example, in your specific case, you could add this line:

Code: Select all

command.zbasic.help.default="'file://D:ZBasicStuff\ZBasic\doc\ZBasicRef.html"

Posted: 06 February 2006, 14:23 PM
by victorf
Here is the directory structure for my install:

Code: Select all

D:
	ZBasic Stuff
		ZBasic
			doc
				ZBasicRef
					ZBasicRef.html
I had to modify your suggested line as follows:
command.zbasic.help.default="'file://D:ZBasic Stuff\ZBasic\doc\ZBasicRef\ZBasicRef.html"

The top level directory is ZBasic Stuff! However this did not work and I get the exact same error message except with the new path.

Any other suggestions? Right now I am getting around it by opening the ZBasicRef and ZBasicSysLib documentation in my FoxFire browser in two seperate tabs and looking up what I need there. I actually have no problem doing this. I just open contents.html for both docs.

Vic

Posted: 06 February 2006, 15:19 PM
by dkinzer
I think that the problem is that there should be a backslash following D:.

Code: Select all

command.zbasic.help.default="'file://D:\ZBasic Stuff\ZBasic\doc\ZBasicRef.html"
Note that there is a file ZBasicRef.html in the doc directory. That's the one that should be used. There is another one in the ZBasicRef subdirectory but that one may not display the same.

Also, you might try changing the two forward slashes following file: to backslashes. In some applications, slash and backslash are treated the same in a filename; in others, not so. Most of the Windows APIs accept either.

Posted: 07 February 2006, 5:01 AM
by victorf
I've tried everything you suggested with no luck. I even tried some of my own with the same results :(

Since it is not a major issue and has an easy work around, I'll stop pestering you :)

If there is a breakthrough please let me know.

Thanks for your help :D

Vic

Posted: 10 February 2006, 8:11 AM
by TimC
I had the same problem and solved it by changing the origional Help line mentioned above to:

command.zbasic.help.default="file://C:\Program Files\ZBasic\doc\ZBasicRef.html"

The problem before was the additional ' to the left of file://

Regards
Tim

help file

Posted: 25 March 2006, 19:53 PM
by zbasicandy
It was a two part fix for me ..
Leave out the ' and add a \ after the drive letter.
user option file: command.zbasic.help.default="file://C:\program files\ZBasic\doc\ZBasicRef.html"