Click here to Skip to main content
15,896,606 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Audio Storing in Data Base Pin
Luc Pattyn6-Sep-09 7:29
sitebuilderLuc Pattyn6-Sep-09 7:29 
AnswerRe: Audio Storing in Data Base Pin
Ray Cassick6-Sep-09 12:42
Ray Cassick6-Sep-09 12:42 
QuestionDate Refresh dont refresh ?? Pin
Bob Beaubien6-Sep-09 3:06
Bob Beaubien6-Sep-09 3:06 
AnswerRe: Date Refresh dont refresh ?? Pin
Luc Pattyn6-Sep-09 3:15
sitebuilderLuc Pattyn6-Sep-09 3:15 
GeneralRe: Date Refresh dont refresh ?? Pin
Bob Beaubien6-Sep-09 3:30
Bob Beaubien6-Sep-09 3:30 
QuestionCan´t maintain login session in manually edited webbrowser Pin
josemaloco6-Sep-09 1:35
josemaloco6-Sep-09 1:35 
AnswerRe: Can´t maintain login session in manually edited webbrowser Pin
εїзεїзεїз6-Sep-09 5:41
εїзεїзεїз6-Sep-09 5:41 
QuestionPress Enter key on command prompt in vb.net Pin
Gagan.205-Sep-09 23:55
Gagan.205-Sep-09 23:55 
Hi all

I am creating a program in which I am executing a bach file, which requires a "Enter key" hit to execute, as below :

Dim prc As New Process
            
With prc.StartInfo
.FileName = "e:\abc.bat" 'batchfile to execute
.UseShellExecute = False
.RedirectStandardInput = True
End With

prc.Start()
prc.StandardInput.WriteLine("{enter}")
prc.Close()

Now the above code run successfully and it appears a command prompt window showing "e:\abc.bat" file is executing but the code
prc.StandardInput.WriteLine("{enter}")
is not redirecting enter key to completely execute the batch file.

How can I use "Enter key" hit on that command prompt window in vb.net.

Thanks.

Gagan
AnswerRe: Press Enter key on command prompt in vb.net Pin
Henry Minute6-Sep-09 0:24
Henry Minute6-Sep-09 0:24 
GeneralRe: Press Enter key on command prompt in vb.net Pin
Gagan.206-Sep-09 17:15
Gagan.206-Sep-09 17:15 
QuestionHide a mapped network drive Pin
Member 43651665-Sep-09 23:30
Member 43651665-Sep-09 23:30 
AnswerRe: Hide a mapped network drive Pin
Henry Minute6-Sep-09 0:32
Henry Minute6-Sep-09 0:32 
AnswerRe: Hide a mapped network drive Pin
Dave Kreskowiak6-Sep-09 11:33
mveDave Kreskowiak6-Sep-09 11:33 
QuestionPassing parameter values from one form to populate a datagridview on another form. Pin
jeshra2795-Sep-09 19:50
jeshra2795-Sep-09 19:50 
AnswerRe: Passing parameter values from one form to populate a datagridview on another form. Pin
Paramu19735-Sep-09 21:04
Paramu19735-Sep-09 21:04 
QuestionRight Click / Options Menu Pin
Member 43745425-Sep-09 16:17
Member 43745425-Sep-09 16:17 
AnswerRe: Right Click / Options Menu Pin
Mycroft Holmes5-Sep-09 22:30
professionalMycroft Holmes5-Sep-09 22:30 
GeneralRe: Right Click / Options Menu Pin
Member 43745426-Sep-09 9:07
Member 43745426-Sep-09 9:07 
GeneralRe: Right Click / Options Menu Pin
Mycroft Holmes6-Sep-09 12:52
professionalMycroft Holmes6-Sep-09 12:52 
QuestionUpdate Image In DataBase Pin
Viper20105-Sep-09 11:53
Viper20105-Sep-09 11:53 
AnswerRe: Update Image In DataBase Pin
Mycroft Holmes5-Sep-09 12:56
professionalMycroft Holmes5-Sep-09 12:56 
Questiontelephone number word generator Pin
rbjanaki5-Sep-09 9:35
rbjanaki5-Sep-09 9:35 
AnswerRe: telephone number word generator Pin
Christian Graus5-Sep-09 10:47
protectorChristian Graus5-Sep-09 10:47 
AnswerRe: telephone number word generator Pin
Henry Minute5-Sep-09 10:58
Henry Minute5-Sep-09 10:58 
AnswerRe: telephone number word generator Pin
rbjanaki6-Sep-09 11:01
rbjanaki6-Sep-09 11: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.