.net +文件夹浏览器的版本 [英] version of .net + folder browser
问题描述
您好,我正在使用
..Net Framework 1.1 - 版本:1.1.4322
和Development Enviroment2003 - 版本7.1 .3088。
这个版本的.Net应该有一个普通的文件夹浏览器还是
可能是因为版本不是我不能有一个普通的文件夹
浏览器?
如果没有,我可以使用哪个控件?
非常感谢你!
***通过开发人员指南 http://www.developersdex.com 发送** *
不要只参加USENET ......获得奖励!
Hello ,I am working with
..Net Framework 1.1 - Version:1.1.4322
and Development Enviroment2003 - Version 7.1.3088.
Is this version of .Net supposed to have a normal folder browser or
might be that the version is the reason I don''t have a normal folder
browser?
If not,which control could I use instead?
Thank you very much!
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
推荐答案
Juli Jul,
你试过这个吗
{
FolderBrowserDialog fb = new FolderBrowserDialog();
fb .ShowDialog();
MessageBox.Show(fb.SelectedPath);
}
我以为我告诉过你以前版本的标准网1.1
版本有一个在Net SP1中修复的错误。然而,当你的路径短于128个字符时,它必须做到没有那个。
我希望这有帮助吗?
Cor
Juli Jul,
Did you try this one
{
FolderBrowserDialog fb = new FolderBrowserDialog();
fb.ShowDialog();
MessageBox.Show(fb.SelectedPath);
}
I thought that I told you in a previous version that the standart Net 1.1
version has a bug which is repared in Net SP1. However this it has to do
withouth that as well when your paths are shorter than 128 characters.
I hope this helps?
Cor
定义普通文件夹浏览器。选项是
System.Windows.Forms.FolderBrowserDialog或在Shell32.dll中使用SHBrowseForFolder
函数。
HTH
DalePres
" juli jul" <菊****** @ yahoo.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
Define "normal folder browser". The options are the
System.Windows.Forms.FolderBrowserDialog or to use the SHBrowseForFolder
function in the Shell32.dll.
HTH
DalePres
"juli jul" <ju******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
您好,我正在使用
Net Framework 1.1 - 版本:1.1.4322
和Development Enviroment2003 - 版本7.1.3088。
此版本的.Net应该是有一个普通的文件夹浏览器或者
可能是因为我没有普通的文件夹浏览器吗?
如果不是,我可以使用哪种控件?
非常感谢!
***通过Developersdex发送 http:// www.developersdex.com ***
不要只是参加USENET ......获得奖励!
Hello ,I am working with
Net Framework 1.1 - Version:1.1.4322
and Development Enviroment2003 - Version 7.1.3088.
Is this version of .Net supposed to have a normal folder browser or
might be that the version is the reason I don''t have a normal folder
browser?
If not,which control could I use instead?
Thank you very much!
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
你好,
与普通文件夹我的意思是:
System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
我试图做ShowDialog ()方法,我所能看到的仍然是一个没有文件夹的空窗口选择。
有人可以帮忙吗?谢谢!
***通过Developersdex发送 http:/ /www.developersdex.com ***
不要只是参加USENET ......获得奖励!
Hello,
with the normal folder I mean the :
System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
I tried to do the ShowDialog() method and all I can see is still an
empty window with no folders to choose.
Could someone help? Thank you!
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
这篇关于.net +文件夹浏览器的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!