1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Development [VB] Couple of questions i need your help on

Discussion in 'Software' started by cfuk, 20 Dec 2004.

  1. cfuk

    cfuk What's a Dremel?

    Joined:
    9 Jul 2004
    Posts:
    711
    Likes Received:
    0
    We been asked to make a little christmas card in vb6 and i've got most of it working, but there are two parts that i need to sort.

    1.) I have snow moving down the screen, but i need it to hit the bottom of the form and restart again at the top, so it looks like the snow never stops

    2.) How do i get music to play in the back ground? i've not been shown this, so it's new to me.

    I would be very greatful if you could help :)

    Thanks :)
     
  2. TheAnimus

    TheAnimus Banned

    Joined:
    25 Dec 2003
    Posts:
    3,214
    Likes Received:
    8
    Are you using direct-x?
     
  3. cfuk

    cfuk What's a Dremel?

    Joined:
    9 Jul 2004
    Posts:
    711
    Likes Received:
    0
    i've not got up to that sort of stuff yet :(
     
  4. TheAnimus

    TheAnimus Banned

    Joined:
    25 Dec 2003
    Posts:
    3,214
    Likes Received:
    8
    well how are u drawing the snow? surely detecting when y > me.height is easy?

    playing music, if its an mp3, use a mediaplayer active x component, if its just a wave, use PlaySound api.
     
  5. cfuk

    cfuk What's a Dremel?

    Joined:
    9 Jul 2004
    Posts:
    711
    Likes Received:
    0
    i've got the snow falling, but i need it to loop around. I can get one bit of the snow to loop over, but not the rest.

    As for the music what code do i need?
     

Share This Page