Click here to Skip to main content
16,014,290 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCreate Transparent or faded form in vb.net Pin
pdnet17-Sep-08 19:33
pdnet17-Sep-08 19:33 
AnswerRe: Create Transparent or faded form in vb.net Pin
Dave Kreskowiak18-Sep-08 1:46
mveDave Kreskowiak18-Sep-08 1:46 
GeneralRe: Create Transparent or faded form in vb.net Pin
pdnet18-Sep-08 2:47
pdnet18-Sep-08 2:47 
GeneralRe: Create Transparent or faded form in vb.net Pin
Dave Kreskowiak18-Sep-08 3:04
mveDave Kreskowiak18-Sep-08 3:04 
GeneralRe: Create Transparent or faded form in vb.net Pin
pdnet18-Sep-08 3:43
pdnet18-Sep-08 3:43 
Questionwant to know the coding for marksheet development project in VB 6 ...thanx Pin
yogitapop17-Sep-08 15:40
yogitapop17-Sep-08 15:40 
AnswerRe: want to know the coding for marksheet development project in VB 6 ...thanx PinPopular
Dave Kreskowiak17-Sep-08 17:09
mveDave Kreskowiak17-Sep-08 17:09 
QuestionAddHandler Arguments? Pin
Saul Johnson17-Sep-08 7:36
Saul Johnson17-Sep-08 7:36 
Hi All!

In my application, i am trying to add an event handler at runtime using AddHandler, but cannot seem to find how to pass an argument with that event handler, for instance:

Function SomeHandler(ByVal MyMessage As String)
   MsgBox(MyMessage)
   Return 0
End Function

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
   AddHandler Button1, AddressOf SomeHandler("Hello World!")
End Sub

This Will Not work, I'm told that I have to state the function name, without parentheses.
How would I use this method to pass arguments to an event handler function?

Thanks!

MrWolfy Big Grin | :-D
AnswerRe: AddHandler Arguments? Pin
Dave Kreskowiak17-Sep-08 8:07
mveDave Kreskowiak17-Sep-08 8:07 
GeneralRe: AddHandler Arguments? Pin
nlarson1117-Sep-08 9:58
nlarson1117-Sep-08 9:58 
GeneralRe: AddHandler Arguments? Pin
Dave Kreskowiak17-Sep-08 10:17
mveDave Kreskowiak17-Sep-08 10:17 
GeneralRe: AddHandler Arguments? Pin
nlarson1117-Sep-08 10:28
nlarson1117-Sep-08 10:28 
GeneralRe: AddHandler Arguments? Pin
Saul Johnson20-Sep-08 6:25
Saul Johnson20-Sep-08 6:25 
QuestionHow to stop FLICKERING -> Listview -> OwnderDraw Pin
jesus.online17-Sep-08 2:13
jesus.online17-Sep-08 2:13 
AnswerRe: How to stop FLICKERING -> Listview -> OwnderDraw Pin
Thomas Stockwell17-Sep-08 6:02
professionalThomas Stockwell17-Sep-08 6:02 
GeneralRe: How to stop FLICKERING -> Listview -> OwnderDraw Pin
jesus.online17-Sep-08 9:24
jesus.online17-Sep-08 9:24 
GeneralRe: How to stop FLICKERING -> Listview -> OwnderDraw Pin
jesus.online17-Sep-08 9:46
jesus.online17-Sep-08 9:46 
QuestionHow to find creation date of an exe Pin
AR Reddy17-Sep-08 1:57
AR Reddy17-Sep-08 1:57 
AnswerRe: How to find creation date of an exe Pin
Tom Deketelaere17-Sep-08 2:26
professionalTom Deketelaere17-Sep-08 2:26 
AnswerRe: How to find creation date of an exe Pin
Thomas Stockwell17-Sep-08 6:03
professionalThomas Stockwell17-Sep-08 6:03 
AnswerRe: How to find creation date of an exe Pin
User 81152324-Sep-08 19:01
User 81152324-Sep-08 19:01 
QuestionCopying Directory In Faster Way Pin
sumit703417-Sep-08 0:32
sumit703417-Sep-08 0:32 
AnswerRe: Copying Directory In Faster Way Pin
jzonthemtn17-Sep-08 7:09
jzonthemtn17-Sep-08 7:09 
GeneralRe: Copying Directory In Faster Way Pin
sumit703417-Sep-08 20:05
sumit703417-Sep-08 20:05 
QuestionMSFlexgrid (help me on my source code) Pin
barakulyo17-Sep-08 0:13
barakulyo17-Sep-08 0:13 

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.