Click here to Skip to main content
15,916,683 members
Home / Discussions / WPF
   

WPF

 
QuestionWPF ComboBox problems Pin
coolestnerd12-Jun-08 5:38
coolestnerd12-Jun-08 5:38 
AnswerRe: WPF ComboBox problems Pin
Jammer12-Jun-08 6:13
Jammer12-Jun-08 6:13 
GeneralRe: WPF ComboBox problems Pin
coolestnerd12-Jun-08 7:21
coolestnerd12-Jun-08 7:21 
QuestionClass for Updating version of Silverlight Application Pin
am 200912-Jun-08 0:40
am 200912-Jun-08 0:40 
AnswerRe: Class for Updating version of Silverlight Application Pin
Michael Sync15-Jun-08 16:15
Michael Sync15-Jun-08 16:15 
QuestionWPF ContextMenu -> open with left mouse-click??? Pin
AndyGrothe11-Jun-08 20:55
AndyGrothe11-Jun-08 20:55 
AnswerRe: WPF ContextMenu -> open with left mouse-click??? Pin
AndyGrothe16-Jun-08 21:57
AndyGrothe16-Jun-08 21:57 
QuestionUnexpected WPF Behaviour with Microsoft.Win32.OpenFileDialog [modified] Pin
Mitch F.11-Jun-08 18:57
Mitch F.11-Jun-08 18:57 
I've come across some really unexpected behavior using the OpenFileDialog, WPF, and a PocketPC (physical) device.

I'm trying to let users select a file on their PocketPC using an OpenFileDialog, and when the user selects Open, WPF copies the file into the Temporary Internet Files directory, and then returns that as the path. I'm really confused as to why this happens, but here's the code to reproduce it.

Dim ofd As New Microsoft.Win32.OpenFileDialog
ofd.CheckFileExists = False
ofd.CheckPathExists = True
ofd.AddExtension = False
ofd.Filter = "Folders|*.*"
ofd.Multiselect = False
ofd.InitialDirectory = "C:\"

ofd.ShowDialog()

Console.WriteLine(ofd.FileName)


When I select a file from the My Documents (eg, "\My Documents\Meeting Notes.psw") directory on my PocketPC, this is the output that is written in the console "C:\Users\*****\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\82P6MGLK\Meeting_Notes[1].psw" (Note, the astericks are used to hide my user-name). In addition to this, if you try it with a large file, the UI just freezes until the file finishes copying. Windows does not say that the program is "Not Responding", just you can't interact with the UI at all.

Does anyone know why this happens? It certainly is interesting behaviour.

Thanks,
Mitch

modified on Thursday, June 12, 2008 1:11 AM

AnswerRe: Unexpected WPF Behaviour with Microsoft.Win32.OpenFileDialog Pin
Pete O'Hanlon18-Jun-08 8:56
mvePete O'Hanlon18-Jun-08 8:56 
GeneralRe: Unexpected WPF Behaviour with Microsoft.Win32.OpenFileDialog Pin
Mitch F.18-Jun-08 10:15
Mitch F.18-Jun-08 10:15 
QuestionUnable to play audio from client Pin
vayanan11-Jun-08 12:38
vayanan11-Jun-08 12:38 
AnswerRe: Unable to play audio from client Pin
Jammer11-Jun-08 23:12
Jammer11-Jun-08 23:12 
AnswerRe: Unable to play audio from client Pin
Jasvinder Kumar Bali2-Sep-08 21:47
Jasvinder Kumar Bali2-Sep-08 21:47 
QuestionNeed C# Code to take Screenshot of a WPF application Pin
Arun00311-Jun-08 5:25
Arun00311-Jun-08 5:25 
AnswerRe: Need C# Code to take Screenshot of a WPF application Pin
Jammer11-Jun-08 6:19
Jammer11-Jun-08 6:19 
AnswerRe: Need C# Code to take Screenshot of a WPF application Pin
Thomas Stockwell19-Jun-08 16:16
professionalThomas Stockwell19-Jun-08 16:16 
QuestionSilverlight 2 (beta2) Article Competition Pin
Michael Sync11-Jun-08 5:00
Michael Sync11-Jun-08 5:00 
AnswerRe: Silverlight 2 (beta2) Article Competition Pin
248912822-Jul-08 23:46
248912822-Jul-08 23:46 
GeneralRe: Silverlight 2 (beta2) Article Competition Pin
Michael Sync31-Jul-08 23:02
Michael Sync31-Jul-08 23:02 
QuestionLoading Directx file in WPF Pin
Member 38458159-Jun-08 21:54
Member 38458159-Jun-08 21:54 
QuestionRe: Loading Directx file in WPF Pin
Jammer11-Jun-08 3:31
Jammer11-Jun-08 3:31 
AnswerRe: Loading Directx file in WPF Pin
Pete O'Hanlon11-Jun-08 4:54
mvePete O'Hanlon11-Jun-08 4:54 
AnswerRe: Loading Directx file in WPF Pin
KornZhang15-Jun-08 23:26
KornZhang15-Jun-08 23:26 
QuestionAccessing Dynamic Binary Resources In External Assembly [modified] Pin
Jammer9-Jun-08 5:06
Jammer9-Jun-08 5:06 
QuestionSilverLight Error Pin
bilal haider9-Jun-08 1:44
bilal haider9-Jun-08 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.