gremlinkurst
New member
- Joined
- Jan 24, 2013
- Messages
- 2
- Programming Experience
- 1-3
Some background first, so you can see where I'm coming from (have patience, please): I started studying Logic and Algorithm Structures in BASIC when it was still an Instruction Programming Language; this was before QBASIC existed, before I learned of Visual Basic (not Visual Basic.NET). Several years later I got interested in C#, C++, and Visual Basic.NET. I've administered every Windows platform from Windows 95 to Windows 7, as well as a VAX-VMS 11 mainframe. I've got a couple of Microsoft certifications, but they're old and don't mean much anyway, especially the Network Administration (so MUCH has changed!). Oh, and I've also learned several Unix/Linux operating systems as well.
After a long time of not coding, I'm getting back into "the game;" I never did it professionally, exactly...but, I did work at Lamar University in Beaumont, Texas as a computer laboratory instructor. Anyhow, I'm breaking out my 2003 box/edition of Visual Basic.NET and am going to get a DIY refresher in the subject. Time and trauma-induced brain damage has robbed me of much of what I once knew, so I have to re-learn a lot of stuff much as a beginner would, but because of my experience, it wouldn't take nearly as long. Anyway, I have an idea for a learning project that I need some help with; I want to try to tailor my re-learning path to proceed along relevant, practical lines in the Windows world (not that many folks are selling the things I'm interested in buying on Linux platforms, but learning this stuff on Windows would have been easier if I'd STARTED on Unix).
The generally specific thing (oxymoron intended) I'd like to know is how do I get started working with Windows file systems from within a Visual Basic.NET application? The exact thing I need to know is how is VB.NET code implemented to look in Windows directories? I know how to get/search data contained in a specific FILE or matrix within a VB.NET project, but I have no idea, for instance, how to get it to find all items (excepting items in sub-directories) in this hypothetical directory: C:\Texts\, or the non-hypothetical directory: C:\ (again, excepting items in sub-directories), to get the same kind of information that Firefox gets when you instruct it to navigate a specific file path (see attached PNG).The matrix to temporarily store such limited data would be very simple to construct (that's NOT what I need assistance with); once I GET the data, I would know what to do with it (filter, manipulate, et cetera). I'm looking for code segments/snippets that illustrate the reading of Windows directories without considering nested directories (once I get the elemental concept I can then proceed to more complex structures). Being really anal about external and internal documentation (there are few things I detest more than an ironic and utter absence of information in or about a data package), of course I would cite contributors' efforts (in the event I share the results with others), even if the help was only being given a good URL or two. That's what I'm really asking for: Where, exactly, would I go on the 'net to find code examples of the type I'm talking about? My personal queries have been so abstrusely specific that I get VERY few returns, and NONE of them are relevant.
P.S.: I use "matrices" here as some may understand to be "indices." (or "indexes" to the less erudite)
After a long time of not coding, I'm getting back into "the game;" I never did it professionally, exactly...but, I did work at Lamar University in Beaumont, Texas as a computer laboratory instructor. Anyhow, I'm breaking out my 2003 box/edition of Visual Basic.NET and am going to get a DIY refresher in the subject. Time and trauma-induced brain damage has robbed me of much of what I once knew, so I have to re-learn a lot of stuff much as a beginner would, but because of my experience, it wouldn't take nearly as long. Anyway, I have an idea for a learning project that I need some help with; I want to try to tailor my re-learning path to proceed along relevant, practical lines in the Windows world (not that many folks are selling the things I'm interested in buying on Linux platforms, but learning this stuff on Windows would have been easier if I'd STARTED on Unix).
The generally specific thing (oxymoron intended) I'd like to know is how do I get started working with Windows file systems from within a Visual Basic.NET application? The exact thing I need to know is how is VB.NET code implemented to look in Windows directories? I know how to get/search data contained in a specific FILE or matrix within a VB.NET project, but I have no idea, for instance, how to get it to find all items (excepting items in sub-directories) in this hypothetical directory: C:\Texts\, or the non-hypothetical directory: C:\ (again, excepting items in sub-directories), to get the same kind of information that Firefox gets when you instruct it to navigate a specific file path (see attached PNG).The matrix to temporarily store such limited data would be very simple to construct (that's NOT what I need assistance with); once I GET the data, I would know what to do with it (filter, manipulate, et cetera). I'm looking for code segments/snippets that illustrate the reading of Windows directories without considering nested directories (once I get the elemental concept I can then proceed to more complex structures). Being really anal about external and internal documentation (there are few things I detest more than an ironic and utter absence of information in or about a data package), of course I would cite contributors' efforts (in the event I share the results with others), even if the help was only being given a good URL or two. That's what I'm really asking for: Where, exactly, would I go on the 'net to find code examples of the type I'm talking about? My personal queries have been so abstrusely specific that I get VERY few returns, and NONE of them are relevant.
P.S.: I use "matrices" here as some may understand to be "indices." (or "indexes" to the less erudite)
Last edited: