How shall i do this in vb6 ?

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 ?
LVL 2
BILAL69Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike TomlinsonMiddle School Assistant TeacherCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BILAL69Author Commented:
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
Mike TomlinsonMiddle School Assistant TeacherCommented:
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
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

BILAL69Author Commented:
thats ok but it keeps coming on the same place.. all the forms
0
Mike TomlinsonMiddle School Assistant TeacherCommented:
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
Guy Hengel [angelIII / a3]Billing EngineerCommented:
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
BILAL69Author Commented:
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
Guy Hengel [angelIII / a3]Billing EngineerCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.