Solved

Adding ActX component to Delphi code editor possible?

Posted on 2001-08-08
11
192 Views
Last Modified: 2010-04-06
Is it possible to add an ActiveX component to the source code editor of Delphi? (I use version 4 Client/Server)

Background: I'm trying to make Delphi accessible with Speech Recognition software, because I have RSI.
I'm not an experienced Delphi Programmer, but would like to learn more. The typing/mousing is a proplem, though.
In order to optimize the code editor for my speechrecognition program I need to add an activeX component from the speech SDK to the editor screen.

I know that part of the source code of Delphi is available, but I doubt it's possible to recompile the editor...

Thank you for your time.

Janneke.
0
Comment
Question by:JanDraak
  • 3
  • 2
  • 2
  • +3
11 Comments
 
LVL 21

Expert Comment

by:gemarti
ID: 6364135
Are you wanting to install an ActiveX component to the pallet so that you can then add it to your form?

Yes this is possible.

1. Select COMPONENT | IMPORT ACTIVE X CONTROL from the main menu of Delphi
2. Click on the component you want to install from the list that appears.
3. Click the INSTALL Button
4. Select INTO NEW PACKAGE
5. Create A file name for your package (Fname.dpk)
You should see the new component in your component pallet under ActiveX.

From there you just drop it on your form and do whatever programmin is necessary to get the results you want.

GEM
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6364266
Concurr with GEM. If you are asking to have the component available to the Delphi IDE as a component then GEM's comment is the way to do it.


The Crazy One
0
 

Author Comment

by:JanDraak
ID: 6364679
Thank you for the comments.
No, the idea is to actually add a component to the editor ittself. Not to use in a new application but to add a functionality to the code editor. Reprogramming (adding to) Delphi itsself. Probably impossible, but I thought I'd ask the experts...
0
 
LVL 21

Expert Comment

by:gemarti
ID: 6364724
I'm out. ;]
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6364725
Oh ok I think I see what you are aksing. You want to be able to talk to Delphi and have the component write out the code as you speak. Hmm sorry but I don't know how to do that. :>)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 17

Expert Comment

by:inthe
ID: 6364820
hi,
 i hear that DragonDictate and Dragon NaturallySpeaking work in delphi and other ide environments.
(ie you dont need to install anything just works same as it would in msword for instance)
0
 

Author Comment

by:JanDraak
ID: 6365074
Unfortunately Dragon NaturallySpeaking doesn't have Select & Say functionality in the code editor. I can dictate in the editor and use commands, but not select "words of my choice". This severely limits the usability.
I can't seem to enable Select & Say through known tricks, that's why I came up with the idea to use the NatSpeak SDK to enable the editor window for Select & Say. But before I investigate further I'd like to know whether it is possible to actually change the Delphi code editor by including a new ActiveX component.
0
 
LVL 17

Expert Comment

by:inthe
ID: 6365328
Hi,
i cant think of a way to add an activex into the ide like that but for this "select and say" you may be able to get somewhere using the opentools api,im really not sure though..it would be difficult at least.
i should mentino in case you dont know the opentools api are where you can add features/menuitems /get notified of events etc so you can do your own stuff in delphis ide.like make a comment expert,shortcuts,code snippet repositorys etc.

probably the best example of this is GExperts @ :
http://www.gexperts.org/
which is a large collection of tools/functions using the opentools ,they with full sources if you want to look that way.
really worth installing even if no use for this particular problem.

Regards Barry
0
 

Author Comment

by:JanDraak
ID: 6365388
Barry, Thank you for the tip. Actually I did try to find out if this would work, but I don't see how I can use the toolsApi for this purpose. I need to register the speech activeX component at the OnCreate of the form...
Like I said, it probably isn't possible, but I don't know enough about Delphi to give up without having asked around.
Janneke.
0
 
LVL 26

Expert Comment

by:Russell Libby
ID: 8741547
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

To be PAQ/Refund

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Thank you,
Russell

EE Cleanup Volunteer
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 8822554
Per recommendation,

PashaMod
Community Support Moderator @Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now