Click here to Skip to main content
15,922,584 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralListbox Pin
rstat14-Apr-05 15:05
rstat14-Apr-05 15:05 
GeneralRe: Listbox Pin
Dave Kreskowiak5-Apr-05 3:28
mveDave Kreskowiak5-Apr-05 3:28 
GeneralRe: Listbox Pin
rstat15-Apr-05 9:46
rstat15-Apr-05 9:46 
GeneralRe: Listbox Pin
Dave Kreskowiak5-Apr-05 10:25
mveDave Kreskowiak5-Apr-05 10:25 
GeneralDetermining File Type Pin
Anonymous4-Apr-05 11:42
Anonymous4-Apr-05 11:42 
GeneralRe: Determining File Type Pin
Anonymous4-Apr-05 14:59
Anonymous4-Apr-05 14:59 
GeneralRe: Determining File Type Pin
Anonymous4-Apr-05 16:51
Anonymous4-Apr-05 16:51 
GeneralEnumerating PATH environment variable. Pin
MrRich4-Apr-05 10:56
MrRich4-Apr-05 10:56 
I need a bit of help. I'm trying to enumerate the windows PATH environment variable so that each directory listed in the PATH variable can be extracted and displayed/edited/messed with individually.

I can retreive the path no problem, and i could probably parse the string and store the results in a collection, to achieve this, but that seems a bit cumbersome.

basically i'm trying to see if a file exist in any of the directories listed in the PATH variable. So i'd like to be able to do something like this.


For each path in winpath
If File.Exists(PATH & "\file.nam") Then
bExists = True
End If
Next


or something like that.

anyone know the easiest way this can be accomplished?

I R NUB
GeneralRe: Enumerating PATH environment variable. Pin
Anonymous4-Apr-05 16:27
Anonymous4-Apr-05 16:27 
GeneralRePost, I messed up the first one Pin
Anonymous4-Apr-05 16:30
Anonymous4-Apr-05 16:30 
GeneralDang it Pin
Anonymous4-Apr-05 16:33
Anonymous4-Apr-05 16:33 
GeneralTCP client with integers Pin
Member 8079984-Apr-05 9:27
Member 8079984-Apr-05 9:27 
GeneralTrying to understand Data Access - Never Mind! Pin
frgood4-Apr-05 9:25
frgood4-Apr-05 9:25 
GeneralHelp me ASAP. Pin
abeyphier4-Apr-05 4:05
abeyphier4-Apr-05 4:05 
GeneralRe: Help me ASAP. Pin
Christian Graus4-Apr-05 10:34
protectorChristian Graus4-Apr-05 10:34 
GeneralRe: Help me ASAP. Pin
Dave Kreskowiak4-Apr-05 14:13
mveDave Kreskowiak4-Apr-05 14:13 
GeneralRe: Help me ASAP. Pin
Christian Graus4-Apr-05 14:23
protectorChristian Graus4-Apr-05 14:23 
GeneralRe: Help me ASAP. Pin
Dave Kreskowiak4-Apr-05 16:00
mveDave Kreskowiak4-Apr-05 16:00 
GeneralAccess-- Connection String Pin
Anonymous4-Apr-05 3:30
Anonymous4-Apr-05 3:30 
GeneralRe: Access-- Connection String Pin
Jim Matthews4-Apr-05 4:47
Jim Matthews4-Apr-05 4:47 
GeneralRe: Access-- Connection String Pin
Anonymous4-Apr-05 5:10
Anonymous4-Apr-05 5:10 
GeneralRe: Access-- Connection String Pin
Jim Matthews4-Apr-05 5:30
Jim Matthews4-Apr-05 5:30 
GeneralRe: Access-- Connection String Pin
Anonymous4-Apr-05 6:16
Anonymous4-Apr-05 6:16 
GeneralRe: Access-- Connection String Pin
Jim Matthews4-Apr-05 6:50
Jim Matthews4-Apr-05 6:50 
Generalhello anybody can solve it Pin
Anonymous4-Apr-05 3:17
Anonymous4-Apr-05 3:17 

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.