Hi... I want the main form of my VB application to be a modal dialog box of other window. How can I do it?
Thanks
Jaime
Printable View
Hi... I want the main form of my VB application to be a modal dialog box of other window. How can I do it?
Thanks
Jaime
yourdialog.Show vbModal
Hi..
And I have to place it in Form_Load() method?. How can I specify which window is the parent? I want to make the Main form as Modal... that's my problem... the goal is to pass in the command line the Handle of the window that has executed the VB application, so the Form will be shown as a dialog box of that application. Tha VB application is intended to be called from other program.
Thanks
Jaime
Ok, we're getting closer.
You want to make your main form a modal dialog of another app?
That cannot be done IMHO. At least, there is no easy way that I know of.
You'd have to create an ActiveXDLL.
All "modal" forms in VB are Application-modal.