LB Booster
Programming >> Liberty BASIC language >> LB Help files in CHM format
http://lbb.conforums.com/index.cgi?board=lblang&action=display&num=1423659731

LB Help files in CHM format
Post by Richard Russell on Feb 11th, 2015, 12:02pm

This is very old news, but I thought it might be timely to remind LBB users that my Liberty BASIC CHM Creator application remains available:

http://bb4w.wikispaces.com/Creating+a+CHM+version+of+the+LB+Help+files

This converts the help files supplied with LB 4.04 into a single CHM file, with a Search tab, which makes it much easier to find the information you need.

Richard.
Re: LB Help files in CHM format
Post by Richard Russell on Aug 22nd, 2015, 1:51pm

I have updated my Liberty BASIC CHM Creator application for LB v4.5.0. See this Wiki page for details or download it directly from here.

Having the LB 4.5.0 Help documentation in the form of a single CHM file makes it easier to navigate and much easier to search*.

Richard.

* That's how I know that, rather mysteriously, there is no reference in the LB 4.5.0 Help docs to the ENDSWITH() function, even though it seems to be implemented!

Re: LB Help files in CHM format
Post by Monkfish on Sep 1st, 2015, 09:48am

Hi Richard, lb45chm.exe keeps telling me that I don't have LB4.5.0 installed, but I do.

I'm running under WinXP
Re: LB Help files in CHM format
Post by Richard Russell on Sep 1st, 2015, 11:18am

on Sep 1st, 2015, 09:48am, Monkfish wrote:
lb45chm.exe keeps telling me that I don't have LB4.5.0 installed, but I do.

Sounds like your LB 4.5.0 installation is corrupted. Re-install it (by running lb450setup.exe) and try again. I've tested lb45chm on several different PCs, versions of Windows (both 32-bit and 64-bit) etc. and it has never failed for me.

Richard.

Re: LB Help files in CHM format
Post by Monkfish on Sep 1st, 2015, 6:15pm

Yes that did the trick. I also uninstalled LB4.04.
Re: LB Help files in CHM format
Post by joker on Oct 25th, 2015, 5:46pm

My Liberty BASIC CHM Creator application doesn't think 4.5 is available, either.

Reinstallation doesn't help.

Perhaps this USER/ADMIN problem is causing confusion?

http://libertybasic.conforums.com/index.cgi?board=general&action=display&num=1444403639

Chris Iverson summed it up this way:

Quote:
Let's see what happens in another scenario.

This time, for clarity, we'll name our two users Admin and User. Admin has admin access, User doesn't.

User is signed in to the desktop, and LB is not installed.

<current user> = User

He tries to install LB, and gets asked for admin credentials.

Admin comes over and types in his username and password. Windows starts the install of LB as Admin. Let's see what effect this has.

<current user> = Admin

Install path = C:\Program Files (x86)\Liberty BASIC v4.5
Data path = C:\Users\<current user>\AppData\Roaming\Liberty BASIC v4.5

The Data path then maps to:

C:\Users\Admin\AppData\Roaming\Liberty BASIC v4.5


So all of the configuration data, samples, etc get copied there.

After the installer closes, there is no longer a program running as Admin.

<current user> = User

Now that LB's installed, User thanks Admin and goes to start LB.

Windows starts LB with User's identity.

Data path = C:\Users\<current user>\AppData\Roaming\Liberty BASIC v4.5


which then maps to

C:\Users\User\AppData\Roaming\Liberty BASIC v4.5



Which ends up with User having the same problem as above; only it seems stranger, because, to User, he was the one who installed LB.


Re: LB Help files in CHM format
Post by Richard Russell on Oct 25th, 2015, 6:13pm

on Oct 25th, 2015, 5:46pm, pnlawrence wrote:
Perhaps this USER/ADMIN problem is causing confusion?

I doubt it, unless you are running lb45chm.exe with different privileges from how you installed LB 4.5.0 (if you installed LB 4.5.0 from an admin account then run lb45chm from that same account).

The way lb45chm determines whether LB 4.5.0 is installed or not is by looking for a shortcut, either on the desktop or in your Start menu. Check that the shortcut which was created by the LB installer is visible from the account you are using to run lb45chm.

The great majority of Windows installations (from Vista onwards) are configured so that ordinary users normally run without admin privileges but can elevate in response to a UAC prompt (without a password being needed). This avoids the hassles of a non-admin account, but is secure (so long as the user grants elevation only when he is sure it is safe to do so).

Richard.
Re: LB Help files in CHM format
Post by joker on Oct 25th, 2015, 7:02pm

There was a shortcut in the Start menu, but created another one on the desktop and that was the trick to getting it to work.

Thanks, Richard!