Click here to Skip to main content
15,896,269 members
Home / Discussions / COM
   

COM

 
QuestionCoCreateInstance returns E_INVALIDARG randomly Pin
Neckli Etel31-Jul-08 2:46
Neckli Etel31-Jul-08 2:46 
QuestionHow to determine the calling application of a dcom server Pin
h. schneider30-Jul-08 23:45
h. schneider30-Jul-08 23:45 
QuestionSome beginning COM linking and IID questions Pin
jeffb4230-Jul-08 5:47
jeffb4230-Jul-08 5:47 
AnswerRe: Some beginning COM linking and IID questions Pin
ekklesia30-Jul-08 16:12
ekklesia30-Jul-08 16:12 
AnswerRe: Some beginning COM linking and IID questions Pin
Vi21-Aug-08 1:17
Vi21-Aug-08 1:17 
GeneralRe: Some beginning COM linking and IID questions Pin
jeffb421-Aug-08 8:24
jeffb421-Aug-08 8:24 
QuestionDebug TYhe COM Pin
nhss30-Jul-08 0:53
nhss30-Jul-08 0:53 
Questioncom question Pin
caradri28-Jul-08 6:05
caradri28-Jul-08 6:05 
Hi all.
I'm new in activex and im trying my first work. I put down here the code. What lack to me? its doesn't work. It's an example from internet that i'm testing it.
thanks for the patience to answer.


HTML:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>

<script type="text/javascript" language="javascript">

alert("i get this alert");
var obNewAXComponent = new ActiveXObject("AXComponent.AXComp");
var str = obNewAXComponent.callMe();
alert(str);//THIS ALERT NO.

</script>
</head>
<body>
<object id="obNewAXComponent" name="ActiveobNewAXComponentXObject" classid="CLSID:e6b78794-3955-4b29-a534-66add7e09fed" style="width: 6px; height: 7px"></object>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>


THE DLL:
using System;
using System.Collections.Generic;
using System.Text;

namespace AXComponent
{

public interface AXTest
{
string callMe();
}

public class AxComp : AXTest
{
public string callMe()
{
return "My dog has no nose, how does it smell?";
}
}
}
AnswerRe: com question Pin
CPallini30-Jul-08 2:09
mveCPallini30-Jul-08 2:09 
QuestionWindows Service (Exception: CreateDispatch returning scode = CO_E_SERVER_EXEC_FAILURE ($80080005) ) Pin
xuesyuan25-Jul-08 2:25
xuesyuan25-Jul-08 2:25 
QuestionCross platform development with object inheritance from compiled DLLs. Pin
KernelTintin24-Jul-08 15:43
KernelTintin24-Jul-08 15:43 
QuestionHow to pass Array of objects from com TO C# Pin
sivasankar anumula22-Jul-08 22:06
sivasankar anumula22-Jul-08 22:06 
QuestionHow to find reference count Pin
Ramu.e21-Jul-08 19:58
Ramu.e21-Jul-08 19:58 
AnswerRe: How to find reference count Pin
CPallini21-Jul-08 21:43
mveCPallini21-Jul-08 21:43 
QuestionCompilation error: Cannot convert char to LPWSTR Pin
V K 220-Jul-08 19:43
V K 220-Jul-08 19:43 
QuestionRe: Compilation error: Cannot convert char to LPWSTR Pin
CPallini20-Jul-08 22:46
mveCPallini20-Jul-08 22:46 
AnswerRe: Compilation error: Cannot convert char to LPWSTR Pin
Member 37611484-Aug-08 19:14
Member 37611484-Aug-08 19:14 
QuestionInstantiating COM objects Pin
Member 465324617-Jul-08 10:47
Member 465324617-Jul-08 10:47 
AnswerRe: Instantiating COM objects Pin
Member 69787017-Jul-08 11:20
Member 69787017-Jul-08 11:20 
AnswerRe: Instantiating COM objects Pin
ekklesia30-Jul-08 16:05
ekklesia30-Jul-08 16:05 
QuestionAll instances of a class? Pin
jsp_clarke17-Jul-08 0:39
jsp_clarke17-Jul-08 0:39 
QuestionPass Parameter to Activex using HTML Pin
_tasleem16-Jul-08 21:27
_tasleem16-Jul-08 21:27 
QuestionDoes _IDTExtensiblity2 interface work for OE/ Windows Mail addins? Pin
dolly16-Jul-08 0:12
dolly16-Jul-08 0:12 
GeneralNEW to COM Pin
kDevloper15-Jul-08 2:12
kDevloper15-Jul-08 2:12 
GeneralRe: NEW to COM Pin
Perspx15-Jul-08 10:54
Perspx15-Jul-08 10:54 

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.