Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

UI CustomAction in CustomDialog designed in Orca


4 replies to this topic

hemanthyours

hemanthyours
  • Full Members
  • 7 posts

Posted 27 March 2008 - 07:51

I created few custom dialogs from the standard visualstudiodialogs using ORCA. I was able to design dialogs with combination of controls.
My requirement is to test the database connection by clicking the test button on a dialog which contains the Server, UserID, Password and Port Edit fields.

Can we execute methods based on UI action on a dialog. If so how.
The UI looks as in the attached image.

Please help me in this.
Thank in advance.

Thank you,

Hemanth Kumar Gunnam
Misys Software Solutions
hemanthyours@gmail.com



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 April 2008 - 14:16

You can call a custom action from a dialog button using the DoAction event.

hemanthyours

hemanthyours
  • Full Members
  • 7 posts

Posted 02 April 2008 - 16:52

QUOTE (Stefan Krueger @ 2008-04-01 14:16)
You can call a custom action from a dialog button using the DoAction event.

I added a control event DoAction with argument as a custom action name.
In the custom action table i added the type as 1 i.e for calling a binary.
I created an assembly using c#. I was trying to call the method in that assembly when i click on the test button. But when i click it its throwing an error that a dll is required.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 April 2008 - 23:29

Type 1 is a DLL which exports a function, not an assembly.

hemanthyours

hemanthyours
  • Full Members
  • 7 posts

Posted 15 April 2008 - 08:41

QUOTE (Stefan Krueger @ 2008-04-05 23:29)
Type 1 is a DLL which exports a function, not an assembly.

Thank you very much