Click here to Skip to main content
15,913,114 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Printing with vb.net (Urgent) Pin
uktrips00711-Dec-05 23:16
uktrips00711-Dec-05 23:16 
AnswerRe: Printing with vb.net (Urgent) Pin
Briga12-Dec-05 1:37
Briga12-Dec-05 1:37 
GeneralRe: Printing with vb.net (Urgent) Pin
HemaRawat12-Dec-05 17:33
HemaRawat12-Dec-05 17:33 
QuestionTooltip for datagridview Pin
LongNguyen11-Dec-05 18:52
LongNguyen11-Dec-05 18:52 
AnswerRe: Tooltip for datagridview Pin
uktrips00711-Dec-05 21:02
uktrips00711-Dec-05 21:02 
QuestionRe: Tooltip for datagridview Pin
LongNguyen11-Dec-05 22:25
LongNguyen11-Dec-05 22:25 
QuestionSound Pin
Polymorpher11-Dec-05 17:57
Polymorpher11-Dec-05 17:57 
AnswerRe: Sound Pin
Briga11-Dec-05 22:40
Briga11-Dec-05 22:40 
Your question is rather vague: which framework version? What type of sound?

If you're using VB2005 and have a wav file then the easiest way is using the my.computer.audio.play reference. The official documentation explain it well (and it's really plain vanilla).
' Usage
My.Computer.Audio.Play(location)
My.Computer.Audio.Play(location ,playMode)
My.Computer.Audio.Play(data ,playMode)
My.Computer.Audio.Play(stream ,playMode)
' Declaration
Public Sub Play( _
   ByVal location As String _
)
' -or-
Public Sub Play( _
   ByVal location As String, _
   ByVal playMode As AudioPlayMode _
)
' -or-
Public Sub Play( _
   ByVal data As Byte(), _
   ByVal playMode As AudioPlayMode _
)
' -or-
Public Sub Play( _
   ByVal stream As System.IO.Stream, _
   ByVal playMode As AudioPlayMode _
)

GeneralRe: Sound Pin
Polymorpher13-Dec-05 15:42
Polymorpher13-Dec-05 15:42 
QuestionCreating windows service in vb.net Pin
tusar12311-Dec-05 17:40
tusar12311-Dec-05 17:40 
AnswerRe: Creating windows service in vb.net Pin
Steve Pullan11-Dec-05 17:46
Steve Pullan11-Dec-05 17:46 
Questionpassword setting ...for pocket pc Pin
eileenpp11-Dec-05 16:16
eileenpp11-Dec-05 16:16 
QuestionCommon Language Runtime Debugging Services(error) Pin
Mazitan11-Dec-05 15:43
Mazitan11-Dec-05 15:43 
AnswerRe: Common Language Runtime Debugging Services(error) Pin
Steve Pullan11-Dec-05 17:41
Steve Pullan11-Dec-05 17:41 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Mazitan12-Dec-05 13:24
Mazitan12-Dec-05 13:24 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Steve Pullan12-Dec-05 14:04
Steve Pullan12-Dec-05 14:04 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Mazitan12-Dec-05 14:38
Mazitan12-Dec-05 14:38 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Steve Pullan12-Dec-05 14:58
Steve Pullan12-Dec-05 14:58 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Mazitan12-Dec-05 15:06
Mazitan12-Dec-05 15:06 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Steve Pullan12-Dec-05 18:57
Steve Pullan12-Dec-05 18:57 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Mazitan13-Dec-05 15:09
Mazitan13-Dec-05 15:09 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Steve Pullan13-Dec-05 15:24
Steve Pullan13-Dec-05 15:24 
GeneralRe: Common Language Runtime Debugging Services(error) Pin
Mazitan14-Dec-05 10:23
Mazitan14-Dec-05 10:23 
Questiondatagrid Pin
ktpeterson11-Dec-05 13:49
ktpeterson11-Dec-05 13:49 
AnswerRe: datagrid Pin
Polymorpher11-Dec-05 18:07
Polymorpher11-Dec-05 18:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.