I installed C10 on a new Win 11 pro machine and everything was working properly.
I went to format a window (Ctrl+D) and the window had some old code in it that used an equate in the NAME() attribute of the Application. Instead of having a string in the code I had an equate instead. See code example below.
I can no longer press Ctrl+D since Clarion errors out on any format of a window (Ctrl+D).
I have uninstalled Clarion and reinstalled to no avail. Any other ideas you can throw my way to get C10 to format windows?
Prior to formatting this code, Ctrl+D did work properly. I have seen this before I think. The only other thing I am thinking is that something in the windows registry is screwed up.
I think the issue will likely be with the ClarionProperties.xml in the configuration directory.
Go to Tools->Open Configuration Directory in the IDE.
Close the IDE
rename the Config folder from 10.0 to some like 10.0Bad.
Restart the IDE, youâll need to enter your registration information again.
Does it open ok if you donât have the GHEADING Equate i.e. change to APPLICATION('This is my Menu as a Literal String') ?
If Yes then change it to be text APPLICATION('runtime = GHEADING')
then at runtime after the Open(Menu)
have code like Menu{PROP:Text}=GHEADING
Your ICON( âC:\Dev..â) has a Full Path. I prefer not to do that as it seems problem prone. I cannot recall all, but for one it makes it hard to move the code to a different machine. Instead you could add that Path for *.ico to your Default RED file, then just have ICON('HDC.Ico').
I succeeded in corrupting my âuserâ directory where the âClarionProperties.xmlâ files was located. My bad for changing the ârightsâ on the directory that would have allowed me to do the steps that Rick suggested.
Iâll have to reinstall windows now that I messed up the user directory. No big thing. It was a brand new development computer.
If I decide to redevelop my food banks software in Clarion (versus Microsoft Access) then I will get the cheapest current Clarion available and trash V10. It had many issues to it that have been fixed since then.
Youâre solution, Rick saved the day! Thanks Man!
Your right to point out those issues, Carl. I did an old âcopy and pasteâ source code from an old project to get it up and running without regard to embedded paths.
So, the moral of the story is never use an EQUATEâed string in place of the NAME attribute of a window or an application. The Window formatter has no idea what the EQUATEâed string is and blows up the system.
Once I restored windows and got my user directory cleaned up, C10 works like a champ!