Delphi Active Forms and EXD-files

Delphi Active Forms and EXD-files

Anonymous
Not applicable
168 Views
6 Replies
Message 1 of 7

Delphi Active Forms and EXD-files

Anonymous
Not applicable
Each time I change the color property of an ActiveForm written with Delphi 5
from the VBA IDE, let's say to red, it becomes impossible to change it back
to
the original color (or any other color) unless I first find and delete the
EXD-files for that ActiveForm. If I don't, the form color remains red, even
after
a save and reloading the project!?

Am I doing something wrong?
Is there a way to get rid of these EXD-files permanently? Some setting I
don't
know of? Rat poison?

Guido Rooms.
0 Likes
169 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
Guido - I don't believe there's anything you can do about
this. VBA creates these files for each control inserted,
and uses them to cache information that allows it to load
a control faster.

You can read more about this in knowledge base article:
Q158875

Guido Rooms wrote:
>
> Each time I change the color property of an ActiveForm written with Delphi 5
> from the VBA IDE, let's say to red, it becomes impossible to change it back
> to
> the original color (or any other color) unless I first find and delete the
> EXD-files for that ActiveForm. If I don't, the form color remains red, even
> after
> a save and reloading the project!?
>
> Am I doing something wrong?
> Is there a way to get rid of these EXD-files permanently? Some setting I
> don't
> know of? Rat poison?
>
> Guido Rooms.

--
/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* tony.tanzillo@worldnet.att.net */
/* http://ourworld.compuserve.com/homepages/tonyt */
/*********************************************************/
0 Likes
Message 3 of 7

Anonymous
Not applicable
Thanks for the reply Tony.

But this also means that if one changes an ocx or project and distributes it
to
one's users, they'll have to find and remove the EXD-files on their system,
or they'll never see the changes !?

Guido Rooms.

Tony Tanzillo wrote in message <389EC49B.7E8AC465@worldnet.att.net>...
>Guido - I don't believe there's anything you can do about
>this. VBA creates these files for each control inserted,
>and uses them to cache information that allows it to load
>a control faster.
>
>You can read more about this in knowledge base article:
>Q158875
>
0 Likes
Message 4 of 7

Anonymous
Not applicable
If they modify a persistent property of the control
in the IDE, that change should be written to the EXD
file, since that's essentially what it's for (caching
the properties of the control in the IDE). If that's
not hapening, there's a bug somewhere (possibly in
Delphi).

Guido Rooms wrote:
>
> Thanks for the reply Tony.
>
> But this also means that if one changes an ocx or project and distributes it
> to
> one's users, they'll have to find and remove the EXD-files on their system,
> or they'll never see the changes !?
>
> Guido Rooms.
>
> Tony Tanzillo wrote in message <389EC49B.7E8AC465@worldnet.att.net>...
> >Guido - I don't believe there's anything you can do about
> >this. VBA creates these files for each control inserted,
> >and uses them to cache information that allows it to load
> >a control faster.
> >
> >You can read more about this in knowledge base article:
> >Q158875
> >

--
/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* tony.tanzillo@worldnet.att.net */
/* http://ourworld.compuserve.com/homepages/tonyt */
/*********************************************************/
0 Likes
Message 5 of 7

Anonymous
Not applicable
I read through the Knowledge Base article referenced which basically stated
that this would happen with Office 97 and 2000 products. However, I tried
several including Excel 97, Excel 2000, Word 2000 and AutoCAD 2000 and was
unable to generate an EXD file. After searching my hard drive I had only a
few with very old dates on them. So, I'm inclined to believe that this is
not normal behavior even though the MS article makes it seem that way.

Joe Sutphin
Author of "AutoCAD 2000 VBA Programmers Reference"
ISBN #1861002564

Checkout Sources - The magazine dedicated to AutoCAD customization
http://vbdesign.hypermart.net/sources/

Tony Tanzillo wrote in message
news:389ED90B.79E25FF1@worldnet.att.net...
> If they modify a persistent property of the control
> in the IDE, that change should be written to the EXD
> file, since that's essentially what it's for (caching
> the properties of the control in the IDE). If that's
> not hapening, there's a bug somewhere (possibly in
> Delphi).
>
> Guido Rooms wrote:
> >
> > Thanks for the reply Tony.
> >
> > But this also means that if one changes an ocx or project and
distributes it
> > to
> > one's users, they'll have to find and remove the EXD-files on their
system,
> > or they'll never see the changes !?
> >
> > Guido Rooms.
> >
> > Tony Tanzillo wrote in message <389EC49B.7E8AC465@worldnet.att.net>...
> > >Guido - I don't believe there's anything you can do about
> > >this. VBA creates these files for each control inserted,
> > >and uses them to cache information that allows it to load
> > >a control faster.
> > >
> > >You can read more about this in knowledge base article:
> > >Q158875
> > >
>
> --
> /*********************************************************/
> /* Tony Tanzillo Design Automation Consulting */
> /* Programming & Customization for AutoCAD & Compatibles */
> /* ----------------------------------------------------- */
> /* tony.tanzillo@worldnet.att.net */
> /* http://ourworld.compuserve.com/homepages/tonyt */
> /*********************************************************/
0 Likes
Message 6 of 7

Anonymous
Not applicable
I have a number of EXD files in my temp/vbe folder, and
they're not limited to Delphi-based ActiveX controls.

It looks pretty normal to me, although they may not be
created for all controls.

Joe Sutphin wrote:
>
> I read through the Knowledge Base article referenced which basically stated
> that this would happen with Office 97 and 2000 products. However, I tried
> several including Excel 97, Excel 2000, Word 2000 and AutoCAD 2000 and was
> unable to generate an EXD file. After searching my hard drive I had only a
> few with very old dates on them. So, I'm inclined to believe that this is
> not normal behavior even though the MS article makes it seem that way.
>

--
/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* tony.tanzillo@worldnet.att.net */
/* http://ourworld.compuserve.com/homepages/tonyt */
/*********************************************************/
0 Likes
Message 7 of 7

Anonymous
Not applicable
After trying tons of examples in Office 97, 2000, AutoCAD R14, 2000, MDT I
cannot simulate this occurance (in spite of what Microsoft's KB article
claims). The only conclusion that I am able to draw is that it must have
something to do with specific controls and perhaps what is used to build
them. I would query Borland for a possible answer.

Joe

Guido Rooms wrote in message
news:87lutm$eec10@adesknews2.autodesk.com...
> Each time I change the color property of an ActiveForm written with Delphi
5
> from the VBA IDE, let's say to red, it becomes impossible to change it
back
> to
> the original color (or any other color) unless I first find and delete the
> EXD-files for that ActiveForm. If I don't, the form color remains red,
even
> after
> a save and reloading the project!?
>
> Am I doing something wrong?
> Is there a way to get rid of these EXD-files permanently? Some setting I
> don't
> know of? Rat poison?
>
> Guido Rooms.
>
>
0 Likes