Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shell.Namespace equivalent
Message
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01391468
Message ID:
01391471
Views:
58
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform