Hi all,
We are writing systems that talk to MS Word and Excel.
Using Delphi 6 and in .net
Currently they target MS Office 2000. It looks like Office 2003
is sufficiently different that we will need to cope with both.
Can anyone suggest a way of finding out if a particular version of
Hi Steve,
I'd look in the registry.
I have Office 2000 on my machine and I have
HCLM\Software\Microsoft\Office\9.0\Word\ and \Excel
my work mate has 2003 and
HCLM\Software\Microsoft\Office\11.0\Word\ and \Excel
so I think checking the registry is fine, you can also use that to get
the install
Another setting in the registry also is
HKEY_CLASSES_ROOT\Word.Application\CurVer. This will give you the most
current verson of Word installed on the machine e.g. it will return
Word.Application.11 for Office 2003.
Laurence Bevan
-Original Message-
From: [EMAIL PROTECTED]
This kind of works, the only problem is if they install say 2007 trial
then uninstall it the keys are left behind. This of course wouldn't
happen too often.
Best to check the path for the latest version, then ensure the .exe's
exist.
I use the registry entry:
Hi Laurence
Yeah sorry this is the one I use, not document
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Laurence Bevan
Sent: Friday, 8 September 2006 9:58 a.m.
To: Jason
Subject: RE: [DUG] How can I tell what version of MSOffice is installed?
Thanks Guys
This will meet our immediate needs:
==
var
wordIs2003: boolean;
procedure TfMenu.sbGetVersionOfWordClick(Sender: TObject);
var
Registry: TRegistry;
S: string;
begin
Registry:=TRegistry.Create;
wordIs2003 := false; //set a
Hi
I am trying to draw images into a TListView (vsReport) on the
ownerDrawSubItem event. However I need to get the TRect of the sub item
to draw into. I have found people use
*ListView_GetSubItemRect*(
However this Win API ? Is not defined in Delphi 6. Could someone with
a newer Delphi
If this is what you mean here is the excerpt from the D2006 help...
ListView_GetSubItemRect Macro
Retrieves information about the rectangle that surrounds a subitem in a
list-view control. You can use this macro
Hi
I new most of that stuff, I am actually looking at the delphi definition
of it..
I have
function ListView_GetSubItemRect(hwndLV : HWND; iItem : Integer;
iSubItem : Integer; Code : Integer; lpRect : Pointer): Bool; stdcall;
But it goes bang when I start my app. I always struggle with
Hi John,
there are some hints here:
http://www.nevrona.com/Default.aspx?tabid=87
hope its a little helpful
Cleon
On 9/8/06, John Bird [EMAIL PROTECTED] wrote:
Code based reports only (ie I am using only the rvSystem component) - I want
to streamline the standard Rave print dialogue by
Hi
I have further information, apparently the definition should be in
ComCtrls.pas. If someone could cut and paste it for me I would really
appreciate it :)
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Robert martin
I have further information, apparently the definition should be in
ComCtrls.pas. If someone could cut and paste it for me I would really
appreciate it :)
It should be in the CommCtrl unit. Posting VCL source is a violation
of the license agreement.
I don't have D6 installed but it is present
It was deprecated because it wasn't their product to begin with and it wasn't going to ever get the attention it needed to enhance it to support newer icon sizes and color depths.
MSPaint doesn't do resource files and while I use a text editor for those now days you might want to try Colin
To put the question simpler.
Rave changing default printer without Rave Dialog:
I can get the list of printers and the default no problem from
printer.printers and printer.printerindex.
But if I alter the PrinterIndex Rave Reports ignores it as it always seems
to revert to the default
14 matches
Mail list logo