打开目录 [英] Open a Directory

查看:75
本文介绍了打开目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图打开一个目录(好像我已经浏览过

windows中的目录)来自代码


im checked system.io.directory但似乎没有一个开放的命令

(或类似的)


是否有一种简单的方法可以做到这一点?


谢谢


Mike Fellows

im trying to open a directory (as if i had browsed to the directory in
windows) from code

im checked system.io.directory but there doesnt seem to be an open command
(or similar)

is there an easy way to do this?

thanks

Mike Fellows

推荐答案

嗨Mike,

我假设您正在寻找在Net 1.1中的folderbrowserdialog


在Herfried说它之前有一个错误我从中了解它

可以设置你的程序完全超出范围,当路径超过128

字符时。


Cor
Hi Mike,

I assume you are looking for the folderbrowserdialog which is in Net 1.1

Before Herfried says it there is a bug in it from which I understand that it
can set your program totally out of scope when the paths have more than 128
characters.

Cor


感谢Cor

" Cor Ligthert" <无********** @ planet.nl>在消息中写道

news:u%**************** @ TK2MSFTNGP11.phx.gbl ...
Thanks Cor
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:u%****************@TK2MSFTNGP11.phx.gbl...
嗨Mike ,

我假设您正在寻找Net 1.1中的folderbrowserdialog

在Herfried说它之前有一个错误,据我所知,
它当路径超过
128个字符时,可以将程序设置为完全超出范围。

Hi Mike,

I assume you are looking for the folderbrowserdialog which is in Net 1.1

Before Herfried says it there is a bug in it from which I understand that it can set your program totally out of scope when the paths have more than 128 characters.

Cor



你好Cor,


我怎么用这个 - 我发现它在system.windows.forms

但我似乎无法得到任何东西来自它


i只想打开c:\ test文件夹


但似乎无法做到这一点


谢谢


迈克


" Cor Ligthert" <无********** @ planet.nl>在消息中写道

news:u%**************** @ TK2MSFTNGP11.phx.gbl ...
Hi Cor,

how on earth do i use this - ive found it in system.windows.forms
but i seem unable to get anything from it

i simply want to open c:\test folder

but cant seem to get it to do this

Thanks

Mike

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:u%****************@TK2MSFTNGP11.phx.gbl...
嗨Mike ,

我假设您正在寻找Net 1.1中的folderbrowserdialog

在Herfried说它之前有一个错误,据我所知,
它当路径超过
128个字符时,可以将程序设置为完全超出范围。

Hi Mike,

I assume you are looking for the folderbrowserdialog which is in Net 1.1

Before Herfried says it there is a bug in it from which I understand that it can set your program totally out of scope when the paths have more than 128 characters.

Cor



这篇关于打开目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆