Shoutbox

VB Open Form - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: VB Open Form (/showthread.php?tid=12884)

VB Open Form by Dempsey on 07-12-2003 at 07:40 PM

I'm making a VB plugin and i would like to know how to show a form, with options, as in the WMP plugin (sorry i cant rememeber who made it).


RE: VB Open Form by Choli on 07-12-2003 at 09:35 PM

add a form to the project and put the controls you want in it. then from where you want that form to be opened put

code:
load form1 'or whatever you called your form
form1.show

that's all ;)
RE: VB Open Form by Dempsey on 07-12-2003 at 09:44 PM

ok cheers.  i didnt realise it was that easy. 


RE: RE: VB Open Form by mey32 on 07-12-2003 at 09:46 PM

quote:
Originally posted by Choli
add a form to the project and put the controls you want in it. then from where you want that form to be opened put
code:
load form1 'or whatever you called your form
form1.show

that's all ;)


That didn't work for me use this ;)

form1.Show vbModal, Screen.ActiveForm

RE: VB Open Form by Choli on 07-12-2003 at 10:08 PM

yes, that deppends if you want your form to be modal or not