Progress wizards,
As the title suggests I'd like to run cls program I have created from an icon on my desktop. I've had a look how our current .w program is run and that scares me. I'd really appreciate any help you could throw my way.
Dez
The easiest way to get started is to start the .cls in question from your OpenEdge Architect debugger and examine the first program generated by OEA. It is called 'RunClass--something.p".
Hi Peter,
I'm not that familar with the debugger. Whereabouts in particular should I be looking for this information when I run the application?
Thanks, Dez
Ah found it, thanks!
would you mind to share your findings? as I havce the exact same question but can figure out how to?
Greetings!!
You can't. You need to create a (small) .p file.
DEFINE VARIABLE oForm AS <your form class> NO-UNDO . oForm = NEW <your form class> () . WAIT-FOR System.Windows.Forms.Application:Run (oForm) . CATCH err AS Progress.Lang.Error: MESSAGE err:GetMessage (1) VIEW-AS ALERT-BOX . END CATCH.
Thanks!!!
You rock! as always...