Click here to Skip to main content
15,886,963 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
OK, I think I get that part... but how do I create an instance of the interface? I can dim the interface in the assembly:

Dim mm As myInterfaceAssembly.Imyinterface()

but then

mm.method

gives me "Object reference not set to an instance of an object.


From the .dll

imports myInterfaceAssembly
class A
Sub Test
Dim mm As myInterfaceAssembly.Imyinterface()

mm.method()

end sub
End class

thanks again

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 
QuestionGetting the cursor position and.... Pin
NANCO1-Mar-07 4:45
NANCO1-Mar-07 4:45 
AnswerRe: Getting the cursor position and.... Pin
Dave Kreskowiak1-Mar-07 6:20
mveDave Kreskowiak1-Mar-07 6:20 
GeneralRe: Getting the cursor position and.... [modified] Pin
NANCO2-Mar-07 0:18
NANCO2-Mar-07 0:18 
QuestionExecuting VBS from a vb.net program Pin
TECABA1-Mar-07 4:19
TECABA1-Mar-07 4:19 

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.