Click here to Skip to main content
15,897,518 members
Home / Discussions / COM
   

COM

 
GeneralRe: COM Object NameSpace Pin
Lim Bio Liong20-Dec-07 23:22
Lim Bio Liong20-Dec-07 23:22 
GeneralRe: COM Object NameSpace Pin
Kuryn19-Dec-07 11:38
Kuryn19-Dec-07 11:38 
QuestionCOM+ Example? Pin
Mohib Sheth18-Dec-07 20:33
Mohib Sheth18-Dec-07 20:33 
AnswerRe: COM+ Example? Pin
Nathan Holt at EMOM19-Dec-07 11:24
Nathan Holt at EMOM19-Dec-07 11:24 
GeneralAn unhandled exception of type System.Runtime.InteropServices.COMException occurred Pin
gauthee17-Dec-07 18:36
gauthee17-Dec-07 18:36 
GeneralRe: An unhandled exception of type System.Runtime.InteropServices.COMException occurred Pin
User 21559718-Dec-07 0:22
User 21559718-Dec-07 0:22 
QuestionHow to automate Excel 2007 with C# 2003.... Pin
student49115-Dec-07 7:32
student49115-Dec-07 7:32 
QuestionCOM - Class doesn't support automation! Pin
peepsicola14-Dec-07 6:57
peepsicola14-Dec-07 6:57 
I've created a COM library that serves as a control/object spy, from which i would like to make calls from a vbscript.

Here's a snippet of the vbscript:
<br />
Set o = CreateObject(myBot.Windows)<br />
<br />
Path = "c:\test.exe"<br />
WndTitle = "TestApp"<br />
<br />
Parent = o.Run( Path, WndTitle )<br />
If Parent Then<br />
    WScript.Echo "We've successfully Launched " & WndTitle & "!"<br />
    <br />
    res = o.ClickButton( Parent, "Button1", "WindowsForms10.BUTTON.app.0.378734a" )<br />
    <br />
    '.... and so on<br />
<br />
Else<br />
    '... and so on<br />
End If<br />


Here's the thing,
The vbscript is able to run the first function "o.Run(...)", but when i try executing the next function "o.ClickButton(...)", I get a "Windows Script Host" error message saying "Class doesn't support Automation: 'ClickButton'.

I've removed all instances of the dll (com library) from the 'global assembly cache' using gacutil, and un-registered it using 'regsvscs /unregister'

Does anyone have a good idea of where I could begin to resolve this issue...?
QuestionRe: COM - Class doesn't support automation! Pin
CPallini14-Dec-07 9:27
mveCPallini14-Dec-07 9:27 
GeneralRe: COM - Class doesn't support automation! Pin
peepsicola14-Dec-07 10:28
peepsicola14-Dec-07 10:28 
GeneralRe: COM - Class doesn't support automation! Pin
Mike Dimmick14-Dec-07 13:13
Mike Dimmick14-Dec-07 13:13 
GeneralRe: COM - Class doesn't support automation! Pin
peepsicola18-Dec-07 3:44
peepsicola18-Dec-07 3:44 
Generalextending shell with right-click menu items [modified] Pin
carabutnicolae123413-Dec-07 20:28
carabutnicolae123413-Dec-07 20:28 
QuestionIs it possible for an ActiveX control to access the DOM of the page? Pin
keniagm13-Dec-07 8:33
keniagm13-Dec-07 8:33 
GeneralRe: Is it possible for an ActiveX control to access the DOM of the page? Pin
vishalmore13-Dec-07 15:14
vishalmore13-Dec-07 15:14 
GeneralRe: Is it possible for an ActiveX control to access the DOM of the page? Pin
keniagm14-Dec-07 2:14
keniagm14-Dec-07 2:14 
GeneralWord page border. Pin
priyank_ldce12-Dec-07 4:03
priyank_ldce12-Dec-07 4:03 
GeneralLate binding from COM client Pin
sawerr12-Dec-07 1:35
sawerr12-Dec-07 1:35 
GeneralRe: Late binding from COM client Pin
CPallini12-Dec-07 9:27
mveCPallini12-Dec-07 9:27 
QuestionOutlook Add ins Pin
Jerome.Mariadoss12-Dec-07 1:19
Jerome.Mariadoss12-Dec-07 1:19 
GeneralRe: Outlook Add ins Pin
KarstenK12-Dec-07 2:51
mveKarstenK12-Dec-07 2:51 
GeneralIWebBrowser2 Behavior is Different from IE7 in Vista Pin
chunsj11-Dec-07 19:41
chunsj11-Dec-07 19:41 
QuestionNumber Problem...... Pin
Peter Parker11-Dec-07 3:44
Peter Parker11-Dec-07 3:44 
GeneralIntercept Send Mail in Outlook Pin
_AnsHUMAN_ 10-Dec-07 21:13
_AnsHUMAN_ 10-Dec-07 21:13 
GeneralRe: Intercept Send Mail in Outlook Pin
myshketer11-Dec-07 21:11
myshketer11-Dec-07 21:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.