Click here to Skip to main content
15,920,217 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: drag and drop in two listbox Pin
C1AllenS25-Jan-08 0:17
C1AllenS25-Jan-08 0:17 
GeneralRe: drag and drop in two listbox Pin
sumit703422-Oct-08 22:48
sumit703422-Oct-08 22:48 
GeneralTo get focus on textbox Pin
sumit703423-Jan-08 18:07
sumit703423-Jan-08 18:07 
GeneralRe: To get focus on textbox Pin
Paul Conrad23-Jan-08 18:13
professionalPaul Conrad23-Jan-08 18:13 
GeneralRe: To get focus on textbox Pin
sumit703423-Jan-08 18:24
sumit703423-Jan-08 18:24 
GeneralRe: To get focus on textbox Pin
Paul Conrad23-Jan-08 18:42
professionalPaul Conrad23-Jan-08 18:42 
GeneralRe: To get focus on textbox Pin
sumit703423-Jan-08 18:57
sumit703423-Jan-08 18:57 
GeneralRe: To get focus on textbox Pin
Vimalsoft(Pty) Ltd24-Jan-08 1:57
professionalVimalsoft(Pty) Ltd24-Jan-08 1:57 
hi sumit7034

thats Simple and vote for this thread after this

first this you want to set a focus on a textbox onload ? well do the following. in your formload put in the following code

<br />
 'Set the Focus to your textbox when the form load<br />
   Tetxtbo1.Focus()<br />
 'Disable the button, because the focus will go to it first<br />
   Button1.Enabled = False<br />


on your textbox in the KeyPress event put in the following code

<br />
    'Enabling  the Button when a user start entering something on the<br />
    'textbox<br />
     search.Enabled = True<br />




Hope this Helps

Thanks

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


GeneralRe: To get focus on textbox Pin
Johan Hakkesteegt25-Jan-08 2:35
Johan Hakkesteegt25-Jan-08 2:35 
GeneralCapturing stdout and stderr when running a subcommand (WSH) Pin
orev23-Jan-08 11:52
orev23-Jan-08 11:52 
Generalthree level datagrid drill down Pin
uglyeyes23-Jan-08 10:59
uglyeyes23-Jan-08 10:59 
QuestionPossible to know when copy or paste is done? Pin
abbabbabba23-Jan-08 7:02
abbabbabba23-Jan-08 7:02 
Generalcommunication state Pin
Agbaria Ahmad23-Jan-08 6:31
Agbaria Ahmad23-Jan-08 6:31 
QuestionRichTextBox find and replace Pin
Steven J Jowett23-Jan-08 6:12
Steven J Jowett23-Jan-08 6:12 
AnswerRe: RichTextBox find and replace Pin
Steven J Jowett24-Jan-08 1:57
Steven J Jowett24-Jan-08 1:57 
GeneralConnecting to remote data Pin
dptalt23-Jan-08 5:35
dptalt23-Jan-08 5:35 
GeneralRe: Connecting to remote data Pin
Justin Perez23-Jan-08 5:45
Justin Perez23-Jan-08 5:45 
Questionsetup wizard Pin
Agbaria Ahmad23-Jan-08 3:25
Agbaria Ahmad23-Jan-08 3:25 
AnswerRe: setup wizard Pin
Muhammad Shahid Farooq23-Jan-08 6:04
professionalMuhammad Shahid Farooq23-Jan-08 6:04 
GeneralListbox LostFocus event Pin
manisghouri23-Jan-08 1:54
manisghouri23-Jan-08 1:54 
GeneralRe: Listbox LostFocus event Pin
C1AllenS23-Jan-08 18:15
C1AllenS23-Jan-08 18:15 
GeneralRe: Listbox LostFocus event Pin
manisghouri24-Jan-08 2:45
manisghouri24-Jan-08 2:45 
GeneralUnspecified Error in OleDB.oleDbConnection Pin
SekharOne23-Jan-08 1:23
SekharOne23-Jan-08 1:23 
GeneralRe: Unspecified Error in OleDB.oleDbConnection Pin
Kschuler23-Jan-08 5:37
Kschuler23-Jan-08 5:37 
GeneralRe: Unspecified Error in OleDB.oleDbConnection Pin
SekharOne23-Jan-08 17:29
SekharOne23-Jan-08 17:29 

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.