Click here to Skip to main content
16,004,924 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to get an a class without it's base class [modified] Pin
eggie514-Aug-07 12:19
eggie514-Aug-07 12:19 
GeneralRe: How to get an a class without it's base class Pin
Luc Pattyn14-Aug-07 13:57
sitebuilderLuc Pattyn14-Aug-07 13:57 
QuestionCaret and scroll positioning Pin
artem_coder14-Aug-07 11:37
artem_coder14-Aug-07 11:37 
AnswerRe: Caret and scroll positioning Pin
Luc Pattyn14-Aug-07 14:04
sitebuilderLuc Pattyn14-Aug-07 14:04 
QuestionDISLIN WinXp. Anyone ? Pin
Ylno14-Aug-07 11:36
Ylno14-Aug-07 11:36 
AnswerRe: DISLIN WinXp. Anyone ? Pin
pmarfleet14-Aug-07 11:40
pmarfleet14-Aug-07 11:40 
QuestionThreading Problem. Pin
hdv21214-Aug-07 11:21
hdv21214-Aug-07 11:21 
AnswerRe: Threading Problem. Pin
Luc Pattyn14-Aug-07 14:10
sitebuilderLuc Pattyn14-Aug-07 14:10 
Hi,

is this .NET 1.x or is it >=2.0 ?
did you disable the cross-thread checking ? you should not.

seems like you try to create and show a form with a thread, and later hide it
from the main thread. This is illegal and will result in all kinds of anomalies.

IMO the right approach is to crate, show and later hide the WaitingForm in the
main thread, and do the "loading data..." stuff in some other thread (or maybe
a BackgroundWorker).
If the loading thread needs to update the WaitingForm, it must do so using the
Control.InvokeRequired property and Control.Invoke() method.
If unfamiliar, look it up on MSDN and/or read some CodeProject articles about it.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


QuestionConvert Languages Pin
Thaer Hamael14-Aug-07 11:14
Thaer Hamael14-Aug-07 11:14 
AnswerRe: Convert Languages Pin
pmarfleet14-Aug-07 11:37
pmarfleet14-Aug-07 11:37 
Questioni all Convert Languages Pin
Thaer Hamael14-Aug-07 11:12
Thaer Hamael14-Aug-07 11:12 
AnswerRe: i all Convert Languages Pin
Luc Pattyn14-Aug-07 14:11
sitebuilderLuc Pattyn14-Aug-07 14:11 
QuestionListView Drag n Drop Pin
topksharma198214-Aug-07 9:08
topksharma198214-Aug-07 9:08 
QuestionALT+F4 Pin
Ronni Marker14-Aug-07 8:46
Ronni Marker14-Aug-07 8:46 
AnswerRe: ALT+F4 Pin
Ronni Marker14-Aug-07 19:35
Ronni Marker14-Aug-07 19:35 
QuestionConvert Excel to XML Pin
T4AMD14-Aug-07 8:05
T4AMD14-Aug-07 8:05 
AnswerRe: Convert Excel to XML Pin
Giorgi Dalakishvili14-Aug-07 9:28
mentorGiorgi Dalakishvili14-Aug-07 9:28 
QuestionRe: Convert Excel to XML Pin
T4AMD14-Aug-07 9:39
T4AMD14-Aug-07 9:39 
AnswerRe: Convert Excel to XML Pin
Michael Sync14-Aug-07 21:58
Michael Sync14-Aug-07 21:58 
QuestionActive Directory Pin
franklinm14-Aug-07 7:59
franklinm14-Aug-07 7:59 
AnswerRe: Active Directory Pin
ekynox14-Aug-07 12:56
ekynox14-Aug-07 12:56 
GeneralRe: Active Directory Pin
franklinm15-Aug-07 14:30
franklinm15-Aug-07 14:30 
Questionsqlclient Pin
lankaudaranga14-Aug-07 7:26
lankaudaranga14-Aug-07 7:26 
AnswerRe: sqlclient Pin
ToddHileHoffer14-Aug-07 7:28
ToddHileHoffer14-Aug-07 7:28 
AnswerRe: sqlclient Pin
Michael Sync14-Aug-07 21:55
Michael Sync14-Aug-07 21:55 

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.