P
Peter Wallington
Hi All,
Can anyone help me out with this one. I have a basic aspx page with an image placeholder on it. I want to be able to click a button on the page and have a dialog window appear where I can navigate the Client's PC and select a file (a JPG of GIF). I then want to change the image placeholder to display the selected image.
The problem I have is that I just can't work out how to browse the clients hard-disk. I have tried "
commonDialog1 = CreateObject("UserAccounts.CommonDialog")" and
"MyFolder = New System.Windows.Forms.FolderBrowserDialog"
but both give me a dialog window 'ghost' that is, the appear as a frame without any contents. The only way I know they are there is if I drag another application window over them. The screen tries to redraw them without any luck.
TIA,
Peter Wallington
Can anyone help me out with this one. I have a basic aspx page with an image placeholder on it. I want to be able to click a button on the page and have a dialog window appear where I can navigate the Client's PC and select a file (a JPG of GIF). I then want to change the image placeholder to display the selected image.
The problem I have is that I just can't work out how to browse the clients hard-disk. I have tried "
commonDialog1 = CreateObject("UserAccounts.CommonDialog")" and
"MyFolder = New System.Windows.Forms.FolderBrowserDialog"
but both give me a dialog window 'ghost' that is, the appear as a frame without any contents. The only way I know they are there is if I drag another application window over them. The screen tries to redraw them without any luck.
TIA,
Peter Wallington