AnsweredAssumed Answered

AW: vrf Initialize Excel Library failing in VEE Runtime

Question asked by VRFuser on Aug 20, 2008
I installed VEE runtime 8.01 patch just now and the problem goes away.  On the website it lists the defects fixed in 8.01 and one of them is "VSE: when VEE imports libraries referencing different versions of .NET frameworks." so I reckon that's what's going on.  ('VSE' = VEE serious error).

Thanks everyone for your replies.

Warren



-----Original Message-----
From: O'callaghan, Brenton
Sent: 20 August 2008 14:11
To: VRF
Cc: vrf@agilent.com
Subject: RE: AW: [vrf] Initialize Excel Library failing in VEE Runtime

Hi Warren,

I'm using the exact same versions as you are with XP SP2?? and office 03 and it works perfectly.

It sounds like some of you libraries might be corrupt?

Brenton

-----Original Message-----
From: Pickles, Warren
Sent: 20 August 2008 10:18
To: VRF
Subject: RE: AW: [vrf] Initialize Excel Library failing in VEE Runtime

I investigated further.  I don't know why I get this error but I have managed to create a small program which reproduces it at two different computers.  But it only happens with VEE runtime, not with VEE development environment.

I would like to see if you get the same result as I do.  If any of you have the time please ...

Save the attached files into the same directory.  EmptyFile.VEE is a file with a token empty userfunction, and with the mscorlib .NET assembly reference checked, and no other code.  ExcelLibError.VEE contains the 'Initialize Excel Library' userobject from the Excel menu, and an ImportLibrary object which imports EmptyFile.VXE.

Run ExcelLibError.VEE in the VEE development environment.  It runs without error.  Now run ExcelLibError.VXE in VEE runtime environment (double-clicking the file should do that).  It gives a VEE serious error like that in ExcelLibError.xls.

Now modify EmptyFile.VEE and remove the mscorlib .NET assembly reference.  Run ExcelLibError.VXE in VEE runtime environment ... No error.

VEE Runtime version 8.0.9625.0
VEE Pro version 8.01.10010.0

Regards,
Warren


-----Original Message-----
From: Pickles, Warren
Sent: 20 August 2008 08:04
To: VRF
Subject: RE: AW: [vrf] Initialize Excel Library failing in VEE Runtime

Thanks for your replies.
No - excel is installed OK, and user rights have not changed.  The error occurs at the import excel library object, before excel is started or any files are accessed.

Warren


-----Original Message-----
From: Greg Wale [mailto:gregwale@passtechnologies.com]
Sent: 19 August 2008 18:25
To: VRF
Cc: VRF
Subject: Re: AW: [vrf] Initialize Excel Library failing in VEE Runtime



Did Excel get uninstalled?

Greg

> As very often, something with changed User Rights ? Did you check that
> the runtime program do have the user rights to start Excel ?
> detlef
>
> ________________________________
>
> Von: Pickles, Warren [mailto:Warren.Pickles@tycoelectronics.com]
> Gesendet: Dienstag, 19. August 2008 17:42
> An: VRF
> Betreff: [vrf] Initialize Excel Library failing in VEE Runtime
>
>
>
> All the instances of "Initialize Excel Library" (i.e. the excel
> library that ships with VEE) within my code have started to fail.
> They all give one of those VEE Serious Error boxes, saying Internal
> Error: Access Violation etc.  The error happens at the Import Library
> object within the userobject that you get if you choose Initialize
> Excel Library from the Excel menu.
>
> These parts of my program don't get used very often so I don't know
> when this started happening.  All was OK when these bits of the code
> were first developed.  So I've probably changed something elsewhere
> that has inadvertently affected these sections of code - but I have no idea what.
>
> Anyone have any similar experience, or any clues?
>
> Using VEE 8.01
>
> Regards,
> Warren
>
>
> ---
> You are currently subscribed to vrf as: Detlef.Baranski@pilkington.de
> To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
> with the word subscribe in the message body.
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list, email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
> Search the "unofficial vrf archive" at
> "http://www.vrfarchive.com/vrf_archive".
> Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
>
> Der Inhalt dieser E-Mail (inkl. aller Anlagen) ist vertraulich und
> ausschließlich für den Adressaten bestimmt. Jede Art der Verbreitung,
> Nutzung oder Vervielfältigung ist untersagt. Sollten Sie diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender
> und löschen die E-Mail.
>
> Unternehmensangaben der Gesellschaften mit Sitz in Deutschland:
>
> Pilkington Holding GmbH, Haydnstraße 19, 45884 Gelsenkirchen
> Sitz: Gelsenkirchen, Amtsgericht Gelsenkirchen HRB 8997
> Geschäftsführung: Dr. Clemens Miller (Vorsitz), Jochen Settelmayer,
> Thomas Kretschmann, Robert Hales Vorsitzender des Aufsichtsrates: Dr.
> Axel Wiesener
>
> Pilkington Deutschland AG, Haydnstraße 19, 45884 Gelsenkirchen
> Sitz: Gelsenkirchen, Amtsgericht Gelsenkirchen HRB 2707
> Vorstand: Dr. Clemens Miller, Jochen Settelmayer Vorsitzender des
> Aufsichtsrates: Dr. Axel Wiesener
>
> Pilkington Automotive Deutschland GmbH, Otto-Seeling-Straße 7, 58455
> Witten
> Sitz: Witten, Amtsgericht Bochum HRB 8443
> Geschäftsführung: Thomas Kretschmann
> Vorsitzender des Aufsichtsrates: Jochen Settelmayer
>
> Bauglasindustrie GmbH, Hüttenstraße 33, 66839 Schmelz / Saar
> Sitz: Schmelz / Saar, Amtsgericht Saarbrücken HRB 52020
> Geschäftsführung: Manfred Ebbers
> ---
> You are currently subscribed to vrf as: gregwale@passtechnologies.com
> To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
> with the word subscribe in the message body.
> To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list,  email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
> Search the "unofficial vrf archive" at
> "http://www.vrfarchive.com/vrf_archive".
> Search the Agilent vrf archive at "http://vee.engineering.agilent.com".




---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".



---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".


---
You are currently subscribed to vrf as: ocallaghanb@tycoelectronics.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".


---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".



---
You are currently subscribed to vrf as: hua_jing@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".

Outcomes