home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,820 of 10,840   
   Auric__ to Henry Wilson   
   Re: PLaying sound.   
   07 Mar 10 18:45:09   
   
   From: not.my.real@email.address   
      
   On Sun, 07 Mar 2010 11:35:26 GMT, Henry Wilson wrote:   
      
   > I want to write a VB6 program that allows me to play a short sound when   
   > I click a form. The file will have been previously created and stored as   
   > a file.   
   >   
   > Is this possible ? If so, is there a limitation on what kind of files   
   > can be played?   
   >   
   > 'Help' is very vague on this. I cannot seem to do it using 'sound.note'   
   > and 'sound.play'...I just get error messages.   
      
   Look into the sndPlaySound API. MSDN info:   
     http://msdn.microsoft.com/en-us/library/aa909803.aspx   
      
   --   
   I don't have an attitude problem. You have a perception problem.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca