Click here to Skip to main content
15,894,955 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: inheriting text file Pin
manni_n1-Mar-07 20:04
manni_n1-Mar-07 20:04 
GeneralRe: inheriting text file Pin
Colin Angus Mackay1-Mar-07 21:18
Colin Angus Mackay1-Mar-07 21:18 
GeneralRe: inheriting text file Pin
manni_n2-Mar-07 2:25
manni_n2-Mar-07 2:25 
AnswerRe: inheriting text file Pin
playout1-Mar-07 20:14
playout1-Mar-07 20:14 
QuestionStructured programming question Pin
cstrader2321-Mar-07 10:18
cstrader2321-Mar-07 10:18 
AnswerRe: Structured programming question Pin
Colin Angus Mackay1-Mar-07 11:32
Colin Angus Mackay1-Mar-07 11:32 
AnswerRe: Structured programming question Pin
cstrader2321-Mar-07 11:32
cstrader2321-Mar-07 11:32 
GeneralRe: Structured programming question Pin
cstrader2321-Mar-07 11:41
cstrader2321-Mar-07 11:41 
It really is a lower-level assembly, which is part of my confusion. I'm having trouble figuring out how to tell the .dll to callback to the host, because the .dll of course doesn't know of the host's existence.

After I link the .dll via reflection, I've been passing the host name as an object from the .exe

initializeassembly (Me, ClassB)


to the .dll:

public shared host as object
public shared ClassB as Object

sub initializeassembly (host, ClassB)
me.host = host
Me.ClassB = ClassB
end sub

then I can call back up to the main from the .dll:

either the calling class
Me.host.method()

or another class in the main:
me.ClassB.Method()

But this procedure seems to not be that reliable.

I was told to use a delegate, but I don't see how that solves my problem(s)!

Does this make any sense?

thanks again.



GeneralRe: Structured programming question Pin
Colin Angus Mackay1-Mar-07 12:35
Colin Angus Mackay1-Mar-07 12:35 
GeneralRe: Structured programming question Pin
cstrader2321-Mar-07 12:56
cstrader2321-Mar-07 12:56 
GeneralRe: Structured programming question Pin
Colin Angus Mackay1-Mar-07 13:03
Colin Angus Mackay1-Mar-07 13:03 
GeneralRe: Structured programming question Pin
cstrader2321-Mar-07 16:27
cstrader2321-Mar-07 16:27 
GeneralRe: Structured programming question Pin
Colin Angus Mackay1-Mar-07 21:23
Colin Angus Mackay1-Mar-07 21:23 
GeneralRe: Structured programming question Pin
cstrader2322-Mar-07 1:37
cstrader2322-Mar-07 1:37 
GeneralRe: Structured programming question Pin
Colin Angus Mackay2-Mar-07 6:32
Colin Angus Mackay2-Mar-07 6:32 
QuestionHow do I set selection in VBA Combobox with RowSource? Pin
DLipkie1-Mar-07 7:50
DLipkie1-Mar-07 7:50 
AnswerRe: How do I set selection in VBA Combobox with RowSource? Pin
DLipkie1-Mar-07 9:46
DLipkie1-Mar-07 9:46 
GeneralRe: How do I set selection in VBA Combobox with RowSource? Pin
DLipkie1-Mar-07 10:10
DLipkie1-Mar-07 10:10 
QuestionSelecting multiple rows in an MSHFlexGrid Pin
Barry True1-Mar-07 6:54
Barry True1-Mar-07 6:54 
AnswerRe: Selecting multiple rows in an MSHFlexGrid Pin
Barry True19-Mar-07 10:18
Barry True19-Mar-07 10:18 
QuestionPrinting?? Pin
KOKEMO1-Mar-07 6:27
KOKEMO1-Mar-07 6:27 
AnswerRe: Printing?? Pin
JUNEYT1-Mar-07 6:41
JUNEYT1-Mar-07 6:41 
AnswerRe: Printing?? Pin
Duncan Edwards Jones1-Mar-07 10:58
professionalDuncan Edwards Jones1-Mar-07 10:58 
QuestionMicrosoft.Interop.Office.Excel Pin
Jawa20061-Mar-07 4:52
Jawa20061-Mar-07 4:52 
AnswerRe: Microsoft.Interop.Office.Excel Pin
Dave Kreskowiak1-Mar-07 6:15
mveDave Kreskowiak1-Mar-07 6:15 

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.