#121597 - 2004-06-21 10:13 PM
Re: Loading enumerated constants into KiXtart via WSH?
|
Bryce
KiX Supporter
   
Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
|
well, take a look at this wsf file, and see what value these constants are being set to then just set your own kix variables if you want.
|
|
Top
|
|
|
|
#121602 - 2004-06-24 10:20 AM
Re: Loading enumerated constants into KiXtart via WSH?
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Still, it would be nice to pull them out automatically. It would make (auto) conversion of VB far simpler.
If there is no way enumerate the enumerations in KiXtart, perhaps there is a command line utility which can pull the details out?
I haven't found anything so far, and coding anything in 'C' for accessing automation objects is a bit of a nightmare.
Update:
It can be done with a PERL module: http://www.xav.com/perl/site/lib/Win32/OLE/Const.html
And PHP: http://uk.php.net/manual/en/function.com-load-typelib.php
Edited by Richard H. (2004-06-24 11:49 AM)
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 1376 anonymous users online.
|
|
|