Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

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
0
BILAL69
Asked:
BILAL69
1 Solution
 
c0ldfyr3Commented:
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

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now