I'm having some problems with the OLE Command inserter.
My environment is as follows:
1. Windows 2000 (I'm logged in as Administrator locally)
2. Word Perfect 9 SP 3 (9.0.0.738) - still waiting on SP4 in Australia...
3. Delphi 5
4. WP 9 SDK Downloaded from the internet early in Nov. (no version that I
know of)
I'm connected to both Novell Netware server & NT Domain
It's also happening at home where I have Win 98 Second Editon and WP 9 SP3
also.
The problem I'm having is that the OLE Command inserter is only showing the
"Command Type" of WordPerfect-EN and not allowing me to select
"PerfectScript". When I first installed it was there but not any more...
From memory I also had QuatroPro but again not any more...
I know I did have it working at one stage as I have previously used it to
insert the "EnvSelectedText" command for a previous app I wrote but now I
can't find that (and even others I could find the other day.)
I've tried re-installing the SDK (I'll try removing / re-installing in a
second) and even re-installing WP 9 SP3...
Anyone got any ideas on how to fix this ?
Thanks
-----------[Trevor Campbell]--------------------------------------------
Bekkers IT Perth Western Australia
t...@bekers.com.au
Replies to newsgroup only please unless requested.
Unsolicited e-mails will be deleted without being read.
----------------------------------------------------------------------------
------
I did however, find an article in the KB that allows me to see some extra
commands (eg: VarAssign etc) in the OLE Command inserter. It's document
number 202102 (link below) and refers to "Using Theta Indexes" in Perfect
Script.
http://kb.corel.com/kbdocs/WP90WIN/WP90WIN/WP90WIN_202102.htm
With Theta Indexes turned ON I can see 2140 WP commands but with Theta
Indexes turned OFF I can see 2594 commands. VarAssign and VarDiscard are 2
that I was looking for...
What do you use to READ a variable from WP ? - Note: not the selected text
as I did work that one out...
Neither way lets me see any Perfect Script commands - Should I be able to ?
I'm sure I could once before.
Thanks
-----------[Trevor Campbell]--------------------------------------------
Bekkers IT Perth Western Australia
t...@bekers.com.au
Replies to newsgroup only please unless requested.
Unsolicited e-mails will be deleted without being read.
----------------------------------------------------------------------------
------
Mark Allred <mal...@utah.uswest.net> wrote in message
news:3A0D979D...@utah.uswest.net...
Thanks for the reply.
I must confess to being only a beginner when it comes to Delphi - especially
the OLE stuff - this is my frist attempt at using it.
I've heard about the TypeLib (Type Library) but what exactly is it and how
do you import it ?
I think I'll dig the manual out right now and read up on TypeLib...
Am I correct in thinking it's a "Header" (for want of a beter word) file
that identifies the valid commands for WP and therefore allows Delphi to do
compile time checking of commands ?
If so then that sounds most useful.
Thanks
-----------[Trevor Campbell]--------------------------------------------
Bekkers IT Perth Western Australia
t...@bekers.com.au
Replies to newsgroup only please unless requested.
Unsolicited e-mails will be deleted without being read.
----------------------------------------------------------------------------
------
CHRIS J MATHEWS <CHRIS....@prodigy.net> wrote in message
news:3A0C131A...@prodigy.net...
> I imported the TypeLib into Delphi 5 and seem to have had a lot of success
with
> it. You might want to look at that.
>
> > ------
>
I hope this helps.
James