Click here to Skip to main content
15,891,423 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: executing linux commands remotely using ssh and storing command output locally using vb script Pin
Eddy Vluggen16-Sep-13 7:08
professionalEddy Vluggen16-Sep-13 7:08 
GeneralRe: executing linux commands remotely using ssh and storing command output locally using vb script Pin
superselector18-Sep-13 22:39
superselector18-Sep-13 22:39 
GeneralRe: executing linux commands remotely using ssh and storing command output locally using vb script Pin
superselector19-Sep-13 21:39
superselector19-Sep-13 21:39 
QuestionRetrieving Custom Attributes on Enumeration Members Pin
Dominick Marciano13-Sep-13 18:01
professionalDominick Marciano13-Sep-13 18:01 
AnswerRe: Retrieving Custom Attributes on Enumeration Members Pin
Eddy Vluggen15-Sep-13 2:18
professionalEddy Vluggen15-Sep-13 2:18 
QuestionVideo overlay and Full Screen Vb 6 Pin
Member 1027147112-Sep-13 23:14
Member 1027147112-Sep-13 23:14 
AnswerRe: Video overlay and Full Screen Vb 6 Pin
Eddy Vluggen15-Sep-13 2:27
professionalEddy Vluggen15-Sep-13 2:27 
QuestionTextbox keeps losing focus Pin
CJotaO12-Sep-13 3:32
CJotaO12-Sep-13 3:32 
I want to select all text in a textbox, so I coded the SelectAll() method inside the GotFocus event handler.

This did not work, so I inserted a breakpoint to try to find the problem and what I found is that after the execution of the SelectAll() instruction the LostFocus event is fired and the code within the LostFocus handler executed.

The same thing hapens when using the TAB key to go to the textbox. However in this case the text remains selected

Bottom line I want to select the all text in the text box after clicking the control.

I looked around and the MouseDown event does the trick. However if I try to move the insertion point by clicking with the mouse all the text is selected again. And that is not a desirable behavior for this program.

Any ideas? Thanks In Advance!
AnswerRe: Textbox keeps losing focus Pin
Dave Kreskowiak12-Sep-13 4:11
mveDave Kreskowiak12-Sep-13 4:11 
AnswerRe: Textbox keeps losing focus Pin
TnTinMn12-Sep-13 4:34
TnTinMn12-Sep-13 4:34 
GeneralRe: Textbox keeps losing focus Pin
CJotaO12-Sep-13 8:19
CJotaO12-Sep-13 8:19 
GeneralRe: Textbox keeps losing focus Pin
TnTinMn12-Sep-13 17:14
TnTinMn12-Sep-13 17:14 
GeneralRe: Textbox keeps losing focus Pin
CJotaO12-Sep-13 21:37
CJotaO12-Sep-13 21:37 
QuestionRetreive Data from sql server along with headers or column name Pin
ashu200112-Sep-13 1:24
ashu200112-Sep-13 1:24 
AnswerRe: Retreive Data from sql server along with headers or column name Pin
Dave Kreskowiak12-Sep-13 4:03
mveDave Kreskowiak12-Sep-13 4:03 
QuestionUsing Func(Of TResult) Delegate Pin
Dominick Marciano6-Sep-13 19:14
professionalDominick Marciano6-Sep-13 19:14 
AnswerRe: Using Func(Of TResult) Delegate Pin
TnTinMn7-Sep-13 3:39
TnTinMn7-Sep-13 3:39 
GeneralRe: Using Func(Of TResult) Delegate Pin
Dominick Marciano8-Sep-13 3:28
professionalDominick Marciano8-Sep-13 3:28 
GeneralRe: Using Func(Of TResult) Delegate Pin
TnTinMn9-Sep-13 15:57
TnTinMn9-Sep-13 15:57 
QuestionDisable/enable ctrl+alt+del buttons and autorun. Pin
Otekpo Emmanuel5-Sep-13 14:13
Otekpo Emmanuel5-Sep-13 14:13 
AnswerRe: Disable/enable ctrl+alt+del buttons and autorun. Pin
Dave Kreskowiak5-Sep-13 18:25
mveDave Kreskowiak5-Sep-13 18:25 
GeneralHello Pin
Otekpo Emmanuel6-Sep-13 7:38
Otekpo Emmanuel6-Sep-13 7:38 
GeneralRequest Pin
Otekpo Emmanuel6-Sep-13 7:39
Otekpo Emmanuel6-Sep-13 7:39 
GeneralRe: Request Pin
Dave Kreskowiak6-Sep-13 14:31
mveDave Kreskowiak6-Sep-13 14:31 
AnswerRe: Disable/enable ctrl+alt+del buttons and autorun. Pin
Chris Quinn5-Sep-13 21:20
Chris Quinn5-Sep-13 21:20 

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.