完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
太棒了,现在在取消选中“指定对象类型”后就可以了。感谢帮助.Bruno .----- Message d'origine ----- De:Carnahan,Lyle [mailto:carnahal@tycoelectronics.com]
Envoyé:9 mai 2006 17:24在全局变量声明中,您需要取消选中“指定对象类型”框。 通过此检查,VEE正在尝试访问不再有效的引用的类型声明。 然后你会得到一个错误,xlMaximized是一个未声明的变量.----- Message d'origine ----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]Envoyé:9 mai 2006 14:41> 有没有办法告诉VEE使用它能找到的版本?除非你真的没有使用CreateObject。 检查自动化参考时,VEE会将类型库GUID存储在VEE源中。 如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。 困难在于它禁用了功能和功能。 对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。 当它被运送到另一台计算机时,只要你远离类型库中定义的任何名称,它仍会运行.----- Message d'origine ----- De:Beliveau,Bruno [mailto:BrunoBeliveau @ solectron Envoyé:9 mai 2006 14:32我有不同Excel版本的电脑。 从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“Microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。 从安装了旧版本的计算机(如Excel 97)加载使用更高版本的程序时,VEE报告错误。 有没有办法告诉VEE使用它能找到的版本?注意:我在Win NT,2000和XP上使用VEE 5.---订阅请发送电子邮件至:“vrf-request@lists.it。 agilent.com“在邮件正文中单词subscribe。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf @ agilent。 COM”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 Great, this is working now after unchecking the "Specify Object Type". Thanks for the help. Bruno. -----Message d'origine----- De : Carnahan, Lyle [mailto:carnahal@tycoelectronics.com] Envoyé : 9 mai 2006 17:24 In your global variable declarations you would need to uncheck the box that "Specify Object Type". With this checked VEE is trying to access the type declarations for a reference that is no longer valid. You will then get an error that xlMaximized is an undeclared variable. -----Message d'origine----- De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoyé : 9 mai 2006 14:41 > Is there a way to tell VEE to use the version it can find? Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error. To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead). A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib. -----Message d'origine----- De : Beliveau, Bruno [mailto:BrunoBeliveau@solectron.com] Envoyé : 9 mai 2006 14:32 I have computers with different Excel version. From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library". VEE reports an error when loading a program made with the later version from a computer with an older version installed (like Excel 97). Is there a way to tell VEE to use the version it can find? Note: I am using VEE 5 on Win NT, 2000 and XP. --- 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 "www.oswegosw.com/vrf_archive/". |
|
相关推荐
27个回答
|
|
>有没有办法告诉VEE使用它能找到的版本?除非你真的使用CreateObject。
检查AutomationReference时,VEE会将类型库GUID存储在VEE源中。 如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。 困难在于它禁用了功能和功能。 对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义值)。一种快乐的方法是在释放代码时取消选中引用。 当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍会运行。-SHAWN ----您目前订阅vrf为:r***@soco.agilent.com要订阅,请发送电子邮件至 :“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件至 这个邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 > Is there a way to tell VEE to use the version it can find? Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error. To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead). A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib. -SHAWN- --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
>有没有办法告诉VEE使用它能找到的版本?除非你真的使用CreateObject。
检查AutomationReference时,VEE会将类型库GUID存储在VEE源中。 如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。 困难在于它禁用了功能和功能。 对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义值)。一种快乐的方法是在释放代码时取消选中引用。 当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍会运行。-SHAWN ----您目前订阅vrf为:r***@soco.agilent.com要订阅,请发送电子邮件至 :“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件至 这个邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 > Is there a way to tell VEE to use the version it can find? Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error. To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead). A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib. -SHAWN- --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
Bruno,在全局变量声明中,您需要取消选中“指定对象类型”框。
通过此检查,VEE正在尝试访问不再有效的引用的类型声明。 然后你会得到一个错误,xlMaximized是一个未声明的变量.LyleLyle CarnahanAerospace and Defense SectorM / A-COM Inc.1011 Pawtucket BoulevardLowell,MA 01853-3295电话:(978)442-4504传真:(978)442-4409carnahal@tycoelectronics.com -----原始消息-----来自:Beliveau,Bruno [mailto:BrunoBeliveau@solectron.com]发送时间:2006年5月9日星期二下午5点18分:VRFCc:'Shawn Fessenden'主题:回复:[ vrf] ActiveX Automation References中的Excel版本只有第一行“Set myAppl = CreateObject(”Excel.Application“);”,Istill得到相同的错误“没有为excel.Application加载任何类型信息”.Bruno .-- ---消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 15:29删除引用xlMaximized的行。如果没有执行则无关紧要,它仍然是 那里.---您目前订阅了vrf:carnahal@tycoelectronics.com订阅请发送电子邮件至:“vrf-request@lists.it.agilent.com”,其中包含“subscribe”字样 sage body。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.--- 您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件 到“leave-vrf@it.lists.it.agilent.com”。要发送邮件到这个邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 Bruno, In your global variable declarations you would need to uncheck the box that "Specify Object Type". With this checked VEE is trying to access the type declarations for a reference that is no longer valid. You will then get an error that xlMaximized is an undeclared variable. Lyle Lyle Carnahan Aerospace and Defense Sector M/A-COM Inc. 1011 Pawtucket Boulevard Lowell, MA 01853-3295 Phone: (978) 442-4504 Fax: (978) 442-4409 carnahal@tycoelectronics.com -----Original Message----- From: Beliveau, Bruno [mailto:BrunoBeliveau@solectron.com] Sent: Tuesday, May 09, 2006 5:18 PM To: VRF Cc: 'Shawn Fessenden' Subject: Re: [vrf] Excel version in ActiveX Automation References With only the first line "Set myAppl=CreateObject("Excel.Application");", I still get the same error "There isn't any type information loaded for Excel.Application". Bruno. -----Message d'origine----- De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoy : 9 mai 2006 15:29 Delete the line that references xlMaximized. Doesn't matter if it's not executed, it's still there. --- You are currently subscribed to vrf as: carnahal@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 "www.oswegosw.com/vrf_archive/". --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
Bruno,在全局变量声明中,您需要取消选中“指定对象类型”框。
通过此检查,VEE正在尝试访问不再有效的引用的类型声明。 然后你会得到一个错误,xlMaximized是一个未声明的变量.LyleLyle CarnahanAerospace and Defense SectorM / A-COM Inc.1011 Pawtucket BoulevardLowell,MA 01853-3295电话:(978)442-4504传真:(978)442-4409carnahal@tycoelectronics.com -----原始消息-----来自:Beliveau,Bruno [mailto:BrunoBeliveau@solectron.com]发送时间:2006年5月9日星期二下午5点18分:VRFCc:'Shawn Fessenden'主题:回复:[ vrf] ActiveX Automation References中的Excel版本只有第一行“Set myAppl = CreateObject(”Excel.Application“);”,Istill得到相同的错误“没有为excel.Application加载任何类型信息”.Bruno .-- ---消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 15:29删除引用xlMaximized的行。如果没有执行则无关紧要,它仍然是 那里.---您目前订阅了vrf:carnahal@tycoelectronics.com订阅请发送电子邮件至:“vrf-request@lists.it.agilent.com”,其中包含“subscribe”字样 sage body。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.--- 您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件 到“leave-vrf@it.lists.it.agilent.com”。要发送邮件到这个邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 Bruno, In your global variable declarations you would need to uncheck the box that "Specify Object Type". With this checked VEE is trying to access the type declarations for a reference that is no longer valid. You will then get an error that xlMaximized is an undeclared variable. Lyle Lyle Carnahan Aerospace and Defense Sector M/A-COM Inc. 1011 Pawtucket Boulevard Lowell, MA 01853-3295 Phone: (978) 442-4504 Fax: (978) 442-4409 carnahal@tycoelectronics.com -----Original Message----- From: Beliveau, Bruno [mailto:BrunoBeliveau@solectron.com] Sent: Tuesday, May 09, 2006 5:18 PM To: VRF Cc: 'Shawn Fessenden' Subject: Re: [vrf] Excel version in ActiveX Automation References With only the first line "Set myAppl=CreateObject("Excel.Application");", I still get the same error "There isn't any type information loaded for Excel.Application". Bruno. -----Message d'origine----- De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoy : 9 mai 2006 15:29 Delete the line that references xlMaximized. Doesn't matter if it's not executed, it's still there. --- You are currently subscribed to vrf as: carnahal@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 "www.oswegosw.com/vrf_archive/". --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
MessageI具有不同Excel版本的计算机。
从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“Microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。 从安装了旧版本的计算机(如Excel 97)加载使用更高版本的程序时,VEE报告错误。 有没有办法告诉VEE使用它能找到的版本?注意:我在Win NT,2000和XP上使用VEE 5.感谢you.Bruno Beliveau .---您目前订阅的是vrf:r*** @ soco .agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it” .agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 MessageI have computers with different Excel version. From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library". VEE reports an error when loading a program made with the later version from a computer with an older version installed (like Excel 97). Is there a way to tell VEE to use the version it can find? Note: I am using VEE 5 on Win NT, 2000 and XP. Thank you.Bruno Beliveau. ---You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]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 "www.oswegosw.com/vrf_archive/". |
|
|
|
MessageI具有不同Excel版本的计算机。
从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“Microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。 从安装了旧版本的计算机(如Excel 97)加载使用更高版本的程序时,VEE报告错误。 有没有办法告诉VEE使用它能找到的版本?注意:我在Win NT,2000和XP上使用VEE 5.感谢you.Bruno Beliveau .---您目前订阅的是vrf:r*** @ soco .agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it” .agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 MessageI have computers with different Excel version. From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library". VEE reports an error when loading a program made with the later version from a computer with an older version installed (like Excel 97). Is there a way to tell VEE to use the version it can find? Note: I am using VEE 5 on Win NT, 2000 and XP. Thank you.Bruno Beliveau. ---You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]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 "www.oswegosw.com/vrf_archive/". |
|
|
|
我有不同Excel版本的计算机。从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“Microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。
从安装了旧版本的计算机(如Excel 97)加载用更高版本制作的程序时报告错误。有没有办法告诉VEE使用它能找到的版本?Â注意:我在Win上使用VEE 5 NT,2000和XP.感谢you.Bruno Beliveau. ---要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。 以上来自于谷歌翻译 以下为原文 I have computers with different Excel version. From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library". VEE reports an error when loading a program made with the later version from a computer with an older version installed (like Excel 97). Is there a way to tell VEE to use the version it can find?  Note: I am using VEE 5 on Win NT, 2000 and XP.  Thank you. Bruno Beliveau. --- 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
我有不同Excel版本的计算机。从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“Microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。
从安装了旧版本的计算机(如Excel 97)加载用更高版本制作的程序时报告错误。有没有办法告诉VEE使用它能找到的版本?Â注意:我在Win上使用VEE 5 NT,2000和XP.感谢you.Bruno Beliveau. ---要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。 以上来自于谷歌翻译 以下为原文 I have computers with different Excel version. From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library". VEE reports an error when loading a program made with the later version from a computer with an older version installed (like Excel 97). Is there a way to tell VEE to use the version it can find?  Note: I am using VEE 5 on Win NT, 2000 and XP.  Thank you. Bruno Beliveau. --- 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
>有没有办法告诉VEE使用它能找到的版本?除非你真的使用CreateObject。
检查自动化参考时,VEE会将类型库GUID存储在VEE源中。 如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。 困难在于它禁用了功能和功能。 对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。 当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍然会运行。-SHAWN ----如需订阅,请发送电子邮件至:“vrf-request@lists.it.agilent。 com“在邮件正文中单词subscribe。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf@agilent.com“ 。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 > Is there a way to tell VEE to use the version it can find? Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error. To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead). A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib. -SHAWN- --- 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
>有没有办法告诉VEE使用它能找到的版本?除非你真的使用CreateObject。
检查自动化参考时,VEE会将类型库GUID存储在VEE源中。 如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。 困难在于它禁用了功能和功能。 对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。 当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍然会运行。-SHAWN ----如需订阅,请发送电子邮件至:“vrf-request@lists.it.agilent。 com“在邮件正文中单词subscribe。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf@agilent.com“ 。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 > Is there a way to tell VEE to use the version it can find? Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error. To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead). A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib. -SHAWN- --- 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
那很快!谢谢.-----消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 14:41>有没有办法告诉VEE
使用它可以找到的版本?除非你真的使用CreateObject。 检查AutomationReference时,VEE会将类型库GUID存储在VEE源中。 如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。 困难在于它禁用了功能和功能。 对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义值)。一种快乐的方法是在释放代码时取消选中引用。 当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍会运行.---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送电子邮件至:“vrf -request@lists.it.agilent.com“在邮件正文中单词subscribe。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件 ,发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 That was quick! Thank you. -----Message d'origine----- De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoy : 9 mai 2006 14:41 > Is there a way to tell VEE to use the version it can find? Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error. To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead). A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib. --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
那很快!谢谢.-----消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 14:41>有没有办法告诉VEE
使用它可以找到的版本?除非你真的使用CreateObject。 检查AutomationReference时,VEE会将类型库GUID存储在VEE源中。 如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。 困难在于它禁用了功能和功能。 对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义值)。一种快乐的方法是在释放代码时取消选中引用。 当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍会运行.---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送电子邮件至:“vrf -request@lists.it.agilent.com“在邮件正文中单词subscribe。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件 ,发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 That was quick! Thank you. -----Message d'origine----- De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoy : 9 mai 2006 14:41 > Is there a way to tell VEE to use the version it can find? Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error. To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead). A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib. --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
那很快!谢谢.-----消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]Envoyé:9 mai 2006 14:41>有没有办法告诉你
VEE使用它可以找到的版本?除非你真的使用CreateObject。 检查自动化参考时,VEE会将类型库GUID存储在VEE源中。 如果运行代码的计算机上不存在该GUID,则会收到错误。为避免错误,请不要检查自动化参考。 困难在于它禁用了功能和功能。 对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。 当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍然会运行.---要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com” 订阅邮件正文中的单词。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 That was quick! Thank you. -----Message d'origine----- De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoyé : 9 mai 2006 14:41 > Is there a way to tell VEE to use the version it can find? Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error. To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead). A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib. --- 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
那很快!谢谢.-----消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]Envoyé:9 mai 2006 14:41>有没有办法告诉你
VEE使用它可以找到的版本?除非你真的使用CreateObject。 检查自动化参考时,VEE会将类型库GUID存储在VEE源中。 如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。 困难在于它禁用了功能和功能。 对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。 当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍然会运行.---订阅请发送电子邮件至:“vrf-request@lists.it.agilent.com” 订阅邮件正文中的单词。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 That was quick! Thank you. -----Message d'origine----- De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoyé : 9 mai 2006 14:41 > Is there a way to tell VEE to use the version it can find? Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error. To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead). A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib. --- 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
只有第一行“Set myAppl = CreateObject(”Excel.Application“);”,Istill得到相同的错误“没有为excel.Application加载任何类型信息”.Bruno .----- Message d'origin
----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 15:29删除引用xlMaximized的行。如果没有执行则无关紧要,它仍然存在.---你是 目前订阅vrf为:r***@soco.agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含“subscribe”字样。要取消订阅,请发送空白电子邮件至“ leave-vrf@it.lists.it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 With only the first line "Set myAppl=CreateObject("Excel.Application");", I still get the same error "There isn't any type information loaded for Excel.Application". Bruno. -----Message d'origine----- De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoy : 9 mai 2006 15:29 Delete the line that references xlMaximized. Doesn't matter if it's not executed, it's still there. --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] 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 "www.oswegosw.com/vrf_archive/". |
|
|
|
只有小组成员才能发言,加入小组>>
1016 浏览 0 评论
2269 浏览 1 评论
2051 浏览 1 评论
1922 浏览 5 评论
2794 浏览 3 评论
788浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
571浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
666浏览 0评论
2449浏览 0评论
1509浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-9-17 21:05 , Processed in 1.745405 second(s), Total 115, Slave 98 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号