Click here to Skip to main content
16,008,183 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Hide a property that isn't overridable... Pin
originSH2-Jul-07 5:38
originSH2-Jul-07 5:38 
GeneralRe: Hide a property that isn't overridable... Pin
Luc Pattyn2-Jul-07 6:31
sitebuilderLuc Pattyn2-Jul-07 6:31 
GeneralRe: Hide a property that isn't overridable... Pin
originSH2-Jul-07 22:44
originSH2-Jul-07 22:44 
AnswerRe: Hide a property that isn't overridable... [modified] Pin
TwoFaced2-Jul-07 6:41
TwoFaced2-Jul-07 6:41 
QuestionConvert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 3:31
professionalVimalsoft(Pty) Ltd2-Jul-07 3:31 
AnswerRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Colin Angus Mackay2-Jul-07 3:38
Colin Angus Mackay2-Jul-07 3:38 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 3:49
professionalVimalsoft(Pty) Ltd2-Jul-07 3:49 
AnswerRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Nick Rioux2-Jul-07 4:18
Nick Rioux2-Jul-07 4:18 
VB
If textbox.text = nothing then
  field = "Null"
End If


Just make sure you replace textbox and field.
You also might want to use textbox.text.trim to remove any whitespace on the ends of the text to help 'idiotproof' it.



Fluent in VB, Attempts to speak C#, Python, English Wink | ;)

---
File Association in VB.Net

GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net [modified] Pin
Vimalsoft(Pty) Ltd2-Jul-07 4:44
professionalVimalsoft(Pty) Ltd2-Jul-07 4:44 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Nick Rioux2-Jul-07 4:51
Nick Rioux2-Jul-07 4:51 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 5:04
professionalVimalsoft(Pty) Ltd2-Jul-07 5:04 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net [modified] Pin
Nick Rioux2-Jul-07 5:09
Nick Rioux2-Jul-07 5:09 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Dave Kreskowiak2-Jul-07 5:21
mveDave Kreskowiak2-Jul-07 5:21 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net [modified] Pin
Vimalsoft(Pty) Ltd2-Jul-07 5:48
professionalVimalsoft(Pty) Ltd2-Jul-07 5:48 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Dave Kreskowiak2-Jul-07 12:42
mveDave Kreskowiak2-Jul-07 12:42 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 19:40
professionalVimalsoft(Pty) Ltd2-Jul-07 19:40 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Dave Kreskowiak3-Jul-07 2:11
mveDave Kreskowiak3-Jul-07 2:11 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd3-Jul-07 2:33
professionalVimalsoft(Pty) Ltd3-Jul-07 2:33 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 5:27
professionalVimalsoft(Pty) Ltd2-Jul-07 5:27 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Dave Kreskowiak2-Jul-07 5:31
mveDave Kreskowiak2-Jul-07 5:31 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Nick Rioux2-Jul-07 5:33
Nick Rioux2-Jul-07 5:33 
QuestionProblem with VB.NET and MS Access Pin
Nilesh Hapse2-Jul-07 3:18
Nilesh Hapse2-Jul-07 3:18 
AnswerRe: Problem with VB.NET and MS Access Pin
cutequencher2-Jul-07 6:28
cutequencher2-Jul-07 6:28 
GeneralRe: Problem with VB.NET and MS Access Pin
Nilesh Hapse2-Jul-07 19:29
Nilesh Hapse2-Jul-07 19:29 
QuestionVB.net user controls in Access 2007 Pin
Tom Deketelaere2-Jul-07 3:00
professionalTom Deketelaere2-Jul-07 3:00 

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.