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

Visual Basic

 
GeneralRe: write line through textwriter Pin
Dave Kreskowiak26-Mar-07 7:05
mveDave Kreskowiak26-Mar-07 7:05 
GeneralRe: write line through textwriter Pin
Xmen Real 26-Mar-07 15:38
professional Xmen Real 26-Mar-07 15:38 
GeneralRe: write line through textwriter Pin
Dave Kreskowiak26-Mar-07 16:09
mveDave Kreskowiak26-Mar-07 16:09 
GeneralRe: write line through textwriter Pin
Xmen Real 26-Mar-07 16:38
professional Xmen Real 26-Mar-07 16:38 
GeneralRe: write line through textwriter Pin
TwoFaced26-Mar-07 20:35
TwoFaced26-Mar-07 20:35 
GeneralRe: write line through textwriter Pin
Xmen Real 26-Mar-07 21:05
professional Xmen Real 26-Mar-07 21:05 
QuestionTry to check if textbox empty Pin
MAGICIANMERLIN25-Mar-07 12:34
MAGICIANMERLIN25-Mar-07 12:34 
AnswerRe: Try to check if textbox empty Pin
Christian Graus25-Mar-07 12:42
protectorChristian Graus25-Mar-07 12:42 
MAGICIANMERLIN wrote:
but unfortunately i couldn't check textbox.text is empty or not?


What do you mean ? Did you step through the code to see what was happening ?

Try this

if string.IsNullOrEmpty(TxtName.Text.Trim()) then

end if

This does two things

1 - it checks properly for an empty string
2 - it removes whitespace, so if the box LOOKS empty, it will be. Otherwise, a box with a space in it, is not empty.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

AnswerRe: Try to check if textbox empty Pin
MAGICIANMERLIN25-Mar-07 12:48
MAGICIANMERLIN25-Mar-07 12:48 
GeneralRe: Try to check if textbox empty Pin
Christian Graus25-Mar-07 12:51
protectorChristian Graus25-Mar-07 12:51 
QuestionMulti-Threading Pin
MatrixCoder25-Mar-07 10:57
MatrixCoder25-Mar-07 10:57 
AnswerRe: Multi-Threading Pin
Christian Graus25-Mar-07 11:59
protectorChristian Graus25-Mar-07 11:59 
GeneralRe: Multi-Threading Pin
MatrixCoder25-Mar-07 13:42
MatrixCoder25-Mar-07 13:42 
GeneralRe: Multi-Threading Pin
Christian Graus25-Mar-07 14:10
protectorChristian Graus25-Mar-07 14:10 
GeneralRe: Multi-Threading Pin
MatrixCoder25-Mar-07 15:26
MatrixCoder25-Mar-07 15:26 
GeneralRe: Multi-Threading Pin
Christian Graus25-Mar-07 16:46
protectorChristian Graus25-Mar-07 16:46 
GeneralRe: Multi-Threading Pin
MatrixCoder26-Mar-07 10:26
MatrixCoder26-Mar-07 10:26 
Questionstuck with WSDL in VB.net win forms Pin
pabloraul25-Mar-07 9:36
pabloraul25-Mar-07 9:36 
AnswerRe: stuck with WSDL in VB.net win forms Pin
Christian Graus25-Mar-07 10:20
protectorChristian Graus25-Mar-07 10:20 
GeneralRe: stuck with WSDL in VB.net win forms Pin
pabloraul25-Mar-07 10:23
pabloraul25-Mar-07 10:23 
GeneralRe: stuck with WSDL in VB.net win forms Pin
Christian Graus25-Mar-07 10:39
protectorChristian Graus25-Mar-07 10:39 
GeneralRe: stuck with WSDL in VB.net win forms [modified] Pin
pabloraul25-Mar-07 10:54
pabloraul25-Mar-07 10:54 
General[Message Deleted] Pin
pabloraul25-Mar-07 11:00
pabloraul25-Mar-07 11:00 
GeneralRe: stuck with WSDL in VB.net win forms Pin
Christian Graus25-Mar-07 11:58
protectorChristian Graus25-Mar-07 11:58 
QuestionMaximize window Pin
ayeleteric25-Mar-07 6:30
ayeleteric25-Mar-07 6:30 

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.