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: 1[2]345678910 ]


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

Date Posted: 22:11:35 11/10/03 Mon
Author: Michel
Subject: Re: PCX error with Envision 2.01
In reply to: Richard Stearman 's message, "PCX error with Envision 2.01" on 01:53:39 11/08/03 Sat


Hello Richard,

The graphic formats you want to use need to be registered with the VCL.

Make sure you include and library path include, .\envision\trial\cb6.

By including the appropriate unit, the graphic format will be registered. For example, adding,

#pragma package(smart_init)

Add this line -> #pragma link "EnPcxGr"

#pragma resource "*.dfm"

will register the Pcx format.

Or, use

#pragma link "EnReg"

and all Envision formats will be registered with the VCL to be used in TImage.

Best regards,

Michel

>I'm using C++ Builder 6 and the evaluation version of
>Envision 2.01. I am trying to set the 'FileName'
>property of an ImageScrollBox prgramatically from text
>pulled from a database field. When I do this using a
>file with a JPG extension, it works fine. However, if
>I choose a file with a PCX file extension, I get a
>"unknown picture file extension (*.pcx)" exception. If
>I assign a hard-coded PCX at design-time, it works
>fine. Can anyone shed any light on this?

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