Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simplifying initialization
Message
De
16/03/2010 22:20:44
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Simplifying initialization
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01454988
Message ID:
01454988
Vues:
87
Is there any way to simplify this initialization:
            Dim loFTP As System.Net.FtpWebRequest = Nothing

            ' Initialize FTP object
            loFTP = CType(System.Net.FtpWebRequest.Create(lcURI), System.Net.FtpWebRequest)
I got this code originally from C# and I am trying to put it in a more readable syntax.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform