General discussion

Locked

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.

1 total post (Page 1 of 1)  
| 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
RV

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Forums