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

Call or Return to a Dialog in vbScript Cust. Act.


1 reply to this topic

Superfreak3

Superfreak3
  • Full Members
  • 437 posts

Posted 18 April 2006 - 21:32

I have a dialog where a registration code is entered. From the Next button, a vbScript runs to parse the code and first determines if it is formated properly.

If not, I would like to terminate the vbscript and return to the same registration code entry dialog which initially called the parsing script.

Is this possible within the vbScript?

Any help is greatly appreciated.

Superfreak3

Superfreak3
  • Full Members
  • 437 posts

Posted 25 April 2006 - 19:56

I was making this way more difficult than it had to be....

I simply called the ReadyToInstall dialog only if a valid code was entered. On the Next button of the RegEntry dialog, I simply kicked off the script and presented messages if an invalid code was entered. Since I only call the RtoI dialog upon success, the user now must repeatedly re-enter the code.