Click here to Skip to main content
15,918,742 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralVB.NET for SQL Server problem Pin
bensoncd14-Feb-04 2:56
bensoncd14-Feb-04 2:56 
GeneralRe: VB.NET for SQL Server problem Pin
Ian Darling14-Feb-04 3:36
Ian Darling14-Feb-04 3:36 
GeneralOK: VB.NET for SQL Server Pin
bensoncd16-Feb-04 11:12
bensoncd16-Feb-04 11:12 
Generaltabpage seting foucs Pin
aynka200014-Feb-04 2:49
aynka200014-Feb-04 2:49 
GeneralRe: tabpage seting foucs Pin
Matthew Hazlett14-Feb-04 4:36
Matthew Hazlett14-Feb-04 4:36 
GeneralFSO FileSystemObject Pin
djbugzy13-Feb-04 20:43
djbugzy13-Feb-04 20:43 
GeneralRe: FSO FileSystemObject Pin
Hesham Amin13-Feb-04 22:57
Hesham Amin13-Feb-04 22:57 
GeneralUserform using text boxes Pin
EZ-V13-Feb-04 18:11
EZ-V13-Feb-04 18:11 
Can anyone tell me how text can re-appear in the text box that was previously entered when the userform is re-opened.

The way my code is written now. When you re-open the userform the text boxes are automatically cleared for new text to be entered.

Please look at this code below:
Private Sub cmdOK Click()
If textbox1.TextLength > 0 Then
ActiveSheet.Cells(5, 2).Value = textbox1.Text
Unload UserForm1
Else
MsgBox "You are required to enter text. Please enter it now.", vbCritical
End If
End Sub

If you have any code examples, please share them with me. Thanks. I would really appreciate the help.
GeneralRe: Userform using text boxes Pin
Nadroj13-Feb-04 18:44
Nadroj13-Feb-04 18:44 
GeneralCannot create Enum Type from Type.GetType("EnumName") Pin
Dallas Matthews13-Feb-04 8:39
Dallas Matthews13-Feb-04 8:39 
GeneralRe: Cannot create Enum Type from Type.GetType("EnumName") Pin
Matthew Hazlett13-Feb-04 9:00
Matthew Hazlett13-Feb-04 9:00 
GeneralRe: Cannot create Enum Type from Type.GetType("EnumName") Pin
Dallas Matthews13-Feb-04 9:08
Dallas Matthews13-Feb-04 9:08 
GeneralRe: Cannot create Enum Type from Type.GetType("EnumName") Pin
Matthew Hazlett13-Feb-04 9:56
Matthew Hazlett13-Feb-04 9:56 
GeneralRe: Cannot create Enum Type from Type.GetType("EnumName") Pin
Dallas Matthews14-Feb-04 7:23
Dallas Matthews14-Feb-04 7:23 
GeneralRe: Cannot create Enum Type from Type.GetType("EnumName") Pin
Matthew Hazlett14-Feb-04 7:44
Matthew Hazlett14-Feb-04 7:44 
GeneralRe: Cannot create Enum Type from Type.GetType("EnumName") Pin
Dallas Matthews16-Feb-04 3:38
Dallas Matthews16-Feb-04 3:38 
Generalkeyboard hooking in VB.net Pin
matthew kelly13-Feb-04 6:01
matthew kelly13-Feb-04 6:01 
GeneralRe: keyboard hooking in VB.net Pin
Dave Kreskowiak13-Feb-04 9:46
mveDave Kreskowiak13-Feb-04 9:46 
GeneralRe: keyboard hooking in VB.net Pin
matthew kelly18-Feb-04 13:48
matthew kelly18-Feb-04 13:48 
GeneralRe: keyboard hooking in VB.net Pin
Dave Kreskowiak18-Feb-04 19:29
mveDave Kreskowiak18-Feb-04 19:29 
GeneralRe: keyboard hooking in VB.net Pin
Matthew Hazlett13-Feb-04 10:20
Matthew Hazlett13-Feb-04 10:20 
QuestionHow can i make or modify a .cpl file Control panel applet Pin
Saeed Tabrizi13-Feb-04 5:55
Saeed Tabrizi13-Feb-04 5:55 
AnswerRe: How can i make or modify a .cpl file Control panel applet Pin
Dave Kreskowiak13-Feb-04 10:22
mveDave Kreskowiak13-Feb-04 10:22 
Generalcreating checkboxes dynamically Pin
gamerPotatoe13-Feb-04 4:09
gamerPotatoe13-Feb-04 4:09 
GeneralRe: creating checkboxes dynamically Pin
-Dr_X-13-Feb-04 7:52
-Dr_X-13-Feb-04 7:52 

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.