mbrecht
(Fresh Scripter)
2003-03-14 01:17 PM
KiX COM Object

Hello boys and girls(?), and sorry for my poor english.

In my business environment WSH and VBscript is the standard scripting language. My request is that all "KiX" funktions/macros are integrated in a simpel DLL (un-/registered with regsvr32.exe) to use it with VBscript. Many informations of KiX can ditto use with many other Interfaces ADSI/WMI etc. but KiX is a collection of the real important informations for a simpel use.

Bye MB


LonkeroAdministrator
(KiX Master Guru)
2003-03-14 01:28 PM
Re: KiX COM Object

mm...
well, you can do it other way.
you can use the functionality of wsh in kix [Smile]

anyway, the idea is not so bad but as kix is not mainstream product of M$, it is not possible.
this same request could be sent to microsoft, btw...

and basically, what kix is all about, is a scripting language that is better than M$ mainstream. not add-on for them.

so, tricky one you got...
but I vote against it [Wink]


mbrecht
(Fresh Scripter)
2003-03-14 01:51 PM
Re: KiX COM Object

Why is not possible? To create a COM Server is no secret. I think the informations in KiX are encapsulated in funktions and this funktions can access with a alternate Interface. In my environment is the use of VBscript a company standard but is open to enhance the functionality with COM Objekts.

IŽam not interested on a war of MS WSH and (MS) KiXtart [Razz]


Sealeopard
(KiX Master)
2003-03-14 04:03 PM
Re: KiX COM Object

So why not use the native Microsoft COM objects. Using a potential KiXtart COM-interface would just be another wrapper around a wrapper to an interface. It would create an unnecessary layer.

mbrecht
(Fresh Scripter)
2003-03-14 05:45 PM
Re: KiX COM Object

Almost the KiX Objects are available on every OS Version. The KiX functions and macros are a completed collection of functionality thats a admin at login time needed. In a environment with a zoo of Microsoft OS is KiXart the best solution. But, if the company standard framework based on vbscript for all other scripting problems, you can not convince that scripting with KiXtart-Scriptprocessor is the better solution. The idea is now to have a easy to use library with functions/macros witch already exist in the Kixtart sourcecode.

Bye MB

[ 14. March 2003, 17:49: Message edited by: mbrecht ]


LonkeroAdministrator
(KiX Master Guru)
2003-03-14 06:57 PM
Re: KiX COM Object

I know that there is stupid corporations that don't understand what is their best, but definitely getting kix to run on linux is more important than helping those companies.
and as far as I know, the linux translation has not even crossed ruud's mind.


Sealeopard
(KiX Master)
2003-03-15 02:48 AM
Re: KiX COM Object

There might be problems with his employer not supporting this type of conversion.

mbrecht
(Fresh Scripter)
2009-01-21 11:54 AM
Re: KiX COM Object

Wow, is it true? If the KiXtart.dll in 4.60 the response of my request? Cool!

Bye
MB


Mart
(KiX Supporter)
2009-01-21 12:45 PM
Re: KiX COM Object

It is just a first release so there might be some issues with it. 4.60 in general had some issues.

4.61 Beta 1 is out so it might be a better idea to test with the DLL of 4.61 once it is released and not 4.60. In the current package of 4.61B1 the DLL is not included yet.


Skatterbrainz
(Starting to like KiXtart)
2009-05-05 11:46 PM
Re: KiX COM Object

I tested KiXtart.dll on Vista and XP and had some success instantiating an object from VBScript and calling some macros. But I can't seem to get it to work from PowerShell. I'm using the following code...

$kix = New-Object -ComObject KiXtart.Application

Don't beat me up, please. Just mentioning this in case it helps or means anything to someone besides myself.


AllenAdministrator
(KiX Supporter)
2009-05-06 02:12 AM
Re: KiX COM Object

No beat downs... \:\)

Seriously, I would bet you are the first person to try this... as almost no one here likes Powershell. I bought a book and was going to really try to learn it, but absolutely hated the syntax, and then couldn't read my scripts after a day or two.

I don't know why it doesn't work... and to be honest, I don't even know what the syntax would be to use it. Maybe someone will have some ideas.


Skatterbrainz
(Starting to like KiXtart)
2009-05-29 04:42 AM
Re: KiX COM Object

I was just trying it out for curiosity. It works fine from VBScript, which is fine for my needs. I work with KiXtart more than the others anyway. Just thought it might be worth mentioning in case it helps someone else.