openfileorfolderdialog's People
Forkers
rakosmanjr danzaslap andyyou patelmayurm narts ninputer bhramar frankvandebergh nicktherock kod3r cameronmease blind17 bilalovim leftas itaygal2 raulalf7 cvchriswilson 183181731 tbscer synless ralucabolba antongre tadasvirsilas wudexiang zakgodwin tehsaya angelh98 andrewlunin sergey-mishchenko jartim00 maurosabiu 020gzh trung1234 chuong1511 22613 honestresolv3 sergeycherevan dydimitrov colorcloud5 qtfy2021 vmandradeopenfileorfolderdialog's Issues
Window doesn't show under VS 2015
Hi, I imported OpenFileOrFolderDialog.cs, InteropUtil.cs, InternalErrorException.cs, and Util.cs into my Visual C# project, then following the example code, made a button and attached code
`private void LoadFolderButton_Click(object sender, EventArgs e)
{
using (OpenFileOrFolderDialog folderBrowserDialog1 = new OpenFileOrFolderDialog())
{
folderBrowserDialog1.AcceptFiles = false;
folderBrowserDialog1.Path = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
folderBrowserDialog1.ShowDialog();
}
}`
However, no window shows up. I traced the code, and as soon as the OpenFileOrFolderDialog constructor ends, the body of the using block is executed. There are no compilation errors or anything, just nothing shows up. I'm targeting .NET 4.5.2, if that matters. Is this a known limitation or is there something I can do here?
Thanks
Does not compile in Visual Studio 2012
I am trying to compile and build the Project in Visul Studio 2012 .
But it does not compile .
Following is the error:
Error 1 The command ""C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\rc.exe" /i "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include" /i "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\include" /r /fo "obj\Debug\res1.res" res1.rc" exited with code 9009. C:\Users\Bhramar\Downloads\OpenFileOrFolderDialog-master\OpenFileOrFolderDialog-master\WindowsFormsApplication1.csproj 104 5 WindowsFormsApplication1
Set filter?
Hi,
I'd like to know if it's possible to set Filter as in OpenFileDialog ofd.Filter = "someExt(.jkl)|.jkl"
Thanks!
Ephraim
Navigating using the Libraries shortcut causes the dialog's Path property to fill with garbage
When using the OpenFileOrFolderDialog to choose a file or folder, if you navigate to any of the folders contained in the "Libraries" in Windows 7, the Path property will contain garbage.
Here's my code:
using (var dialog = new OpenFileOrFolderDialog())
{
dialog.AcceptFiles = true;
if (dialog.ShowDialog() == DialogResult.OK)
{
textBox1.Text = dialog.Path;
}
}
To reproduce, run the above code. Select "Libraries" on the left pane of the dialog. Then navigate to Documents (Music, Videos, etc. work as well). Highlight a subdirectory inside of Documents and press the Select button. The Path property will contain some garbage.
Example outputs:
拀
≐䬠怂麌곫
Ũ߁߂
Ⅰश㭸߀
摸߁�Volume{b3217025-7d33-11e0-895c-806e6f6e6963}\
岐࠭㰘࠷SERSPROFILE=C:\ProgramData
My project is .NET 4.0 and I'm using Visual Studio 2010. My OS is Windows 7 Professional 64-bit
it's cann't a customized look
it's cann't a customized look
Dialog not opening in Visual Studio 2017
I know this is a fairly old project, but I thought I would take a shot at trying to solve my issue.
Like reubengann created an issue for "Window doesn't show" I am having the same problem. There are not errors in my code and I have imported both the res1.rc and the resource.h, but I can't figure out what the problem is. I see you said copy the custom build logic in the msbuild file, but i am not sure what that means or where I can get it. If you get a chance, a quick help would be greatly appreciated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.