Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to declare the KeyPress Event to All RichTextBoxes...? Pin
ismail2022-May-11 22:22
ismail2022-May-11 22:22 
GeneralRe: How to declare the KeyPress Event to All RichTextBoxes...? Pin
Paramu197322-May-11 23:01
Paramu197322-May-11 23:01 
QuestionHow to generate fix header report with SSRS Pin
Tridip Bhattacharjee22-May-11 20:32
professionalTridip Bhattacharjee22-May-11 20:32 
QuestionHow to force a generic type eventhandler to a ingeneric one? [modified] Pin
JUNEYT22-May-11 12:17
JUNEYT22-May-11 12:17 
AnswerRe: How to force a generic type eventhandler to a ingeneric one? Pin
Alan N22-May-11 23:59
Alan N22-May-11 23:59 
GeneralRe: How to force a generic type eventhandler to a ingeneric one? Pin
JUNEYT23-May-11 2:29
JUNEYT23-May-11 2:29 
QuestionDllImport issue in c sharp Pin
shivamkalra22-May-11 9:45
shivamkalra22-May-11 9:45 
AnswerRe: DllImport issue in c sharp Pin
Luc Pattyn22-May-11 10:17
sitebuilderLuc Pattyn22-May-11 10:17 
Hi,

the easiest way is by putting your DLL calls (or at least the first one you are going to do) in a try block. The actual lookup of the DLL is postponed till it is actually called, and any error locating it, or its functions, is clearly turned into an exception.

You can find more about it under "Typical Exceptions" in my article here[^].

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

AnswerRe: DllImport issue in c sharp Pin
Mark Salsbery22-May-11 12:59
Mark Salsbery22-May-11 12:59 
GeneralRe: DllImport issue in c sharp Pin
shivamkalra22-May-11 15:51
shivamkalra22-May-11 15:51 
QuestionRe: DllImport issue in c sharp Pin
Mark Salsbery22-May-11 16:03
Mark Salsbery22-May-11 16:03 
AnswerRe: DllImport issue in c sharp Pin
Luc Pattyn22-May-11 16:22
sitebuilderLuc Pattyn22-May-11 16:22 
GeneralRe: DllImport issue in c sharp Pin
Mark Salsbery22-May-11 16:40
Mark Salsbery22-May-11 16:40 
AnswerRe: DllImport issue in c sharp Pin
Luc Pattyn22-May-11 16:52
sitebuilderLuc Pattyn22-May-11 16:52 
AnswerRe: DllImport issue in c sharp Pin
shivamkalra22-May-11 16:33
shivamkalra22-May-11 16:33 
GeneralRe: DllImport issue in c sharp Pin
Mark Salsbery22-May-11 16:41
Mark Salsbery22-May-11 16:41 
QuestionHow to have a common Subs for the same use? C# 2010 Pin
Paramu197322-May-11 4:58
Paramu197322-May-11 4:58 
AnswerRe: How to have a common Subs for the same use? C# 2010 Pin
Luc Pattyn22-May-11 5:01
sitebuilderLuc Pattyn22-May-11 5:01 
AnswerRe: How to have a common Subs for the same use? C# 2010 Pin
Pete O'Hanlon22-May-11 5:04
mvePete O'Hanlon22-May-11 5:04 
GeneralRe: How to have a common Subs for the same use? C# 2010 Pin
Paramu197322-May-11 5:13
Paramu197322-May-11 5:13 
GeneralRe: How to have a common Subs for the same use? C# 2010 Pin
Pete O'Hanlon22-May-11 8:29
mvePete O'Hanlon22-May-11 8:29 
Questionc# Problem with webbrowser control loading local images Pin
_Q12_22-May-11 3:54
_Q12_22-May-11 3:54 
AnswerRe: c# Problem with webbrowser control loading local images Pin
Dalek Dave22-May-11 4:27
professionalDalek Dave22-May-11 4:27 
GeneralRe: c# Problem with webbrowser control loading local images [modified] Pin
_Q12_22-May-11 4:31
_Q12_22-May-11 4:31 
AnswerRe: c# Problem with webbrowser control loading local images [modified] Pin
Luc Pattyn22-May-11 5:07
sitebuilderLuc Pattyn22-May-11 5:07 

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.