打开文件对话框不浏览下.NET CF中的文件夹 [英] OpenFileDialog does not browse the folders under .NET CF
问题描述
我有一个应用程序的WinMo,我想从存储卡打开一个文件。该文件没有根,但该文件夹结构中。我想打开文件对话框会做只是因为它定期.NET的伎俩。但它不提供我的文件夹浏览过。我看起来真的跛脚。还是我只是愚蠢出色?
I have an WinMo app and I would like to open a file from the storage card. The file is NOT in the root but within the folder structure. I thought OpenFileDialog would do the trick just as it does under regular .NET. But it does not offer me to navigate over the folders. I looks really lame. Or am I just outstandingly stupid?
推荐答案
的OFD在CF,说穿了,很烂。它只能浏览一些特定的文件夹的能力,作为一个开发人员,你有超过他们是什么无法控制。要浏览你需要的所有文件夹或者推出自己的对话框或获得的a第三方之一。
The OFD in the CF, to put it bluntly, sucks. It has the ability to only browse a few select folders, and as a developer you have no control over what they are. To browse all folders you need to either roll your own dialog or get a third-party one.
这篇关于打开文件对话框不浏览下.NET CF中的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!