Click to See Complete Forum and Search --> : Instances of forms
markwestcott
Jan 2nd, 2000, 04:55 PM
Hi. I wonder if anyone can help. One of my projects at the moment is making a little task reminder, that pops up at certain times telling me what to do. I want to have one form containing the pop ups, but I want the program when it is being executed make another instance of this form. Is this possible?
Sure you can add this code to a commandbutton called Command1 and add a form called frmPopup
Example:
Private Sub Command1_Click()
Dim frmNew As Form
Set frmNew = New frmPopup
frmNew.Show
End Sub
------------------
Vincent van den Braken
EMail: azzmodan@azzmodan.demon.nl
ICQ: 15440110 (http://www.icq.com/15440110)
Homepage: http://www.azzmodan.demon.nl
markwestcott
Jan 3rd, 2000, 01:12 AM
Great. Thanks a lot.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.