Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collision with simultaneous hits
Message
De
19/11/2013 09:05:41
 
 
À
19/11/2013 03:48:19
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01588296
Message ID:
01588308
Vues:
33
>>There was a bad object being used. This had to be HttpWebResponse instead of WebResponse. I also added the close of the objects.
>
>
>(1) The close statements are not where they should be.

From various locations, this is where the example and documentation stated to place them.

>(2) Don't you have to close loStream ?

In those places, this does not seem to be needed.

>Why not 3 nested 'using' ?

That could work also.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform