08-18-2005 07:11 AM
08-18-2005 11:25 AM
08-19-2005 01:14 AM
08-21-2005
02:31 PM
- last edited on
11-14-2025
08:57 AM
by
Content Cleaner
Hi Gurdas,
I was just wondering if you got any errors when you try to run your application on the target machine. I also found a KnowledgeBase article that might be helpful. Thanks!
Regards,
Chris J
http://ae.natinst.com/operations/ae/public.nsf/web/searchinternal/83211e3a088d0c3786256db700621fe8?OpenDocument
08-22-2005 12:44 AM
Hi Chris and Dan,
We solved the problem (and observed another anomaly).
First the anomaly: both EXE-XP and EXE-2000 now run successfully on target machine having ONLY Office2000
The problem had nothing to do with Office version on dev and target machines. In the create report event, we start by setting the page size to A4. It so happened that the target machine did not have any printer driver installed. So, in Word there was nothing called A4 page and LV gives a error tha describes the issue.
There are two workarounds:
1) Install any printer driver (even adobe pdf creator works) that gives Word a page size called A4
2) In the VI, change the A4 page setting to 'custom'. In this case the target machine need not have a printer driver installed because Word by itself has a 'custom' page option. The user can always set his PC such that custom is same size as A4 (or A3 or whatever).
Dan, any idea why both my EXEs work while your experience has been otherwise?
If anyone has comments on above workarounds or if there is a better way to handle this, please let me know.
Thanks,
Gurdas
08-22-2005 12:48 AM
Chris,
The KB link does not work at my end. (?)
- Gurdas
08-22-2005
08:56 AM
- last edited on
11-14-2025
08:57 AM
by
Content Cleaner
Hello Gurdas,
I posted the wrong link. Sorry about that. I've attached the correct post below. Glad to hear everything is working.
http://digital.ni.com/public.nsf/websearch/83211E3A088D0C3786256DB700621FE8?OpenDocument
Regards,
Chris J
08-22-2005 09:36 AM
Hello Chris,
The link works. Thanks.
It is clear that Office 97 ActiveX objects are not compatible with Office 2000.
But what if I build the exe on a machine with Office 2000, will it work on machines with OfficeXP and Office 2003.
In short, whats the take when we are talking of Office2000, XP and 2003?
- Gurdas
08-22-2005 04:58 PM