Click here to Skip to main content
15,930,792 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Binding a Listbox with a dataset Pin
Vimalsoft(Pty) Ltd5-Feb-08 18:46
professionalVimalsoft(Pty) Ltd5-Feb-08 18:46 
GeneralRe: Binding a Listbox with a dataset Pin
Dave Kreskowiak5-Feb-08 10:01
mveDave Kreskowiak5-Feb-08 10:01 
GeneralRe: Binding a Listbox with a dataset Pin
Vimalsoft(Pty) Ltd5-Feb-08 18:42
professionalVimalsoft(Pty) Ltd5-Feb-08 18:42 
QuestionSoftware Needed Pin
yasso_1155-Feb-08 4:50
yasso_1155-Feb-08 4:50 
GeneralRe: Software Needed Pin
Steven J Jowett5-Feb-08 4:56
Steven J Jowett5-Feb-08 4:56 
GeneralRe: Software Needed Pin
Christian Graus5-Feb-08 8:49
protectorChristian Graus5-Feb-08 8:49 
QuestionInvoking a delegate sub inside a module? Pin
Benny_Lava5-Feb-08 2:38
Benny_Lava5-Feb-08 2:38 
AnswerRe: Invoking a delegate sub inside a module? [modified] Pin
nlarson115-Feb-08 3:52
nlarson115-Feb-08 3:52 
I might be way off course here but this is what I'm thinking...

Regardless if you used a module or a class with a shared routine, you would need to pass a delegate into either from the form so that you can populate the textbox. So if you did this, upon creating the instance of the form, then the module wouldn't need the ability to do the "invoking" because it could just call the delegate that it was holding on to. The above routine is correct if that is the routine inside the form that the module would call. The 'do normal stuff' would be where textbox.text = ?? would occur...

Just a thought....

You could remove all of this

Dim procStatusDele As New procStatusDelegate(AddressOf procStatus)
Dim params(2) As Object
params(0) = msg
params(1) = clear
params(2) = noviRed
me.invoke(procStatusDele,params)

and do this

me.invoke(New procStatusDelegate(AddressOf procStatus),new object() {msg,clear,noviRed})

less operations the better Smile | :)

nathan

'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous

modified on Tuesday, February 05, 2008 10:00:25 AM

AnswerRe: Invoking a delegate sub inside a module? Pin
Guffa5-Feb-08 8:45
Guffa5-Feb-08 8:45 
GeneralDates Between Date Pin
danasegaranea5-Feb-08 2:00
danasegaranea5-Feb-08 2:00 
GeneralRe: Dates Between Date Pin
pmarfleet5-Feb-08 2:04
pmarfleet5-Feb-08 2:04 
GeneralRe: Dates Between Date Pin
danasegaranea5-Feb-08 17:27
danasegaranea5-Feb-08 17:27 
GeneralVS2005 error: Conversion from string "negative number" to type Date is not valid Pin
Xooku5-Feb-08 0:59
Xooku5-Feb-08 0:59 
GeneralRe: VS2005 error: Conversion from string "negative number" to type Date is not valid Pin
Guffa5-Feb-08 1:14
Guffa5-Feb-08 1:14 
GeneralRe: VS2005 error: Conversion from string "negative number" to type Date is not valid Pin
Xooku5-Feb-08 1:23
Xooku5-Feb-08 1:23 
AnswerRe: VS2005 error: Conversion from string "negative number" to type Date is not valid Pin
Guffa5-Feb-08 4:20
Guffa5-Feb-08 4:20 
GeneralRe: VS2005 error: Conversion from string "negative number" to type Date is not valid Pin
Paddy Boyd5-Feb-08 2:51
Paddy Boyd5-Feb-08 2:51 
GeneralRe: VS2005 error: Conversion from string "negative number" to type Date is not valid Pin
Xooku5-Feb-08 18:12
Xooku5-Feb-08 18:12 
GeneralAuto Scroll on a text BOX Pin
Benny_Lava5-Feb-08 0:58
Benny_Lava5-Feb-08 0:58 
AnswerRe: Auto Scroll on a text BOX Pin
Scubapro5-Feb-08 1:34
Scubapro5-Feb-08 1:34 
GeneralRe: Auto Scroll on a text BOX Pin
Dave Kreskowiak5-Feb-08 10:11
mveDave Kreskowiak5-Feb-08 10:11 
QuestionCustom events? Pin
Benny_Lava5-Feb-08 0:46
Benny_Lava5-Feb-08 0:46 
AnswerRe: Custom events? Pin
nlarson115-Feb-08 3:57
nlarson115-Feb-08 3:57 
AnswerRe: Custom events? Pin
Dave Kreskowiak5-Feb-08 10:13
mveDave Kreskowiak5-Feb-08 10:13 
AnswerRe: Custom events? Pin
User 2710095-Feb-08 17:37
User 2710095-Feb-08 17:37 

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.