Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shell.Namespace equivalent
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01391468
Message ID:
01391471
Vues:
59
It is certainly doable in .NET using shell application, though I found C++ sample and this one
http://www.shellplus.com/examples/namespace-extension-example.html
for now.



>Sort of amazingly enough this code works great to open an ftp directory:
>
>
>loShell = createobject( "shell.application" )
>loSource = loShell.NameSpace( "ftp://1.1.1.1/exports/" )
>for each loFile in loSource.Items
>   debugout loFile.Name
>endfor
>
>
>Trying this in C# though doesn't:
>
>
>using System;
>using System.IO;
>using System.Collections.Generic;
>...
>DirectoryInfo di = new DirectoryInfo("ftp://1.1.1.1/exports/");
>
>
>Is there an equivalent in the .Net framework?
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