Haven't seen that (glad, I am).
The message seems to come from the UltraGrid-Wizzard. If you move away the Wizzard (if it opened) and the Exception Dialog, do you see the grid on the design canvas or not?
If everything goes right, you should see the grid under the wizzard.
In any case, I'd open a call with tech-support.
Does the component itself still works?
QueryBinding.p should give you a sports2000.Customer grid...
Nope, I get a nasty looking message. See attached.
Ooooohhhh that's interesting. On a whim I decided to start a new workbench (new directory). Created new project, new form
Added Ultragrid. It appeared, no problems.
So, there must be a problem somewhere with the .metadata in my original project.
* jmls goes a'hunting
Ok, fixed the problem ! Yay who needs tech support ??
I deleted my assemblies.xml and toolbox.xml files and restarted OEA.
It all works now.
There must have been something borked in them. Dammit, didn't save them either for tech support to have a look at.
Oh well.
* jmls starts coding again.
Wife! more beer !
Hhmm, I think I got the same message at some point... I think when I ran the procedure in a new procedure editor next to OE Architect... Ah well...
Makes sense! Then you probably ended with running the .NET WAIT-FOR (WAIT-FOR System.Windows.Forms.Application:Run) while the code is resting in a WAIT-FOR some ABL widget/event (the procedure editor window).
This has been discussed during the TP releases a couple of times. You should only be using .NET Controls from within that .NET WAIT-FOR. I guess somebody from PSC can shed some light on the status of this issue. If I remember correctly, the plan was to introduce an error message when the code runs in such constellation.
For that reason it's so important to start your migration with the main menu screen. From my point of view, this is an acceptable limitation.
yah, all I did was paste the code into a procedure editor run from the "procedure editor" button in OEA.
Can't see why that should be a problem..
When I copy/paste the code in a new procedure editor I'm getting:
Invalid datatype specified: UltraGrid. Specify a datatype such as 'character' or the name of a class. (5638)
Could not understand line 12. (196)
USING Infragistics.Win.UltraWinGrid.*.
DEFINE VARIABLE rCustGrid AS UltraGrid NO-UNDO.
Any idea why Infragistics.Win.UltraWinGrid.UltraGrid cannot be found?
Is infragistics in your assembly.xml file ?
My assembly.xml file.........
Hold on, I think this is the right moment to RTM...
Simon,
A new procedure editor (I assume started from the command line or from the start menu shortcut) won't have the needed assembly references to use the Infragistics stuff. You'll need to create yourself custom shortcut that has the -assemblies parameter specified. Check the docs for usage.
You can build an assemblies.xml file outside of OEA using the ProAsmRef.exe tool in the install/bin directory.