Dynamic form

  • 19 years ago

    I am doing the project like yahoo messanger.


    I have a problem during send messages from one machine to another machine,


    for each user ,
    First time he send message to my machine I want to open new window.
    next time he send message to my machine, I suppose to append that message to existing window.


    If diff. user send message to my machine I want to open another window for him.


    and so on.


    How can I do like this.


    I tried with different options. But gives problem.


    I used the code as follows.
                   dim frm as frmchating
          'frmchating is existing original form name                   selForm = RecieversID
                   Set frm = Forms.Add(selForm)
                   If Not isLoaded(frm) Then
                       frm.Show ownerform:=Me
                   End If
    In this case each time new window is open. How to avoid this.


    Thanks.


    My email ID is [email protected]





  • 19 years ago

    Sorry - this is the Mr. admin ;-) Did you deliberately repeat the text in your message, or is it a bug in this forum?

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” - Brian Kernighan