Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to convert .zip file into string
Message
 
 
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:
01306203
Views:
10
>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)

Check http://msdn2.microsoft.com/en-us/library/ms143369.aspx but I'm not sure it would work with zip files.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform