Solved

Multiple PM Windows

Posted on 2008-10-16
2
224 Views
Last Modified: 2010-04-30
i am creating a chat client in which peoples can send pms to another.. but i am unable to open multiple pm windows
0
Comment
Question by:BILAL69
2 Comments
 
LVL 10

Accepted Solution

by:
c0ldfyr3 earned 500 total points
ID: 22731032
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
 
LVL 2

Author Closing Comment

by:BILAL69
ID: 31506663
Thanks for the help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now