Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to convert .zip file into string
Message
De
27/03/2008 11:50:23
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
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:
01306201
Vues:
18
>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/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform