Click here to Skip to main content
16,016,425 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: NEED HELP! - Simple string manipulation Pin
RichardGrimmer4-Jul-06 1:18
RichardGrimmer4-Jul-06 1:18 
QuestionBinaryWrite and the "Action canceled" page Pin
Chris Losinger30-Jun-06 5:31
professionalChris Losinger30-Jun-06 5:31 
AnswerRe: BinaryWrite and the "Action canceled" page Pin
Shog930-Jun-06 15:56
sitebuilderShog930-Jun-06 15:56 
GeneralRe: BinaryWrite and the "Action canceled" page Pin
Chris Losinger30-Jun-06 20:15
professionalChris Losinger30-Jun-06 20:15 
GeneralRe: BinaryWrite and the "Action canceled" page Pin
Shog91-Jul-06 5:48
sitebuilderShog91-Jul-06 5:48 
GeneralRe: BinaryWrite and the "Action canceled" page Pin
Chris Losinger1-Jul-06 6:37
professionalChris Losinger1-Jul-06 6:37 
GeneralRe: BinaryWrite and the "Action canceled" page Pin
Shog91-Jul-06 6:59
sitebuilderShog91-Jul-06 6:59 
GeneralRe: BinaryWrite and the "Action canceled" page [modified] Pin
Chris Losinger1-Jul-06 7:11
professionalChris Losinger1-Jul-06 7:11 
Shog9 wrote:
Can you see if it's doing anything dodgy with navigation?


it's just doing a ShellExecute on a URL i provide.

the whole system is something like this:

desktop app starts an embedded IE window and calls out to the server to get a page to display. my code makes that page, so i can put anything i need to on it. the user hits links on that page which do various things: some are handled by the app, some go to other external URLs, some go back to our servers for various things, including documents. for some links, the app intercepts the navigate, does a little pre-processing, then ShellExecutes the link. i've tried these downloading things both ways, with the same result.

in the case of downloading, we have links that look like this:

http://getfile.asp?filename=____&blah=____

getfile.asp is pretty much what i posted above (with some path checks, to make sure nothing gets downloaded that shouldn't).

and, now that i think of it, there probably is a target="_blank" in there. otherwise, the document opens in the embedded IE window, and that's not what we want. i've fixed that bug a couple of times.. Smile | :)

Shog9 wrote:
and the only thing remotely similar to what you describe happens when i intercept the browser control's BeforeNavigate2 event and try to perform the navigation myself


for me, it's only happening with JPGs. .DOC, .PDF, etc. work OK (the new IE window goes away). but with JPGs i get the Action Canceled page, as soon as the registered JPG-handling app gets the file.

very puzzling.

thanks for spending some time on this.... i spent all of thursday and friday banging away at this wall.


Cleek | Image Toolkits | Thumbnail maker


-- modified at 13:14 Saturday 1st July, 2006
GeneralRe: BinaryWrite and the "Action canceled" page Pin
Shog91-Jul-06 7:37
sitebuilderShog91-Jul-06 7:37 
AnswerRe: BinaryWrite and the "Action canceled" page Pin
Edbert P2-Jul-06 15:33
Edbert P2-Jul-06 15:33 
GeneralRe: BinaryWrite and the "Action canceled" page Pin
Chris Losinger2-Jul-06 16:10
professionalChris Losinger2-Jul-06 16:10 
QuestionHow to retrieve data stored on a different server... Pin
aspwizkid29-Jun-06 20:46
aspwizkid29-Jun-06 20:46 
QuestionBeginner Question about Firefox Controls Pin
Richard Andrew x6429-Jun-06 9:26
professionalRichard Andrew x6429-Jun-06 9:26 
QuestionOpening new windows from ASP Pin
mjackson1129-Jun-06 8:29
mjackson1129-Jun-06 8:29 
AnswerRe: Opening new windows from ASP Pin
ketankumar29-Jun-06 21:01
ketankumar29-Jun-06 21:01 
GeneralRe: Opening new windows from ASP Pin
mjackson1130-Jun-06 2:41
mjackson1130-Jun-06 2:41 
QuestionDesign Patterns Pin
shireenkhera@gmail.com29-Jun-06 7:44
shireenkhera@gmail.com29-Jun-06 7:44 
AnswerRe: Design Patterns Pin
Guffa29-Jun-06 8:26
Guffa29-Jun-06 8:26 
QuestionHow to write flash games Pin
Brent Lamborn29-Jun-06 4:35
Brent Lamborn29-Jun-06 4:35 
AnswerRe: How to write flash games Pin
Axel Seitz30-Jun-06 13:45
Axel Seitz30-Jun-06 13:45 
QuestionRaising "Save..Open" dialog [modified] Pin
zefferno29-Jun-06 3:33
zefferno29-Jun-06 3:33 
AnswerRe: Raising "Save..Open" dialog Pin
Guffa29-Jun-06 4:06
Guffa29-Jun-06 4:06 
GeneralRe: Raising "Save..Open" dialog Pin
eggsovereasy29-Jun-06 10:32
eggsovereasy29-Jun-06 10:32 
GeneralRe: Raising "Save..Open" dialog Pin
Guffa29-Jun-06 13:27
Guffa29-Jun-06 13:27 
GeneralRe: Raising "Save..Open" dialog Pin
eggsovereasy29-Jun-06 15:19
eggsovereasy29-Jun-06 15:19 

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.