Click here to Skip to main content
15,896,269 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionReturn a value when an exeception happens Pin
steve_rm19-Mar-07 18:29
steve_rm19-Mar-07 18:29 
AnswerRe: Return a value when an exeception happens Pin
Christian Graus19-Mar-07 19:04
protectorChristian Graus19-Mar-07 19:04 
AnswerRe: Return a value when an exeception happens Pin
Tirthadip19-Mar-07 19:15
Tirthadip19-Mar-07 19:15 
GeneralRe: Return a value when an exeception happens Pin
Dave Kreskowiak20-Mar-07 4:32
mveDave Kreskowiak20-Mar-07 4:32 
AnswerRe: Return a value when an exeception happens Pin
Johan Hakkesteegt21-Mar-07 4:26
Johan Hakkesteegt21-Mar-07 4:26 
QuestionMake usercontrol that doesn't steal focus Pin
TwoFaced19-Mar-07 14:06
TwoFaced19-Mar-07 14:06 
AnswerRe: Make usercontrol that doesn't steal focus Pin
Christian Graus19-Mar-07 16:19
protectorChristian Graus19-Mar-07 16:19 
GeneralRe: Make usercontrol that doesn't steal focus Pin
TwoFaced19-Mar-07 19:11
TwoFaced19-Mar-07 19:11 
I suppose because I'm stubborn Smile | :) Actually, I hadn't thought of that. In my fiddling I stumbled across a different solution. It seems a UserControl inherits from UserControl and a custom control inherits from Control. A UserControl will recieve focus when clicked, but a Custom control won't. I'm assuming Usercontrol inherits a class that handles the focusing, which is why that type of control will always focus. I tried researching what the differences could be but came up empty handed.

So now I know in a situation like mine just inherit from control if I don't want it to get focus.

I've discovered another mystery in my pointless pursuit of information. How come the TabStop property doesn't exist for labels? TabStop is a property in the Control class and a Label is a control. How could it not be there? Oh, well. Unless somebody knows, I give up. I've figured out what I needed to know. Thanks for your reply.
QuestionMouse scroll wheel and MSHFlexGrid Pin
Barry True19-Mar-07 10:20
Barry True19-Mar-07 10:20 
AnswerRe: Mouse scroll wheel and MSHFlexGrid Pin
Dave Kreskowiak19-Mar-07 10:36
mveDave Kreskowiak19-Mar-07 10:36 
GeneralRe: Mouse scroll wheel and MSHFlexGrid Pin
Barry True27-Apr-07 8:29
Barry True27-Apr-07 8:29 
QuestionWhich .DLL is used to delete IE7 cache? Pin
gacman19-Mar-07 9:35
gacman19-Mar-07 9:35 
Questiondataset.acceptchange method.. [modified] Pin
manni_n19-Mar-07 7:59
manni_n19-Mar-07 7:59 
AnswerRe: dataset.acceptchange method.. Pin
Dave Kreskowiak19-Mar-07 8:51
mveDave Kreskowiak19-Mar-07 8:51 
GeneralRe: dataset.acceptchange method.. Pin
manni_n19-Mar-07 9:04
manni_n19-Mar-07 9:04 
GeneralRe: dataset.acceptchange method.. Pin
Dave Kreskowiak19-Mar-07 9:27
mveDave Kreskowiak19-Mar-07 9:27 
GeneralRe: dataset.acceptchange method.. Pin
manni_n19-Mar-07 10:07
manni_n19-Mar-07 10:07 
GeneralRe: dataset.acceptchange method.. Pin
Dave Kreskowiak19-Mar-07 10:41
mveDave Kreskowiak19-Mar-07 10:41 
QuestionSyncoronize between sql2005 database Pin
Richard Segerlund19-Mar-07 5:37
Richard Segerlund19-Mar-07 5:37 
AnswerRe: Syncoronize between sql2005 database Pin
Dave Kreskowiak19-Mar-07 13:33
mveDave Kreskowiak19-Mar-07 13:33 
GeneralRe: Syncoronize between sql2005 database Pin
Richard Segerlund22-Mar-07 3:20
Richard Segerlund22-Mar-07 3:20 
Questionremoving xmlns="" [modified] Pin
ONeil Tomlinson19-Mar-07 4:48
ONeil Tomlinson19-Mar-07 4:48 
AnswerRe: removing xmlns="" Pin
Johan Hakkesteegt20-Mar-07 0:49
Johan Hakkesteegt20-Mar-07 0:49 
QuestionDo I need an adapter/connection to run an SQL statement? Pin
penguin500019-Mar-07 4:03
penguin500019-Mar-07 4:03 
AnswerRe: Do I need an adapter/connection to run an SQL statement? Pin
Christian Graus19-Mar-07 4:41
protectorChristian Graus19-Mar-07 4:41 

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.