I have the following: Set SC = New MSScriptControl.ScriptControl With SC .Language = "Python" .AllowUI = True .SitehWnd = fMainForm.hwnd .Timeout = 3000 End With
In addition the following keys must be defined in the Registry: HKEY_CLASSES_ROOT\Python HKEY_CLASSES_ROOT\Python.AXScript.2 HKEY_CLASSES_ROOT\Python.AXScript-rexec.2 HTH ----- Original Message ----- From: Andrew Powell To: [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 8:38 PM Subject: MSScriptControl & ActivePython Could someone please lend a hand to a person who has very little python experience (*ahem* me), but is attempting to enable the scripting in his application to allow for ActivePython? I cant see to figure out, nor find in the docs, what the Language parameter should be for the MSScriptControl. Tried : python, Python, ActivePython Thanks! _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython