R
Roy Gunnarsson
Hello all,
We have a vendor who sends us hundreds of cab files each day. Each cab file
contains exactly one *randomly* named xml file which I want to extract, save
elsewhere under a different name, and parse. These tasks I can easily
accomplish *if* I know the name the xml file (not exactly correct - I can
extract the file to a directory of my choosing, but since I don't know the
name of the file, I have no way of moving, renaming, or parsing it according
to my needs (=my boss's wants). In other words, I would like to obtain a
string or an array containing the name(s) of the file(s) in the cab.
In VB6, I found a way (that can in no way be attributed to me) to do this
through a couple of API functions and callbacks. However, I was unsuccessful
to accomplish this in VB.NET. I'm still fairly new to .NET but it seems that
there should be some way to do this without too much pain.
Any help would be most appreciated.
Sincerely,
Roy Gunnarsson
We have a vendor who sends us hundreds of cab files each day. Each cab file
contains exactly one *randomly* named xml file which I want to extract, save
elsewhere under a different name, and parse. These tasks I can easily
accomplish *if* I know the name the xml file (not exactly correct - I can
extract the file to a directory of my choosing, but since I don't know the
name of the file, I have no way of moving, renaming, or parsing it according
to my needs (=my boss's wants). In other words, I would like to obtain a
string or an array containing the name(s) of the file(s) in the cab.
In VB6, I found a way (that can in no way be attributed to me) to do this
through a couple of API functions and callbacks. However, I was unsuccessful
to accomplish this in VB.NET. I'm still fairly new to .NET but it seems that
there should be some way to do this without too much pain.
Any help would be most appreciated.
Sincerely,
Roy Gunnarsson