CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Join Date
    Oct 2012
    Posts
    59

    Re: How to add midi sound in vb6

    Quote Originally Posted by jggtz View Post
    Are you waiting that the program play all the midi file?
    Are you trying to stop it?
    Test with a shorter file
    I think both. With your posted program when i play and try stop, then program say error - not respond. In my program i just tested with two sounds and continue aries and taurus line. When i try it plays aries sound but then program stopt and no respond before i had a chance lisin taurus sound. My sound start play from calculation answer in date.

  2. #17
    Join Date
    Jul 2005
    Posts
    1,083

    Re: How to add midi sound in vb6

    So, it's neccesary to let the program to finish the playing

    Test your program :
    -type a birth date from aries
    -let the program plays ALL the midi file for aries until it finish
    -post how was it
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  3. #18
    Join Date
    Oct 2012
    Posts
    59

    Re: How to add midi sound in vb6

    Quote Originally Posted by jggtz View Post
    So, it's neccesary to let the program to finish the playing

    Test your program :
    -type a birth date from aries
    -let the program plays ALL the midi file for aries until it finish
    -post how was it
    Its same. I give up. I think i just add 1 sound, and that sound play when start program, lets say whe i push "on" button and when i turn off program that sound stops.So can you help me with 1 sound?

  4. #19
    Join Date
    Jul 2005
    Posts
    1,083

    Re: How to add midi sound in vb6

    Well, this is just one solution i've found
    Let's look for another solution that plays midi files and try it
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  5. #20
    Join Date
    Oct 2012
    Posts
    59

    Re: How to add midi sound in vb6

    Quote Originally Posted by jggtz View Post
    Well, this is just one solution i've found
    Let's look for another solution that plays midi files and try it
    Agreed . But that sound must be added to vb, not opened from my computer, because when i done my program i put in another pc ant tested. If sound code must be open file from location then in another pc sound dont play because that file not be in second pc.

  6. #21
    Join Date
    Jul 2005
    Posts
    1,083

    Re: How to add midi sound in vb6

    When you finish your project the next step is to build a package to distribute your application
    And is in that moment that we add all the files the project need, as in this case, the midi files
    So when somebody install your application in his pc also install the midi files
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  7. #22
    Join Date
    Oct 2012
    Posts
    59

    Re: How to add midi sound in vb6

    Quote Originally Posted by jggtz View Post
    When you finish your project the next step is to build a package to distribute your application
    And is in that moment that we add all the files the project need, as in this case, the midi files
    So when somebody install your application in his pc also install the midi files
    Ok, but this in the end, right now i need 2 things:

    1- how to simple add png files.

    2- and how remove backround. I think this problem solves when i add png picture. Right now is a simple jpeg file. You can see in this picture what all about.

    Last edited by Halosar7; October 11th, 2012 at 06:13 PM.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured