Solved

How shall i do this in vb6 ?

Posted on 2009-07-04
11
172 Views
Last Modified: 2012-05-07
can anyone write a code or  find me a code like yahoo messenger & msn messenger shows when someone come online . a window comes up from taskbar and goes after a certain interval ?
0
Comment
Question by:BILAL69
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
11 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 400 total points
ID: 24777226
0
 
LVL 2

Author Comment

by:BILAL69
ID: 24777923
thats quite good but isnt it possible like yahoo and msn.. like if one form is open and another message comes again then it goes again on top somethign like this :-?
0
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 24778123
I don't have VB6 on my machines anymore so I can't code up anything concrete for you...

...do you want the new message to replace the existing one?...or should they stack?  (I don't use messaging systems)

You can create multiple instances of Form2:
 
    Dim f2 As New Form2

Then move the Timer code into Form2 itself...  (instead of driving Form2 from within Form1)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:BILAL69
ID: 24779890
thats ok but it keeps coming on the same place.. all the forms
0
 
LVL 86

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 400 total points
ID: 24780245
Add a variable in a Module to keep track of the number of OPEN popups and use that to adjust the position of the current popup form...
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 24842760
hmmm.

you should start here by posting the relevant code you have.
idle_mind tried to give the good method, but what is the problem you have, now?
0
 
LVL 2

Author Comment

by:BILAL69
ID: 24860660
Actually that code is good but it shows only 1 form at a time next what i want is  It pop ups multiple forums on the top of the previous opened pop up
0
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 100 total points
ID: 24863155
please post the code you have.

it will need what idle_mind indicated:
>Add a variable in a Module to keep track of the number of OPEN popups and use that to adjust the position of the current popup form...

means: keep a open_popup_counter.
if top of the first form is "height of screen" - "height of form", it is actually generalized into

top of the nth form is "height of screen" - ( n * "height of form")

0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

728 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