Click here to Skip to main content
15,897,891 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Returning a filename from command prompt. Pin
svanwass31-Oct-07 5:45
svanwass31-Oct-07 5:45 
AnswerRe: Returning a filename from command prompt. Pin
Dave Kreskowiak31-Oct-07 6:38
mveDave Kreskowiak31-Oct-07 6:38 
GeneralRe: Returning a filename from command prompt. Pin
Mycroft Holmes31-Oct-07 23:21
professionalMycroft Holmes31-Oct-07 23:21 
GeneralRe: Returning a filename from command prompt. Pin
Dave Kreskowiak1-Nov-07 1:45
mveDave Kreskowiak1-Nov-07 1:45 
QuestionHow pass an event to a sub Pin
Narenge31-Oct-07 3:37
Narenge31-Oct-07 3:37 
AnswerRe: How pass an event to a sub Pin
svanwass31-Oct-07 5:13
svanwass31-Oct-07 5:13 
AnswerRe: How pass an event to a sub Pin
AliAmjad31-Oct-07 5:13
AliAmjad31-Oct-07 5:13 
AnswerRe: How pass an event to a sub Pin
Dave Kreskowiak31-Oct-07 6:32
mveDave Kreskowiak31-Oct-07 6:32 
You're can not pass an event. You can, however, pass an event arguments object, or EventArgs.
But, depending on what you're really trying to do with this, normally, the only thing that gets the eventargs is the event handler. The handler then picks out what pieces of information it needs and passes those processed pieces to other methods. You would just about never pass an entire eventargs object to a method that is, itself, not an event handler.

It looks like you're trying to raise an event, but the parameters in your header are confusing. What are you really trying to do with this code?? Why does this code exist?


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


AnswerRe: How pass an event to a sub Pin
Narenge31-Oct-07 12:25
Narenge31-Oct-07 12:25 
Questionconnecting an Access database to visual basic.net 2005 Pin
Ian Wells31-Oct-07 2:21
Ian Wells31-Oct-07 2:21 
AnswerRe: connecting an Access database to visual basic.net 2005 Pin
svanwass31-Oct-07 5:30
svanwass31-Oct-07 5:30 
Questionneed help with vb.net and active directory. Pin
kingpin200531-Oct-07 2:17
kingpin200531-Oct-07 2:17 
AnswerRe: need help with vb.net and active directory. Pin
Dave Kreskowiak31-Oct-07 6:13
mveDave Kreskowiak31-Oct-07 6:13 
GeneralRe: need help with vb.net and active directory. Pin
kingpin200531-Oct-07 21:53
kingpin200531-Oct-07 21:53 
QuestionArray - Structure problem Pin
Benny_Lava31-Oct-07 0:38
Benny_Lava31-Oct-07 0:38 
AnswerRe: Array - Structure problem Pin
pmarfleet31-Oct-07 3:33
pmarfleet31-Oct-07 3:33 
AnswerRe: Array - Structure problem Pin
Dave Kreskowiak31-Oct-07 6:07
mveDave Kreskowiak31-Oct-07 6:07 
QuestionPath to Installed Application Pin
SekharOne30-Oct-07 23:41
SekharOne30-Oct-07 23:41 
AnswerRe: Path to Installed Application Pin
Dave Kreskowiak31-Oct-07 6:05
mveDave Kreskowiak31-Oct-07 6:05 
GeneralRe: Path to Installed Application Pin
SekharOne1-Nov-07 0:39
SekharOne1-Nov-07 0:39 
QuestionKey Handling Pin
fazeepk30-Oct-07 23:00
fazeepk30-Oct-07 23:00 
AnswerRe: Key Handling Pin
Salman Sheikh30-Oct-07 23:35
Salman Sheikh30-Oct-07 23:35 
QuestionData Binding Pin
ejaz_pk30-Oct-07 22:12
ejaz_pk30-Oct-07 22:12 
AnswerRe: Data Binding Pin
Dave Kreskowiak31-Oct-07 5:21
mveDave Kreskowiak31-Oct-07 5:21 
GeneralRe: Data Binding Pin
ejaz_pk31-Oct-07 21:08
ejaz_pk31-Oct-07 21:08 

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.