Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to convert .zip file into string
Message
 
 
À
27/03/2008 11:46:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01306186
Message ID:
01306203
Vues:
9
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform