Web Development

General discussion


getDirectories in smart device app

By fhijleh ·
i'm trying to creat a smart device application using vb.net 2003. i want to list all the directories and files in a specified directroy. i'm get an ArgumentNullException when trying to use Directory.getcurrentDirectory. i have done the same thing for a desktop windows and it works.any one can help

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by RRV In reply to getDirectories in smart d ...

I expect your current dir in the smart device is a restricted dir or not a normal dir. instead of using current directory use
dim DrInf as new directoryInfo(path)
This works fine in most cases atleast.
Good Luck

Related Discussions

Related Forums