Re: trying to access enum from one object in another
- From: "asdf" <asdf@xxxxxxxx>
- Date: Sun, 11 Mar 2007 03:17:31 -0500
Must have shocked you. ?!?
Do you have your parents permission to post ?
"A L" <AL@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:D33E60AC-BB69-43C2-95B3-F3816E36DF17@xxxxxxxxxxxxxxxx
Whoops, sorry for the double post. Didn't realize that the newsgroup
microsoft.public.scripting.wsh is the same as microsoft.com/communities !!
AL
"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>
.
- Prev by Date: Re: Converting a date From US format (MM-DD-YY) to UK format (DD-MM-YY) or Vice-versa
- Next by Date: Re: Enabling WMI SNMP Environment in Windows Server 2003 R2
- Previous by thread: Re: trying to access enum from one object in another
- Next by thread: How to get the "Start in" property of the shortcut that starts a script in the SendTo folder?
- Index(es):
Relevant Pages
|