Click here to Skip to main content
15,915,509 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionOrganization Chart in vb 6 Pin
Ayat Setiawan26-Dec-17 21:45
Ayat Setiawan26-Dec-17 21:45 
AnswerRe: Organization Chart in vb 6 Pin
Richard MacCutchan26-Dec-17 22:38
mveRichard MacCutchan26-Dec-17 22:38 
AnswerRe: Organization Chart in vb 6 Pin
Dave Kreskowiak27-Dec-17 4:43
mveDave Kreskowiak27-Dec-17 4:43 
QuestionOrganization Chart in vb 6 Pin
Ayat Setiawan26-Dec-17 21:45
Ayat Setiawan26-Dec-17 21:45 
Questionconnection string Pin
Member 1359500326-Dec-17 11:10
Member 1359500326-Dec-17 11:10 
AnswerRe: connection string Pin
Dave Kreskowiak26-Dec-17 18:24
mveDave Kreskowiak26-Dec-17 18:24 
AnswerRe: connection string Pin
Eddy Vluggen26-Dec-17 21:30
professionalEddy Vluggen26-Dec-17 21:30 
Questionhow to rectify class not support error in vb6 at win 7 Pin
Afarook Abdul Majeed22-Dec-17 17:32
Afarook Abdul Majeed22-Dec-17 17:32 
AnswerRe: how to rectify class not support error in vb6 at win 7 Pin
Peter_in_278022-Dec-17 19:06
professionalPeter_in_278022-Dec-17 19:06 
AnswerRe: how to rectify class not support error in vb6 at win 7 Pin
Richard Deeming8-Jan-18 6:08
mveRichard Deeming8-Jan-18 6:08 
QuestionLoad Report Failed Error show while direct printing crystal report vb.net(Not Every Time) Pin
rttech3121-Dec-17 9:36
rttech3121-Dec-17 9:36 
QuestionVB Searching for data displayed in datagrid/textbox using customer second name Pin
faiqaa20-Dec-17 0:31
faiqaa20-Dec-17 0:31 
AnswerRe: VB Searching for data displayed in datagrid/textbox using customer second name Pin
Richard MacCutchan20-Dec-17 1:25
mveRichard MacCutchan20-Dec-17 1:25 
QuestionBarcode Pin
Member 1358540419-Dec-17 11:08
Member 1358540419-Dec-17 11:08 
AnswerRe: Barcode Pin
Richard MacCutchan19-Dec-17 22:03
mveRichard MacCutchan19-Dec-17 22:03 
AnswerRe: Barcode Pin
David Mujica21-Dec-17 3:22
David Mujica21-Dec-17 3:22 
AnswerProblem with changing property value from attributes panel:Solved Pin
mo149219-Dec-17 4:06
mo149219-Dec-17 4:06 
QuestionUsing visual basic code with telnet.exe/cmd.exe Pin
Member 1358117317-Dec-17 8:16
Member 1358117317-Dec-17 8:16 
AnswerRe: Using visual basic code with telnet.exe/cmd.exe Pin
Richard MacCutchan17-Dec-17 21:26
mveRichard MacCutchan17-Dec-17 21:26 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Member 1358117318-Dec-17 3:26
Member 1358117318-Dec-17 3:26 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Richard MacCutchan18-Dec-17 4:36
mveRichard MacCutchan18-Dec-17 4:36 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Member 1358117318-Dec-17 5:34
Member 1358117318-Dec-17 5:34 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Dave Kreskowiak18-Dec-17 5:50
mveDave Kreskowiak18-Dec-17 5:50 
No, he was referring to the full path for Telnet, which is "C:\Windows\System32\Telnet.exe".

Also, using SendKeys is not recommended. What if the user clicks another window or the system pops up a dialog from something else in the middle of all those key strokes you're sending? Bad things will happen.

The better way to do it would be to redirect the Input stream of the CMD Process you launched and write your data to the stream instead.

System.ItDidntWorkException: Something didn't work as expected.

C# - How to debug code[^].
Seriously, go read these articles.

Dave Kreskowiak

GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Member 1358117318-Dec-17 7:31
Member 1358117318-Dec-17 7:31 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Dave Kreskowiak18-Dec-17 8:07
mveDave Kreskowiak18-Dec-17 8: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.