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

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

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 ?
0
BILAL69
Asked:
BILAL69
  • 3
  • 3
  • 2
3 Solutions
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
0
 
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
Industry Leaders: 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!

 
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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