Click here to Skip to main content
15,891,136 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Popup box Pin
carrigart10-Feb-09 21:57
carrigart10-Feb-09 21:57 
GeneralRe: Popup box Pin
Dave Kreskowiak11-Feb-09 1:28
mveDave Kreskowiak11-Feb-09 1:28 
QuestionAdd all files under a particular folder and subfolders to listbox [modified] using VB.Net Pin
SankarKonagalla9-Feb-09 19:24
SankarKonagalla9-Feb-09 19:24 
AnswerRe: Add all files under a particular folder and subfolders to listbox [modified] using VB.Net Pin
Rupesh Kumar Swami9-Feb-09 20:54
Rupesh Kumar Swami9-Feb-09 20:54 
Questionhow do i get the exe reference (dll) files using vb.net Pin
kvelu.d9-Feb-09 19:21
kvelu.d9-Feb-09 19:21 
AnswerRe: how do i get the exe reference (dll) files using vb.net Pin
Dave Kreskowiak10-Feb-09 1:51
mveDave Kreskowiak10-Feb-09 1:51 
GeneralRe: how do i get the exe reference (dll) files using vb.net Pin
kvelu.d10-Feb-09 2:14
kvelu.d10-Feb-09 2:14 
GeneralRe: how do i get the exe reference (dll) files using vb.net Pin
Dave Kreskowiak10-Feb-09 3:39
mveDave Kreskowiak10-Feb-09 3:39 
Ohhh...you didn't specifiy that in your question. References don't exist at runtime, so you can't get this list. But, there's is a close approximation.

You can find the CURRENTLY LOADED assemblies (kind of like your references) for an AppDomain by getting the list from AppDomain.CurrentDomain.GetAssemblies(). Something like:
Imports System.Reflection
.
.
.
    Dim assemblies As Assembly() = AppDomain.CurrentDomain.GetAssemblies()
    For Each a As Assembly In assemblies
        Console.WriteLine(String.Format("Codebase: {0}", a.CodeBase))
        Console.WriteLine(String.Format("FullName: {0}", a.FullName))
    Next

Now, as you run your application, this list may change as execution moves from one assembly in your app to another.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




Questionread keyboard wedge scanner in vb.net Pin
Member 37427839-Feb-09 8:05
Member 37427839-Feb-09 8:05 
AnswerRe: read keyboard wedge scanner in vb.net Pin
Dave Kreskowiak9-Feb-09 12:06
mveDave Kreskowiak9-Feb-09 12:06 
AnswerRe: read keyboard wedge scanner in vb.net Pin
Maxwell Barrett10-Feb-09 4:22
Maxwell Barrett10-Feb-09 4:22 
GeneralRe: read keyboard wedge scanner in vb.net Pin
Member 374278310-Feb-09 4:38
Member 374278310-Feb-09 4:38 
GeneralRe: read keyboard wedge scanner in vb.net Pin
Maxwell Barrett10-Feb-09 5:40
Maxwell Barrett10-Feb-09 5:40 
QuestionCross thread operation not valid: Pin
Muhammad Fahim Baloch9-Feb-09 5:26
Muhammad Fahim Baloch9-Feb-09 5:26 
QuestionReferencing question Pin
kanchoette9-Feb-09 3:41
kanchoette9-Feb-09 3:41 
AnswerRe: Referencing question Pin
EliottA9-Feb-09 5:48
EliottA9-Feb-09 5:48 
AnswerRe: Referencing question Pin
Gideon Engelberth9-Feb-09 16:30
Gideon Engelberth9-Feb-09 16:30 
QuestionErr:"The semaphore timeout period has expired"-Using Port Pin
scothyhut9-Feb-09 1:01
scothyhut9-Feb-09 1:01 
AnswerRe: Err:"The semaphore timeout period has expired"-Using Port Pin
Dave Kreskowiak9-Feb-09 7:55
mveDave Kreskowiak9-Feb-09 7:55 
QuestionHow to use third party dll at runtime with help of (dll) file path and procedure name Pin
kvelu.d8-Feb-09 19:16
kvelu.d8-Feb-09 19:16 
AnswerRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
MohammadAmiry8-Feb-09 19:19
MohammadAmiry8-Feb-09 19:19 
GeneralRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
kvelu.d9-Feb-09 0:31
kvelu.d9-Feb-09 0:31 
GeneralRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
kvelu.d9-Feb-09 0:35
kvelu.d9-Feb-09 0:35 
GeneralRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
MohammadAmiry9-Feb-09 1:11
MohammadAmiry9-Feb-09 1:11 
AnswerRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
Steven J Jowett8-Feb-09 22:29
Steven J Jowett8-Feb-09 22:29 

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.