Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to convert .zip file into string
Message
From
27/03/2008 11:50:23
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
27/03/2008 11:46:15
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01306186
Message ID:
01306201
Views:
17
>Dim oFileInfo As FileInfo = New FileInfo("C:\Inetpub\wwwroot\resonline \xmlWebservice\RQ00120.zip")
> Dim oReader As StreamReader = oFileInfo.OpenText
> Dim FileString As String = oReader.ReadToEnd
> oReader.Close()
> Return (FileString)

What are you planning on doing with the result? Are you trying to read a file that is contained in a zip file?
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform