Problems with running ADM1 code in Architect

Posted by Tung on 11-Jun-2010 07:02

We've recently started to use Architect 10.2B. I've created a .NET version of our main screen and I want it to run our current 9.1D ADM1 programs. Once that works, we'll convert them to .NET forms one at a time.

I can run the ADM1 code but with a few problems.

1. The windows aren't visible if run persistently [solved]

The ADM1 windows have their HIDDEN attribute ticked on the property sheet but the strange thing is they're visible if I run them non-persistently. I want to run them persistently because that's how they're run now and I need to use "SET lv-hdl" so I can make the .NET form its parent.

This bit was solved with

                IF CAN-DO(lv-hdl:INTERNAL-ENTRIES, "dispatch") AND lv-run-persistent THEN
                    RUN dispatch IN lv-hdl ("initialize").

2. The windows are smaller so scrollbars appear.

3. I get a "Font is missing 4499" error. [solved]

I thought I fixed this by adding our ini file to the project's startup parameters. But it's not being used so instead I added/edited the registry and it's okay now.

Thanks in advance.

All Replies

Posted by Tung on 22-Sep-2010 09:07

Problem 2 was solved by running the INI2REG utility.

This thread is closed