Click here to Skip to main content
16,005,162 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Date string conversion problem Pin
TheComputerMan20-May-10 2:13
TheComputerMan20-May-10 2:13 
GeneralRe: Date string conversion problem Pin
Luc Pattyn20-May-10 2:24
sitebuilderLuc Pattyn20-May-10 2:24 
GeneralRe: Date string conversion problem Pin
TheComputerMan20-May-10 2:32
TheComputerMan20-May-10 2:32 
AnswerRe: Date string conversion problem Pin
George B Gilbert23-May-10 22:43
George B Gilbert23-May-10 22:43 
Questionvb.net mscomm problem Pin
tuolesi19-May-10 15:40
tuolesi19-May-10 15:40 
AnswerRe: vb.net mscomm problem Pin
Luc Pattyn19-May-10 16:25
sitebuilderLuc Pattyn19-May-10 16:25 
QuestionSubstring Function on Me.Invoke??? Pin
Dominick Marciano19-May-10 15:31
professionalDominick Marciano19-May-10 15:31 
AnswerRe: Substring Function on Me.Invoke??? Pin
Luc Pattyn19-May-10 16:43
sitebuilderLuc Pattyn19-May-10 16:43 
Hi,

I don't see anything wrong right away.

However I feel some essential information must be missing here. I would like to know:
- what is "Me" in the code shown, i.e. in which class is all this? and what type does it derive/inherit from?
- is any of the relevant objects created by code running on a secondary thread? are you trying to create a Form, a Control, ... by a timer tick handler, by a BackgroundWorker.DoWork handler, ...?

I also would suggest you put the whole else block (Me.Enabled...Status.Text=...) in one try-catch, where you catch an Exception and show Exception.ToString() in its entirety. I expect an exception will throw, and offer exact class name, method name, line number information (look for the first line number it spits out).

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

QuestionSuggestions for passing arrays of data between executables in VB.net Pin
Troy Edson-Smith19-May-10 12:45
Troy Edson-Smith19-May-10 12:45 
AnswerRe: Suggestions for passing arrays of data between executables in VB.net Pin
Luc Pattyn19-May-10 13:02
sitebuilderLuc Pattyn19-May-10 13:02 
GeneralRe: Suggestions for passing arrays of data between executables in VB.net Pin
Troy Edson-Smith19-May-10 13:29
Troy Edson-Smith19-May-10 13:29 
GeneralRe: Suggestions for passing arrays of data between executables in VB.net Pin
Luc Pattyn19-May-10 14:00
sitebuilderLuc Pattyn19-May-10 14:00 
GeneralRe: Suggestions for passing arrays of data between executables in VB.net Pin
Troy Edson-Smith19-May-10 14:43
Troy Edson-Smith19-May-10 14:43 
QuestionLimit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 1:02
Johan Hakkesteegt19-May-10 1:02 
AnswerRe: Limit textbox.text to positiive and negative integers Pin
DaveAuld19-May-10 1:37
professionalDaveAuld19-May-10 1:37 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 1:46
Johan Hakkesteegt19-May-10 1:46 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Henry Minute19-May-10 2:09
Henry Minute19-May-10 2:09 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 2:17
Johan Hakkesteegt19-May-10 2:17 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Luc Pattyn19-May-10 2:14
sitebuilderLuc Pattyn19-May-10 2:14 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 2:41
Johan Hakkesteegt19-May-10 2:41 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Luc Pattyn19-May-10 2:50
sitebuilderLuc Pattyn19-May-10 2:50 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
DaveAuld19-May-10 3:14
professionalDaveAuld19-May-10 3:14 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
The Man from U.N.C.L.E.19-May-10 3:23
The Man from U.N.C.L.E.19-May-10 3:23 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 3:32
Johan Hakkesteegt19-May-10 3:32 
GeneralRe: Limit textbox.text to positiive and negative integers Pin
DaveAuld19-May-10 6:17
professionalDaveAuld19-May-10 6: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.