[ 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: 17:33:59 04/04/02 Thu
Author: Michel
Subject: Re: Internet Browser an plug-in
In reply to: Gerson Guerios 's message, "Re: Internet Browser an plug-in" on 15:37:13 04/04/02 Thu

Hi Gerson,

If this is a single page file, use

LoadFromStream (stream, ' .tif ', 1);

instead of 0 for the last parameter.

0 is used to load all images in memory from a multipage file.

The other possibility is that the file is corrupt.

Best regards,

>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,
>>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,
>>>Hi Michel
>>>I am developing an ActiveX with the purpose of
>>>images in browser.
>>>how to open a file using http?
>>> stream: TMemoryStream;
>>> 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 ',
>>> pageUpDown.Max := imageScrollBox.FrameCount;
>>> PageEdit.Text := ' 1 ';
>>> finally
>>> EndHourglass;
>>> end;
>>> FDirty := False;
>>>/ / ZoomEditChange(Self);
>>> Result := True;
>>>Message comes back informing error when opening the
>>>Could it help me?
>>>>Hi Gerson,
>>>>I am not familiar with the programming of plugins.
>>>>Envision would be able to help to read the files,
>>>>you'll need information on how to create the
>>>>In IE, you could create an ActiveX, but I tend to
>>>>away from these as much as possible.
>>>>Best regards,
>>>>>I would like to build an application to visualize
>>>>>images in Internet Browser, using the language
>>>>>How can I use ' Envision Image Library' in a
>>>>>plug-in '?

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

[ 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.