Reply to: XM5.5 API Something changed? CreateObjectApril 23, 2009 at 11:20 pm
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]
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: