Click here to Skip to main content
15,905,238 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: dynamically populate the hashtable Pin
Dave Kreskowiak16-Jul-07 13:28
mveDave Kreskowiak16-Jul-07 13:28 
GeneralRe: dynamically populate the hashtable Pin
ferronrsmith17-Jul-07 9:44
ferronrsmith17-Jul-07 9:44 
GeneralRe: dynamically populate the hashtable Pin
Dave Kreskowiak17-Jul-07 13:58
mveDave Kreskowiak17-Jul-07 13:58 
QuestionLabel Control Text Drifts Pin
T-Tops16-Jul-07 6:49
T-Tops16-Jul-07 6:49 
AnswerRe: Label Control Text Drifts Pin
Dave Kreskowiak16-Jul-07 7:06
mveDave Kreskowiak16-Jul-07 7:06 
AnswerRe: Label Control Text Drifts Pin
Luc Pattyn16-Jul-07 7:07
sitebuilderLuc Pattyn16-Jul-07 7:07 
QuestionMaking datetime field null, SQL Pin
aqzman_16-Jul-07 6:44
aqzman_16-Jul-07 6:44 
AnswerRe: Making datetime field null, SQL Pin
Dave Kreskowiak16-Jul-07 7:03
mveDave Kreskowiak16-Jul-07 7:03 
Well, this code doesn't have anything to do with SQL.

This only applies to VB.NET 2005 (.NET Framework 2.0) and above! It will NOT work with the .NET Framework 1.1 and below!

But, Date, which is just an alias for the DateTime type, normally cannot be Nothing, or null in C#. You'd have to declare it a special way to get it to work.
Dim myDate As New Nullable(Of DateTime)
myDate = New Date(2007, 7, 7)
If myDate.HasValue Then
    ' whatever you want if there is a value
Else
    ' myDate is Nothing, so...
End If



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Making datetime field null, SQL Pin
aqzman_16-Jul-07 7:31
aqzman_16-Jul-07 7:31 
GeneralRe: Making datetime field null, SQL [modified] Pin
Dave Kreskowiak16-Jul-07 7:39
mveDave Kreskowiak16-Jul-07 7:39 
GeneralRe: Making datetime field null, SQL Pin
aqzman_16-Jul-07 7:58
aqzman_16-Jul-07 7:58 
QuestionHard time finding good articles, need help Pin
Cory Kimble16-Jul-07 6:01
Cory Kimble16-Jul-07 6:01 
AnswerRe: Hard time finding good articles, need help Pin
Paul Conrad16-Jul-07 8:23
professionalPaul Conrad16-Jul-07 8:23 
GeneralRe: Hard time finding good articles, need help Pin
Cory Kimble16-Jul-07 9:56
Cory Kimble16-Jul-07 9:56 
GeneralRe: Hard time finding good articles, need help Pin
Paul Conrad16-Jul-07 10:09
professionalPaul Conrad16-Jul-07 10:09 
QuestionHow to get info from a file when it is being used by another process? Pin
Vivek Narayanan16-Jul-07 5:47
Vivek Narayanan16-Jul-07 5:47 
AnswerRe: How to get info from a file when it is being used by another process? Pin
Luc Pattyn16-Jul-07 6:49
sitebuilderLuc Pattyn16-Jul-07 6:49 
GeneralRe: How to get info from a file when it is being used by another process? Pin
Vivek Narayanan17-Jul-07 0:14
Vivek Narayanan17-Jul-07 0:14 
AnswerRe: How to get info from a file when it is being used by another process? Pin
Dave Kreskowiak16-Jul-07 6:55
mveDave Kreskowiak16-Jul-07 6:55 
QuestionIterate through child treenodes Pin
penguin500016-Jul-07 5:45
penguin500016-Jul-07 5:45 
AnswerRe: Iterate through child treenodes Pin
MidwestLimey16-Jul-07 7:21
professionalMidwestLimey16-Jul-07 7:21 
QuestionPDF/CHM Conversion Pin
phyrrix16-Jul-07 5:33
phyrrix16-Jul-07 5:33 
AnswerRe: PDF/CHM Conversion Pin
Nick Rioux16-Jul-07 6:15
Nick Rioux16-Jul-07 6:15 
Questione.graphics.fillpath Pin
Tom Deketelaere16-Jul-07 5:00
professionalTom Deketelaere16-Jul-07 5:00 
AnswerRe: e.graphics.fillpath Pin
Luc Pattyn16-Jul-07 5:17
sitebuilderLuc Pattyn16-Jul-07 5:17 

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.