Home Forums General XMetaL Discussion XM5.5 API Something changed? CreateObject Reply To: XM5.5 API Something changed? CreateObject

Derek Read

Reply to: XM5.5 API Something changed? CreateObject

Either your script is missing some bits, or has a few typos in it (whatever the case I don't quite understand how it should work, so maybe it's just me).

I have no problem launching XMetaL Author Enterprise 5.5 using VB / VBScript:
[code]Set someVar = CreateObject(“XMetaL.Application”)[/code]

[code]Dim someVar
someVar = CreateObject(“XMetaL.Application”)[/code]

…and with JScript using this:
[code]var someVar = new ActiveXObject(“XMetaL.Application”);[/code]

The only thing I can think of is that for some reason XMetaL Author might not have been registered properly on your machine during installation (which is necessary to work with it using COM). You might try performing a “Repair” from the Add or Remove Programs tool in the Windows Control Panel, reinstalling, or running the following at a command prompt:
xmetal55.exe /regserver

Reply

Products
Downloads
Support