savefiledialog

Browse on remote computer using SaveFileDialog in WPF

Hi all, I am doing a WPF applications that controls different processes (every process communicates with the GUI over the network). I want to be able to send a command to those processes asking them to save some information in a file on their computer. For now, in the GUI, I simply display a TextBox and the user must enter the correct f...

Is it posible to save file with the desired name I choose

Hi all i will have some file name to be saved with the name i choose . Like when i click on save on my form i will show a save dialog option and on the file name of that window i would like to have the filename of my own like some or other name and when he clicks on save i would like to save that file... ANy idea.. Actually i have writ...

Multidot extension for SaveFileDialog in C#?

Basically I'm trying to set the SaveFileDialog's filter like let's say to... "Xml Document (.asdf.xml)|.asdf.xml". It'll filter the files correctly when picking a file, but when actually saving the file it only saves as a ".xml". Is this even supported? I also can't think of a suitable workaround as most workarounds seem to involve ne...

"Save as" dialog file name

Hey guys, I have a server running and a web client accessing it to download file. When I access server/.../MyFile/ the file named "MyFile" is downloaded and a pop up "Open , Save as" is displayed. When I click save as, the proposed name is "MyFile". How do I change it to another name? p.s. I can not change /MyFile to /SomeOtherFil...

Can you set the initial directory in Silverlight's SaveFileDialog

Can you set the initial directory in Silverlight's SaveFileDialog? I'm not seeing it as an option. If you can not set it in code how does Silverlight determines the initial directory. It looks like it remembers the last location used but is that per silverlight app. What about initial use of the savefiledialog (maybe the Desktop?) ...

Show Save As Dialog of IE using Watin

Anybody has done this? Navigating to a web page and pop up the save as dialog? In this way, the browser can handle the file type, html, pdf, etc... ...

Save text from rich text box with C#

This question has been answered. I've improved the code a bit (at least I think so). It now reminds of the aceepted answer to the question Open file in rich text box with C#. If I haven't made any mistakes (which I may have), the code should save a file with text from the rich text box rtfMain. The default file extension is .txt. You can...

Getting the FileName from Open(Save)FileDialogs In C# Using Hooks

Please keep in mind that is is my first post. Summary In a program, I need to be able to retrieve the FileName associated with a FileDialog by intercepting Windows messages without access to the dialog object creating the dialog. Background I have an unusual problem concerning dialogs in .NET 3.0 with C#. Currently, I am working on ...

How to open new OpenFileDialog automatically in Vista/Win7?

I'm on Vista and I'm using Microsoft.Win32.OpenFileDialog class. When I call ShowDialog() I get the old XP-style dialog: How do I get the new Vista-style dialog with fallback to the old one on WindowsXP? A bit of rumble: I don't really understand why they didn't replace the dialog in vista, but kept both of them. Now legacy apps wi...

iframe in FireFox sometimes pops up a "Save As..." dialog rather than loading the frame

I integrate phpBB on my site using iframe. It mostly works seamlessly and all looks great. Sometimes, for reasons I haven't figured out, the following page will not try to load the iframe in FireFox (will work on IE/Chrome) but instead open the "Save As..." (or open/save) dialog indicating the .php file has been served as text rather th...

OpenFileDialog->DialogShow() results cause errors in SQLite

I have a program that accesses a database using SQLite. When I open a OpenFileDialog or a SaveFileDialog before I do the SQLite call: result = sqlite3_prepare_v2(databaseConnection,converted,10000,&stmt,&strptr); and choose "Cancel", everything works okay (result == SQLITE_OK) but when I choose "Open", even if I don't do anything with...