Click here to Skip to main content
15,917,997 members
Home / Discussions / C#
   

C#

 
QuestionType casting issue Pin
arusmemon5-Sep-05 4:51
arusmemon5-Sep-05 4:51 
AnswerRe: Type casting issue Pin
Luis Alonso Ramos5-Sep-05 14:35
Luis Alonso Ramos5-Sep-05 14:35 
QuestionDate Time Picker MinMaxDate Pin
Greeky5-Sep-05 4:34
Greeky5-Sep-05 4:34 
AnswerRe: Date Time Picker MinMaxDate Pin
Luis Alonso Ramos5-Sep-05 7:22
Luis Alonso Ramos5-Sep-05 7:22 
QuestionThe weird control problem Pin
doph5-Sep-05 4:34
doph5-Sep-05 4:34 
QuestionDLL in C++ with pointers. How to use it in C#? Pin
patgo5-Sep-05 4:18
patgo5-Sep-05 4:18 
AnswerRe: DLL in C++ with pointers. How to use it in C#? Pin
RobVai6-Sep-05 16:37
RobVai6-Sep-05 16:37 
QuestionDelay during first use of Exception Pin
harwanegg5-Sep-05 3:28
harwanegg5-Sep-05 3:28 
Hi,

I have the follwing problem :

When doing field level validation, I use the following code the check whether a value entered in a text box is actually an integer :

try
{
int.Parse (this.textBox1.Text);
}
catch (FormatException fex)
{
...CODE to catch the exception
}


The code works but when the first exception occours, I observe a massive delay of two seconds or more. I guess that is the time when the DLL for the Exception is loaded. Once that has happened, there is no observable delay.

I observed the same for example when using data components (e.g. DataGrid) for displaying data. The first loading takes much longer than the consecutive ones.

Is there a way to load the according DLLs when the application starts ?

Thanks

ch

AnswerRe: Delay during first use of Exception Pin
Andy Brummer5-Sep-05 4:12
sitebuilderAndy Brummer5-Sep-05 4:12 
AnswerRe: Delay during first use of Exception Pin
Daniel Turini5-Sep-05 6:38
Daniel Turini5-Sep-05 6:38 
GeneralRe: Delay during first use of Exception Pin
harwanegg5-Sep-05 20:21
harwanegg5-Sep-05 20:21 
QuestionT-SQL Clause Pin
Greeky5-Sep-05 3:18
Greeky5-Sep-05 3:18 
AnswerRe: T-SQL Clause Pin
Andy Brummer5-Sep-05 4:20
sitebuilderAndy Brummer5-Sep-05 4:20 
QuestionNumber Formatting Pin
Brendan Vogt5-Sep-05 1:56
Brendan Vogt5-Sep-05 1:56 
AnswerRe: Number Formatting Pin
Guffa5-Sep-05 2:37
Guffa5-Sep-05 2:37 
QuestionOverlapping Images Pin
dhanunjay5-Sep-05 1:49
dhanunjay5-Sep-05 1:49 
QuestionImage Resizing in a Picture box using c# Pin
dhanunjay5-Sep-05 1:41
dhanunjay5-Sep-05 1:41 
AnswerRe: Image Resizing in a Picture box using c# Pin
Martin#5-Sep-05 8:41
Martin#5-Sep-05 8:41 
QuestionTIFF file with included color schema Pin
yarns5-Sep-05 0:52
yarns5-Sep-05 0:52 
QuestionImporting a DLL at runtime Pin
totig4-Sep-05 23:09
totig4-Sep-05 23:09 
AnswerRe: Importing a DLL at runtime Pin
totig4-Sep-05 23:52
totig4-Sep-05 23:52 
GeneralRe: Importing a DLL at runtime Pin
mav.northwind5-Sep-05 2:17
mav.northwind5-Sep-05 2:17 
GeneralRe: Importing a DLL at runtime Pin
totig5-Sep-05 2:25
totig5-Sep-05 2:25 
GeneralRe: Importing a DLL at runtime Pin
mav.northwind5-Sep-05 10:26
mav.northwind5-Sep-05 10:26 
AnswerRe: Importing a DLL at runtime Pin
Luis Alonso Ramos5-Sep-05 7:26
Luis Alonso Ramos5-Sep-05 7:26 

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.