Click here to Skip to main content
15,896,118 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: I need some code! Pin
Luc Pattyn1-Jun-08 5:39
sitebuilderLuc Pattyn1-Jun-08 5:39 
QuestionReceiver Image in a VB program Pin
Assaf8231-May-08 9:09
Assaf8231-May-08 9:09 
AnswerRe: Receiver Image in a VB program Pin
Dave Kreskowiak31-May-08 11:58
mveDave Kreskowiak31-May-08 11:58 
GeneralRe: Receiver Image in a VB program Pin
Assaf8231-May-08 12:01
Assaf8231-May-08 12:01 
GeneralRe: Receiver Image in a VB program Pin
Dave Kreskowiak31-May-08 12:15
mveDave Kreskowiak31-May-08 12:15 
GeneralRe: Receiver Image in a VB program Pin
Assaf8231-May-08 12:19
Assaf8231-May-08 12:19 
GeneralRe: Receiver Image in a VB program Pin
Dave Kreskowiak1-Jun-08 3:50
mveDave Kreskowiak1-Jun-08 3:50 
QuestionGetType on a Referenced Assemble without hardcoding assembly loadfrom values Pin
MartyK200731-May-08 8:19
MartyK200731-May-08 8:19 
Hello,
I have a problem :
I have a class Library (FooClasses) which has a refence to a second set of classes (Foo2Classes)
In Foo2Classes is a class (Foo3)

I have the following code
Imports System.Reflection
Imports Foo2Classes
Public Class FooClass
Protected Sub SomeSub()
Dim T as Type
T = Type.GetType("Foo2Classes.Foo3")
I have also tried
T = Type.GetType("FooClasses.Foo2Classes.Foo3")
End Sub
End Class

The T cant be found by reflection so I am assuming I must load the Foo2Classes assembly first.
If this is the case how can I load the assembly without using a hardcoded path in a loadfrom.

What I want to be able to do is to use the fact that it has been referenced in my FooClasses.

Can you get the path from the assembly reference , rather than hardcoding it OR putting in a partially qualified pathname ie "/subdir/Foo2Classes.dll"

Thanks
Martin

life is a bowl of cherries
go on take a byte

AnswerRe: GetType on a Referenced Assemble without hardcoding assembly loadfrom values Pin
Dave Kreskowiak1-Jun-08 4:09
mveDave Kreskowiak1-Jun-08 4:09 
GeneralRe: GetType on a Referenced Assemble without hardcoding assembly loadfrom values Pin
MartyK20072-Jun-08 0:58
MartyK20072-Jun-08 0:58 
GeneralRe: GetType on a Referenced Assemble without hardcoding assembly loadfrom values Pin
Dave Kreskowiak2-Jun-08 1:34
mveDave Kreskowiak2-Jun-08 1:34 
GeneralRe: GetType on a Referenced Assemble without hardcoding assembly loadfrom values Pin
MartyK20072-Jun-08 6:13
MartyK20072-Jun-08 6:13 
GeneralRe: GetType on a Referenced Assemble without hardcoding assembly loadfrom values Pin
Dave Kreskowiak2-Jun-08 15:28
mveDave Kreskowiak2-Jun-08 15:28 
QuestionClipCursor not working Pin
Chris Copeland31-May-08 7:15
mveChris Copeland31-May-08 7:15 
QuestionI/O leak when using .NET functions Pin
WhiteDog31-May-08 6:13
WhiteDog31-May-08 6:13 
AnswerRe: I/O leak when using .NET functions Pin
Dave Kreskowiak31-May-08 12:14
mveDave Kreskowiak31-May-08 12:14 
GeneralRe: I/O leak when using .NET functions Pin
WhiteDog31-May-08 15:57
WhiteDog31-May-08 15:57 
GeneralRe: I/O leak when using .NET functions Pin
Dave Kreskowiak1-Jun-08 3:57
mveDave Kreskowiak1-Jun-08 3:57 
QuestionpreInsert Trigger Pin
sahar_mal31-May-08 3:44
sahar_mal31-May-08 3:44 
AnswerRe: preInsert Trigger Pin
Dave Kreskowiak31-May-08 11:59
mveDave Kreskowiak31-May-08 11:59 
GeneralRe: preInsert Trigger Pin
sahar_mal1-Jun-08 20:18
sahar_mal1-Jun-08 20:18 
GeneralRe: preInsert Trigger Pin
Dave Kreskowiak2-Jun-08 1:28
mveDave Kreskowiak2-Jun-08 1:28 
GeneralRe: preInsert Trigger Pin
sahar_mal2-Jun-08 19:55
sahar_mal2-Jun-08 19:55 
QuestiondataGridView Chenge with ComboBox Pin
sahar_mal31-May-08 3:39
sahar_mal31-May-08 3:39 
QuestionTransfer Datas Pin
senthilsstil31-May-08 1:34
senthilsstil31-May-08 1:34 

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.