Re: File Open Dialog
From: bruce barker (nospam_brubar_at_safeco.com)
Date: 01/18/05
- Next message: Kevin Spencer: "Re: SQL query... is there a better way?"
- Previous message: Stephane: "Re: ASPNET can't write in event log on win XP"
- In reply to: JoNaS: "File Open Dialog"
- Next in thread: JoNaS: "Re: File Open Dialog"
- Reply: JoNaS: "Re: File Open Dialog"
- Reply: JoNaS: "Re: File Open Dialog"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 Jan 2005 12:32:18 -0800
cab files are used with an install and IE uses the interal inf file. the cab
file also must be signed. you can reference the dll directly if it has no
other dependences. the user will still have to trust your site to get the
download, and must have the framework preinstalled.
-- bruce (sqlwork.com)
"JoNaS" <JoNaS@discussions.microsoft.com> wrote in message
news:0A5FAC24-9397-4490-8B82-90701AE2B8C2@microsoft.com...
| As a lot of us might now, the input file (aka browse button) in html does
not
| allow for multiple file selection or for filtering file types. The File
Open
| dialog used in WinForms allow these things and more.
|
| I developed a windows user control in VB.NET with a button and File Open
| Dialog, which allows multiple file selection. I registered the assembly
with
| regasm.exe and call the object from the html page with the object tag:
|
| <OBJECT id="MyWinControl1" codeBase="Cab2.cab"
| type="application/x-oleobject" height="280" width="480"
| classid="CLSID:28766FA7-91E9-3A61-BC65-1981B6E6E840"
| VIEWASTEXT></object>
|
| When i run the page locally it works because the object is registered, but
| when the page is ran from a computer that does not have the assembly
| registered i get the little x icon in the browser. I thought the codeBase
| will execute and prompt the user if they wanted to install the software,
but
| it doesn't.
|
| Am I doing something wrong? Should the codebase reference the dll
directly?
| Should i use a different approach? Is this possible? If it was possible
and
| someone would help me make this work, would the user need to have the
| framework installed in their machine?
- Next message: Kevin Spencer: "Re: SQL query... is there a better way?"
- Previous message: Stephane: "Re: ASPNET can't write in event log on win XP"
- In reply to: JoNaS: "File Open Dialog"
- Next in thread: JoNaS: "Re: File Open Dialog"
- Reply: JoNaS: "Re: File Open Dialog"
- Reply: JoNaS: "Re: File Open Dialog"
- Messages sorted by: [ date ] [ thread ]