Re: trying to access enum from one object in another
- From: git <git@xxxxxxxxxxxxxxx>
- Date: Sat, 03 Mar 2007 19:50:54 +0000
On Wed, 28 Feb 2007 08:47:55 -0800, A L wrote:
Hello-
I'm trying to create a vbscript based WSH script. I'm having trouble
accessing an enum that is a part of one object (Persist.enumObjectType -
"myEnum") when using a function call in to another object
(ImportExportUtility).
The enum is actually off of Persist (enumObjectType), but I when running the
code in VB6, I have to reference class, not just an object.
Anyone know what I need to do to get this to work? Thanks much! AL
<job>
<reference object="ImportExportUtility.clsDBInterface"/>
<reference object="Persist.CDBPersist"/>
<object id="mIEUtil" progid="ImportExportUtility.clsDBInterface"/>
<script language="VBScript">
m_IEUtil.Import enumObjectType.myEnum, sParam2, sParam3
Set mIEUtil = Nothing
</script>
</job>
Could you explain what the problem you are having is - you don't really
give details of what is happening, error codes etc
AJ
--
Cubical Land:
www.cubicalland.com
Nerds-Central:
nerds-central.blogspot.com
.
- Prev by Date: Enabling WMI SNMP Environment in Windows Server 2003 R2
- Next by Date: How to get the "Start in" property of the shortcut that starts a script in the SendTo folder?
- Previous by thread: Enabling WMI SNMP Environment in Windows Server 2003 R2
- Next by thread: Re: trying to access enum from one object in another
- Index(es):
Relevant Pages
|
|