Click here to Skip to main content
15,900,378 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: Images in My.settings Pin
newc128-Jan-08 1:34
newc128-Jan-08 1:34 
GeneralRe: Images in My.settings Pin
plural28-Jan-08 4:22
plural28-Jan-08 4:22 
QuestionRe: Images in My.settings Pin
Steven J Jowett28-Jan-08 5:13
Steven J Jowett28-Jan-08 5:13 
Generalrepeat columns in grid view Pin
hepsy.i27-Jan-08 22:38
hepsy.i27-Jan-08 22:38 
Generalwanna check folder exist or not Pin
phoopwint27-Jan-08 20:56
phoopwint27-Jan-08 20:56 
GeneralRe: wanna check folder exist or not Pin
The ANZAC27-Jan-08 21:37
The ANZAC27-Jan-08 21:37 
QuestionHow to Change back color in selected row in that data grid view table [modified] Pin
Francis K Antony27-Jan-08 20:14
Francis K Antony27-Jan-08 20:14 
GeneralDate Conversion Problem Pin
danasegaranea27-Jan-08 19:59
danasegaranea27-Jan-08 19:59 
Hi all,
I hv coded a function to convert a string to a particular DateFormat. It works well good.But when I pass the dt as 25-12-2007 , I am
getting the error as

Message	"The string was not recognized as a valid DateTime.  There is a unknown word starting at index 0."	String


Function

Public Shared Function DisplayFormatedDate(ByVal dt As String, ByVal strDateStringValue As String) As String
        Try
            Dim dttemp As String
            Dim strFormat As String = strDateStringValue.Trim
            strFormat = strFormat.Replace("mm", "MM")
            If Len(dt) > 0 Then
                'dttemp = Date.Parse(dt).ToString(strFormat)
                dttemp = Convert.ToDateTime(dt).Parse(strFormat).ToString
            End If
            Return dttemp
        Catch ex As Exception

        End Try
    End Function

GeneralRe: Date Conversion Problem Pin
VB Prog29-Jan-08 10:47
VB Prog29-Jan-08 10:47 
Generalprohibit virtual printer to create pdf document Pin
eyes200727-Jan-08 19:56
eyes200727-Jan-08 19:56 
GeneralRe: prohibit virtual printer to create pdf document Pin
Johan Hakkesteegt2-Feb-08 10:34
Johan Hakkesteegt2-Feb-08 10:34 
QuestionHow to raise a event to another control in the same form Pin
learnVB27-Jan-08 17:13
learnVB27-Jan-08 17:13 
AnswerRe: How to raise a event to another control in the same form Pin
CKnig27-Jan-08 18:16
CKnig27-Jan-08 18:16 
GeneralRe: How to raise a event to another control in the same form Pin
learnVB28-Jan-08 3:58
learnVB28-Jan-08 3:58 
GeneralVB.NET / ADO question Pin
Tom Wright27-Jan-08 15:40
Tom Wright27-Jan-08 15:40 
GeneralRe: VB.NET / ADO question Pin
VB Prog29-Jan-08 10:51
VB Prog29-Jan-08 10:51 
GeneralSingle instance of application Pin
manisghouri27-Jan-08 13:07
manisghouri27-Jan-08 13:07 
Questionsockets Pin
Agbaria Ahmad27-Jan-08 9:49
Agbaria Ahmad27-Jan-08 9:49 
GeneralRe: sockets Pin
Paul Conrad27-Jan-08 10:29
professionalPaul Conrad27-Jan-08 10:29 
GeneralPrint in VB .NET Pin
saravana00127-Jan-08 3:57
saravana00127-Jan-08 3:57 
GeneralRe: Print in VB .NET Pin
Paul Conrad27-Jan-08 5:54
professionalPaul Conrad27-Jan-08 5:54 
GeneralRe: Print in VB .NET Pin
Thomas Krojer28-Jan-08 5:56
Thomas Krojer28-Jan-08 5:56 
GeneralCopy Protection Pin
Kumaran21cen27-Jan-08 1:55
Kumaran21cen27-Jan-08 1:55 
GeneralRe: Copy Protection Pin
Paul Conrad27-Jan-08 5:55
professionalPaul Conrad27-Jan-08 5:55 
GeneralRe: Copy Protection Pin
Mark Churchill28-Jan-08 14:05
Mark Churchill28-Jan-08 14:05 

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.