Click here to Skip to main content
15,892,059 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
GeneralRe: Using visual basic code with telnet.exe/cmd.exe Pin
Eddy Vluggen18-Dec-17 15:31
professionalEddy Vluggen18-Dec-17 15:31 
QuestionHow to do syntactic analysis on words Pin
Onuche Abraham DaCatalyst16-Dec-17 18:38
Onuche Abraham DaCatalyst16-Dec-17 18:38 
SuggestionRe: How to do syntactic analysis on words Pin
Richard MacCutchan16-Dec-17 21:02
mveRichard MacCutchan16-Dec-17 21:02 
QuestionHow to refresh design area Pin
mo149211-Dec-17 1:08
mo149211-Dec-17 1:08 
AnswerRe: How to refresh design area Pin
Dave Kreskowiak13-Dec-17 2:17
mveDave Kreskowiak13-Dec-17 2:17 
SuggestionRe: How to refresh design area Pin
Ralf Meier14-Dec-17 0:50
mveRalf Meier14-Dec-17 0:50 
GeneralRe: How to refresh design area Pin
mo149214-Dec-17 3:35
mo149214-Dec-17 3:35 
GeneralRe: How to refresh design area Pin
Ralf Meier14-Dec-17 23:17
mveRalf Meier14-Dec-17 23:17 
GeneralRe: How to refresh design area Pin
mo149215-Dec-17 6:59
mo149215-Dec-17 6:59 
AnswerRe: How to refresh design area Pin
Ralf Meier16-Dec-17 22:19
mveRalf Meier16-Dec-17 22:19 
AnswerRe: How to refresh design area Pin
Ralf Meier16-Dec-17 23:45
mveRalf Meier16-Dec-17 23:45 
GeneralRe: How to refresh design area Pin
mo149217-Dec-17 4:51
mo149217-Dec-17 4:51 
PraiseRe: How to refresh design area Pin
mo149217-Dec-17 11:59
mo149217-Dec-17 11:59 
GeneralRe: How to refresh design area Pin
Ralf Meier17-Dec-17 20:44
mveRalf Meier17-Dec-17 20:44 
AnswerRe: How to refresh design area Pin
Ralf Meier14-Dec-17 1:46
mveRalf Meier14-Dec-17 1:46 

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.