Multiple PM Windows

i am creating a chat client in which peoples can send pms to another.. but i am unable to open multiple pm windows
LVL 2
BILAL69Asked:
Who is Participating?
 
c0ldfyr3Connect With a Mentor Commented:
You need to create a new instance of your form instead of loading the same form over and over again.

Try this...

Dim oForm as Form
Set oForm = New frmPM 'Change frmPM to your form name'
Load oForm
'Do some stuff here to tell it apart from the others.'
oForm.Show

Open in new window

0
 
BILAL69Author Commented:
Thanks for the help
0
All Courses

From novice to tech pro — start learning today.