TD-24138: ActiveX libraries can not be saved as text format

Report bugs and possible workarounds.
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1137
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

TD-24138: ActiveX libraries can not be saved as text format

Post by Dave Rabelink » 06 Aug 2018, 07:30

This issue applies to all TD versions

It is a very old issue, already reported way back in 2005, see old newsgroup message:

viewtopic.php?f=48&t=24727&p=84237

Described as known issue on the WIKI:

http://wiki.tdcommunity.net/index.php/K ... ext_format

Originally registered as:

Ticket # 2614850
TD-18402: ActiveX libraries: can not be saved as text format




Using ActiveX explorer and generating an ActiveX/COM library it is initially saved as normal format.
(apl extension, normal format contents).

When using this library, the present ActiveX events can be seen in the coding assistant under the message actions of an ActiveX component.

But when saving the generated library as text format (apl extension, text format contents), the events are not present in the coding assistant.
So then it is impossible to add a new event under the component.
First, you have to reopen the generated library, save it as normal format and reopen the main application source to be able to view the events and
add one.

As normal format is not the desired format (always use text format) this is a defect as there should be no difference between text and normal format concerning the use of your code and the opportunity to view and add events.

Also normal format makes recovery of damaged files impossible and using a versioning system to store the files can be problematic if they are stored as binary. And lastly, using merge/compare/text-search tools is not possible.

Steps to reproduce (use attached zip):

- Open main apt
- View the events under the InternetExplorer ActiveX component and see there are many events listed
- close main apt
- open Microsoft Internet Controls.apl, save it as text (apl extension, text format) and close
- open main apt and try to view the events under the component. They are not there
- Close apt and open library again and save it as normal
- View the events, they are there !

ActiveX_Libs_AsText.zip
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1137
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

ActiveX libs: can not be saved as text format

Post by Dave Rabelink » 06 Aug 2018, 07:32

The original defect has been reopened:

Ticket 3786119
TD-24138: Regression in: ActiveX libraries savedin TEXT format issue



Response from OpenText Gupta
Just want to update you on the defect status.
The fix will be release on TD 7.1.1.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1137
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-24138: ActiveX libraries can not be saved as text format

Post by Dave Rabelink » 25 Nov 2018, 18:33

Nope. The fix was not part of TD 7.1.1 unfortunately.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 0 guests