Click here to Skip to main content
15,895,777 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionget object's name Pin
Marc Soleda31-Jan-07 23:50
Marc Soleda31-Jan-07 23:50 
AnswerRe: get object's name Pin
xstoneheartx1-Feb-07 0:13
xstoneheartx1-Feb-07 0:13 
GeneralRe: get object's name Pin
Christian Graus1-Feb-07 0:17
protectorChristian Graus1-Feb-07 0:17 
GeneralRe: get object's name Pin
Marc Soleda1-Feb-07 0:25
Marc Soleda1-Feb-07 0:25 
GeneralRe: get object's name Pin
shreekar1-Feb-07 0:35
shreekar1-Feb-07 0:35 
GeneralRe: get object's name Pin
Marc Soleda1-Feb-07 0:56
Marc Soleda1-Feb-07 0:56 
GeneralRe: get object's name Pin
Christian Graus1-Feb-07 9:22
protectorChristian Graus1-Feb-07 9:22 
GeneralRe: get object's name Pin
Marc Soleda1-Feb-07 20:36
Marc Soleda1-Feb-07 20:36 
Christian Graus wrote:
An event handler is always going to have a control come in...

Not always if it's an object's class - not a control - that raises an event when a something happens: I file has been received, ...

Christian Graus wrote:

It's unusual for your code to take an object and for you to have *no* idea what the object will be.

Unusual maybe but If I handle an event from several objects in only one eventhandler, then I need to differenciate between them to know which one has been.
At last, I've solved by using Object.ReferenceEquals that determines if two objects are the same instance.

Thanks,
Marc Soleda

... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits

GeneralRe: get object's name Pin
xstoneheartx1-Feb-07 0:36
xstoneheartx1-Feb-07 0:36 
AnswerRe: get object's name Pin
Guffa1-Feb-07 9:31
Guffa1-Feb-07 9:31 
GeneralRe: get object's name Pin
Marc Soleda1-Feb-07 20:39
Marc Soleda1-Feb-07 20:39 
AnswerRe: get object's name Pin
Johan Hakkesteegt1-Feb-07 1:29
Johan Hakkesteegt1-Feb-07 1:29 
GeneralRe: get object's name Pin
Marc Soleda1-Feb-07 2:58
Marc Soleda1-Feb-07 2:58 
Questioninserting and retrieving image from sqlserver2000 using vb.net Pin
Dotnetkanna31-Jan-07 23:42
Dotnetkanna31-Jan-07 23:42 
AnswerRe: inserting and retrieving image from sqlserver2000 using vb.net Pin
xstoneheartx31-Jan-07 23:58
xstoneheartx31-Jan-07 23:58 
Questionsystem.windows,input class not available Pin
bony_baba31-Jan-07 23:02
bony_baba31-Jan-07 23:02 
QuestionCreating barcode Generating program Pin
abhilash.asokan31-Jan-07 22:48
abhilash.asokan31-Jan-07 22:48 
AnswerRe: Creating barcode Generating program Pin
xstoneheartx1-Feb-07 0:22
xstoneheartx1-Feb-07 0:22 
AnswerRe: Creating barcode Generating program Pin
MatthysDT1-Feb-07 1:26
MatthysDT1-Feb-07 1:26 
QuestionCustom message box Pin
Dave McCool31-Jan-07 22:10
Dave McCool31-Jan-07 22:10 
AnswerRe: Custom message box Pin
Christian Graus31-Jan-07 22:21
protectorChristian Graus31-Jan-07 22:21 
QuestionBindingSource.EndEdit [modified] - Why is no-one answering my thread, i want to cry!! Pin
MatthysDT31-Jan-07 21:18
MatthysDT31-Jan-07 21:18 
QuestionVS 2005, Crystal reports replaces chars when exporting to PDF. Pin
Jaggernaut31-Jan-07 20:28
Jaggernaut31-Jan-07 20:28 
QuestionHow to pass parameter from one asp application to another Pin
manasram31-Jan-07 20:25
manasram31-Jan-07 20:25 
AnswerRe: How to pass parameter from one asp application to another Pin
Christian Graus31-Jan-07 22:22
protectorChristian Graus31-Jan-07 22: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.