Quantcast
Channel: MonoBrick.DK » All Posts
Viewing all articles
Browse latest Browse all 160

Problems with Brick.FileSystem commands

$
0
0

Thank you for this awesome code you have shared. I am using it to build a C# program and teach the kids a bit about programming and robotics.

Just about everything works great for me, except one thing. I can not get the file system commands to work. It ‘sort of’ works, but it does not get all the files on the system. It seems to find all the sub directories just fine, but it fails to properly get some or all of the files from each sub directory.

I have tried two approaches: the Brick.Filesystem.GetFolderStructure function and writing my own recursive function using a call to Brick.FileSystem.GetFolderInfo( ). Neither one works without some defects?

Also, of the files I do get, I am able to send command to start only one program; I can start the Demo.rpf that comes as the default program. However, my own programs (*.rbf) files do not play.

Does anyone have advice about possible problems and solutions with using file system commands?

Thank you

GB


Viewing all articles
Browse latest Browse all 160

Trending Articles