Clarion News

Clarion Product News

<May 2007>
SuMoTuWeThFrSa
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

Navigation

Subscriptions

Vista and Clarion 6

If you are using Clarion 6 with Vista, or plan to, there are only two issues that will annoy you, and both are easily resolved.

The issues are:

1. Text or Buttons on some IDE windows are clipped if you are using the Vista Aero style.

2. The Windows Help (WinHlp32.exe) program is no longer included with Windows operating systems starting with Windows Vista

The first issue is very easy to handle. The issue of clipped text is a direct effect of the default border padding used with the Aero style.

Here is what you need to do:

1. Open the Control Panel
2. Open the Appearance and Personalization section.
3. Click on the Personalization section.
4. In Personalization, select Window Color and Appearance
5. Towards the bottom of the screen text, click on the Open classic appearance properties for more color options option.
6. With Windows Aero scheme selected, click Advanced
7. In the Item dropdown list , select Border Padding.  This will be set to 4 by default. Set it to either 0 or 1, and save your changes.

When you next start Clarion, things should look a lot better. For example:

Now let’s tackle the second issue; getting Help accessible from within the IDE.  Microsoft has recently released an update to their WinHLP32.EXE program; you can download the install from this link:
http://go.microsoft.com/fwlink/?LinkID=82148

After you download and run the install you'll be able to access help from with the IDE, but you'll find you get this error popping up every time you press F1:

"There was a problem running the macro (1037)"

And you’ll have to press the OK button to continue.  Also when the Help file does open you'll find the Help Topics button is non-functional.  This is all expected behavior as you'll find described here: http://support.microsoft.com/kb/917607

The same page describes some Registry edits you can do to make Help fully functional, but with some searching on the MS newsgroups and forums; we found there is another workaround to the problem. You can use the Windows XP version of WinHLP32.EXE to take full advantage of the Clarion 6 Help in Vista. The steps to implement this are fairly simple:

You will need to temporarily turn off UAC and be logged in on an Administrator account to do this. The UAC option is found in the User Accounts section of the Control Panel.

1. Get a copy of the winhlp32.exe from XP. Be sure you get the file from the C:\Windows root directory, not the one in C:\Windows\System32, and copy it on to a thumb drive or network share.
2. On your Vista machine open the C:\Windows directory and locate winhlp32.exe.
3. Right click on winhlp32.exe and select Properties.
4. Select the Security tab.
5. Click on the Advanced button.
6. Select the Owner tab and then click the Edit button. Choose a user from the list to take over ownership of the file (you can't edit the permissions until you have ownership).
7. Once you take ownership, you will have to apply and accept the changes, Vista will warn you that you’re changing a system file, click OK, and then close the Properties dialog.
8. Re-open the Properties dialog, navigate back to the Security tab then click on the Advanced button.
8. Select the 'user' who now owns the winhlp32.exe file, and then click the Edit button, and check the Full Control checkbox to grant full control permissions.
9. Apply your changes.
10. Rename the Vista version of the winhlp32.exe file to something like winhlp32Vista.exe
11. Copy the XP version of the winhlp32.exe file into the Vista Windows directory
12. You can now turn UAC back on (as desired)

(Originally posted by Larry Kuderick in the microsoft.public.windows.vista.general forum)

After performing the steps above, here is a screen shot of my help file in Vista:

In addition to the above tweaks, you will soon see in Clarion 6.3 9056 built-in support for Vista manifest options. This includes control for Vista execution levels and setting requirements for UI Access.

posted on Thursday, May 03, 2007 11:17 AM by Bob Foreman

# re: Vista and Clarion 6 @ Friday, May 04, 2007 7:00 AM

Bob,

I just wanted to say thank you very much for posting this information.

Kelly E Major

# re: Vista and Clarion 6 @ Friday, May 04, 2007 12:29 PM

Bob,

Nice tip! Thank you. Just to let you know, I managed to get this to work without touching UAC (I'm leave mine on).

Will C6 ever support any of the safer help formats or is that just for C7 and beyond? Just curious.

Russ Eggen

Russell Eggen

# re: Vista and Clarion 6 @ Tuesday, May 08, 2007 9:08 AM

Bob:

It seems like this might be a good place to point out any other anomalies and solutions as they become known.

I have installed C6 on Vista using your instructions. At first I thought I had a problem and spent some time investigating. Eventually I found that others were seeing the same behavior:

The icon for C60EE.EXE and its shortcuts are displayed as a generic icon and if you go to the shortcut in an attept to correct this and choose "Change Icon..." it will display an error dialog stating that C60EE.EXE contains no icons. As far as I can tell this doesn't cause any problems at all but it might save someone else the time of researching it.

Kelly E Major

# re: Vista and Clarion 6 @ Monday, May 14, 2007 8:28 AM

Issue: When registering a template the file dialog presented defaults to showing only file types of TXA. It should default to TPL.

Workaround: Change the file type to display in the select file dialog from .TXA to .TPL.

Kelly E Major

# re: Vista and Clarion 6 @ Tuesday, May 29, 2007 6:20 AM

Kelly, I can't seem to duplicate this Template Registry issue in 9056. Tested with UAC on and off.

Bob Foreman

Powered by Community Server, by Telligent Systems