Discussion Locked

getDirectories in smart device app

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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

1 reply

by rrv

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

This discussion is closed to new replies.