Click here to Skip to main content
15,899,679 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionhow to use visual studio 2008 to send network packets to database Pin
that_dude_tj6-Nov-09 6:59
that_dude_tj6-Nov-09 6:59 
AnswerRe: how to use visual studio 2008 to send network packets to database Pin
#realJSOP7-Nov-09 1:47
professional#realJSOP7-Nov-09 1:47 
GeneralRe: how to use visual studio 2008 to send network packets to database Pin
that_dude_tj8-Nov-09 13:29
that_dude_tj8-Nov-09 13:29 
GeneralRe: how to use visual studio 2008 to send network packets to database Pin
that_dude_tj17-Nov-09 5:14
that_dude_tj17-Nov-09 5:14 
GeneralRe: how to use visual studio 2008 to send network packets to database Pin
#realJSOP17-Nov-09 5:25
professional#realJSOP17-Nov-09 5:25 
Questionstrange "module could not be found error" [modified] Pin
invader826-Nov-09 1:24
invader826-Nov-09 1:24 
AnswerRe: strange "module could not be found error" Pin
Shameel6-Nov-09 4:34
professionalShameel6-Nov-09 4:34 
Questionvb.net code related to speech recognition Pin
pooja_chande6-Nov-09 1:19
pooja_chande6-Nov-09 1:19 
Public Class Form1
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Dim totaldata As String
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
totaldata = "[Grammar]" & vbCrLf & "langid = 1033" & vbCrLf & "type = cfg" & vbCrLf & "[<start>]" & vbCrLf & "<start>= Internet" & vbCrLf & "<start>= Notepad" & vbCrLf
AxDirectSR2.Deactivate()
AxDirectSR2.GrammarFromString(totaldata)
AxDirectSS1.Speak("HI ANUJA")
AxDirectSR2.Activate()
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
textbox1.text = "hi"
End Sub

Private Sub AxDirectSR2_PhraseFinish(ByVal sender As Object, ByVal e As AxACTIVELISTENPROJECTLib._DirectSREvents_PhraseFinishEvent) Handles AxDirectSR2.PhraseFinish
#If def_DirectSR2_PhraseFinish Then

Dim sFile As String

Dim noth As Long
'AxDirectSR1.get_Phrase(ActiveForm)
Phrase = "Internet"

Select Case Phrase


Case "Internet"
sFile = "C:\Program Files\Internet Explorer\iexplore.exe"
noth = Shell(sFile, 1)
Case "Firefox"
sFile = "C:\Program Files\Mozilla Firefox\firefox.exe"
noth = Shell(sFile, 1)
Case "Notepad"

sFile = "\system32\notepad.exe"

noth = ShellExecute(0, "OPEN", Environ("SystemRoot") & sFile, "", "", 1)

End Select
#End If
End Sub
End Class






I want to open internet explorer through voice. I bulid prog for dat but In this prog control is not gong to the Phrase_Finish event of AxDirectSR2.can you check this code
AnswerRe: vb.net code related to speech recognition Pin
Shameel6-Nov-09 4:33
professionalShameel6-Nov-09 4:33 
AnswerRe: vb.net code related to speech recognition Pin
amitk_1892-Apr-10 0:41
amitk_1892-Apr-10 0:41 
QuestionDataGridViewComboBoxColumn not showing the contents Pin
sachinkalse5-Nov-09 21:37
sachinkalse5-Nov-09 21:37 
QuestionText position in a richtextbox Pin
lbs.allies5-Nov-09 17:31
lbs.allies5-Nov-09 17:31 
QuestionExchange 2003 Sink written with Visual Studio 2008 Pin
Craig Henderson Qvai5-Nov-09 7:30
Craig Henderson Qvai5-Nov-09 7:30 
AnswerRe: Exchange 2003 Sink written with Visual Studio 2008 Pin
Richard MacCutchan6-Nov-09 0:00
mveRichard MacCutchan6-Nov-09 0:00 
QuestionMy old VC++ 6.0 multi-threadingprogram doesnt work on PC with .NET 2.0 (maybe due thread safe) Pin
rudozkv_new4-Nov-09 5:04
rudozkv_new4-Nov-09 5:04 
AnswerRe: My old VC++ 6.0 multi-threadingprogram doesnt work on PC with .NET 2.0 (maybe due thread safe) Pin
Richard MacCutchan4-Nov-09 5:13
mveRichard MacCutchan4-Nov-09 5:13 
Questioncan't install .NET 1.1 Pin
ed welch4-Nov-09 0:06
ed welch4-Nov-09 0:06 
AnswerRe: can't install .NET 1.1 Pin
Not Active4-Nov-09 2:35
mentorNot Active4-Nov-09 2:35 
AnswerRe: can't install .NET 1.1 Pin
Luc Pattyn4-Nov-09 2:41
sitebuilderLuc Pattyn4-Nov-09 2:41 
AnswerRe: can't install .NET 1.1 Pin
Mark Salsbery4-Nov-09 7:50
Mark Salsbery4-Nov-09 7:50 
GeneralRe: can't install .NET 1.1 Pin
ed welch6-Nov-09 0:00
ed welch6-Nov-09 0:00 
Question"unable to connect to mail server" Pin
desaishivang3-Nov-09 19:30
desaishivang3-Nov-09 19:30 
AnswerRe: "unable to connect to mail server" Pin
Pete O'Hanlon3-Nov-09 21:41
mvePete O'Hanlon3-Nov-09 21:41 
AnswerRe: "unable to connect to mail server" Pin
Simon_Whale5-Nov-09 3:11
Simon_Whale5-Nov-09 3:11 
QuestionLanguage selection : C# or vb.net Pin
Jaydev.A3-Nov-09 10:01
Jaydev.A3-Nov-09 10:01 

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.