VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345[6]78910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 15:37:13 04/04/02 Thu
Author: Gerson Guerios
Subject: Re: Internet Browser an plug-in
In reply to: Michel 's message, "Re: Internet Browser an plug-in" on 17:50:56 04/03/02 Wed

Hi Michel

I thank your information.

I am using a function to download the file from server to browser. It is working very well.

But, it remains a problem.

Before the exhibition of the file an exception is generated (EEnvisionError) with the following message:
' Frame 1 does not exist' !!

You could help me.

Best regards,
Gerson

>
>Hi Gerson,
>
>I don't have any experience with this. One thing is
>sure, TMemoryStream.LoadFromFile expects a file on the
>file system, not a http link.
>
>You cannot load a file given an http link. I am not
>sure what you intent is. If this is really a file
>located on a web server, you would need a http client
>to get the file from the server first.
>
>Best regards,
>
>Michel
>
>
>
>
>>Hi Michel
>>I am developing an ActiveX with the purpose of showing
>>images in browser.
>>
>>Question:
>>
>>how to open a file using http?
>>
>>Example:
>>var
>> stream: TMemoryStream;
>>begin
>> ffileName := '<a rel=nofollow target=_blank href="http://asp007/chapter1.tif';">http://asp007/chapter1.tif';</a>
>>
>>
>> BeginHourglass;
>> try
>> stream := TMemoryStream.Create;
>> stream.LoadFromFile (ffileName);
>> PageUpDown.Min := 1;
>> imageScrollBox.AntiAliased := True;
>> imageScrollBox.LoadFromStream (stream, ' .tif ',
>>0);
>> pageUpDown.Max := imageScrollBox.FrameCount;
>> PageEdit.Text := ' 1 ';
>>
>> finally
>> EndHourglass;
>> end;
>>
>> FDirty := False;
>>
>>/ / ZoomEditChange(Self);
>>
>> Result := True;
>>end;
>>
>>Message comes back informing error when opening the
>>file!
>>
>>Could it help me?
>>
>>Gerson
>>>
>>>Hi Gerson,
>>>
>>>I am not familiar with the programming of plugins.
>>>Envision would be able to help to read the files, but
>>>you'll need information on how to create the plugins.
>>>
>>>In IE, you could create an ActiveX, but I tend to
>stay
>>>away from these as much as possible.
>>>
>>>Best regards,
>>>
>>>Michel
>>>
>>>>Michel
>>>>
>>>>I would like to build an application to visualize
>>>>images in Internet Browser, using the language
>>Delphi.
>>>>
>>>>
>>>>How can I use ' Envision Image Library' in a program
>>'
>>>>plug-in '?

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.