Click here to Skip to main content
15,909,829 members
Home / Discussions / C#
   

C#

 
QuestionVS 2005 C# Class Wizard - it is gone? Pin
LuluSailor1-Feb-06 11:58
LuluSailor1-Feb-06 11:58 
AnswerRe: VS 2005 C# Class Wizard - it is gone? Pin
James Gupta1-Feb-06 21:01
professionalJames Gupta1-Feb-06 21:01 
QuestionSQLDMO for Oracle Pin
sam3151-Feb-06 11:42
sam3151-Feb-06 11:42 
QuestionUsing delegates with remoting in .net 2.0 Pin
Oyvind Hansen1-Feb-06 11:22
Oyvind Hansen1-Feb-06 11:22 
QuestionRemove a Child Entry from AD Pin
osamahmirza1-Feb-06 10:54
osamahmirza1-Feb-06 10:54 
QuestionControlling the focus Pin
3Dizard1-Feb-06 9:27
3Dizard1-Feb-06 9:27 
Questiontabcontrol glitchy Pin
jasonmog1-Feb-06 9:26
jasonmog1-Feb-06 9:26 
AnswerRe: tabcontrol glitchy Pin
Mark Greenwood1-Feb-06 13:47
Mark Greenwood1-Feb-06 13:47 
Hmmm not sure why this failing for you - I created a very simple little application and within the SelectedIndexChanged event handler I created an exception and then reset the Tab index to zero and it worked ok.

I have had a look at the System.Windows.Forms.Tabcontrol DLL using Reflector and it seems that the Windows message for SelectedIndexChangING is handled and not passed on so you could override the WndProc for a derived Tab control and handle the code which could potentially cause an exception by trapping the SelectedIndexChanging message and only pass it on to the base Wndproc if no exception was thrown.

Alternatively stick up some code and lets see if there is anything obviously wrong with the code.

Mark.
GeneralRe: tabcontrol glitchy Pin
jasonmog2-Feb-06 2:48
jasonmog2-Feb-06 2:48 
QuestionAproximate string matching Pin
Elvio Fernandez1-Feb-06 9:14
Elvio Fernandez1-Feb-06 9:14 
AnswerRe: Aproximate string matching Pin
Ingo1-Feb-06 21:39
Ingo1-Feb-06 21:39 
GeneralRe: Aproximate string matching Pin
Elvio Fernandez2-Feb-06 17:52
Elvio Fernandez2-Feb-06 17:52 
Question Additional C# 2005 Code Snippets From Microsoft Pin
Kevin McFarlane1-Feb-06 8:46
Kevin McFarlane1-Feb-06 8:46 
QuestionCrystal Viewer 9 RDC Pin
Bedevian1-Feb-06 8:33
Bedevian1-Feb-06 8:33 
QuestionSaving and viewing XML Files Pin
StevieGowland1-Feb-06 8:24
StevieGowland1-Feb-06 8:24 
AnswerRe: Saving and viewing XML Files Pin
malharone1-Feb-06 11:23
malharone1-Feb-06 11:23 
QuestionHow to implement Event log in C# Pin
engsrini1-Feb-06 8:14
engsrini1-Feb-06 8:14 
AnswerRe: How to implement Event log in C# Pin
malharone1-Feb-06 11:26
malharone1-Feb-06 11:26 
GeneralRe: How to implement Event log in C# Pin
engsrini1-Feb-06 20:28
engsrini1-Feb-06 20:28 
GeneralRe: How to implement Event log in C# Pin
malharone2-Feb-06 3:36
malharone2-Feb-06 3:36 
QuestionImpersanating a user in a connection string Pin
zaboboa1-Feb-06 8:03
zaboboa1-Feb-06 8:03 
AnswerRe: Impersanating a user in a connection string Pin
James Gupta1-Feb-06 8:09
professionalJames Gupta1-Feb-06 8:09 
GeneralRe: Impersanating a user in a connection string Pin
zaboboa1-Feb-06 8:12
zaboboa1-Feb-06 8:12 
GeneralRe: Impersanating a user in a connection string Pin
Tom Wright1-Feb-06 8:20
Tom Wright1-Feb-06 8:20 
GeneralRe: Impersanating a user in a connection string Pin
zaboboa1-Feb-06 8:22
zaboboa1-Feb-06 8:22 

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.