Click here to Skip to main content
16,009,150 members
Home / Discussions / COM
   

COM

 
AnswerRe: COM Exception - another try here Pin
Baltoro7-Aug-08 13:56
Baltoro7-Aug-08 13:56 
QuestionATL OLE document container redraw problem Pin
Member 30621767-Aug-08 0:50
Member 30621767-Aug-08 0:50 
QuestionI need to learn com.DO we have good material or links to read Pin
pallaka6-Aug-08 18:29
pallaka6-Aug-08 18:29 
QuestionAs simple encrpt/decrypt com dll Pin
gollnick6-Aug-08 14:32
gollnick6-Aug-08 14:32 
Questionadd-in for OutLook 2003 can be used to outlook 2002 Pin
wasimsharp5-Aug-08 22:08
wasimsharp5-Aug-08 22:08 
AnswerRe: add-in for OutLook 2003 can be used to outlook 2002 Pin
Paul Conrad6-Aug-08 5:17
professionalPaul Conrad6-Aug-08 5:17 
QuestionRetrieving the COM Class factory for COMponent class factory with the CLSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80080005 Pin
fulbright4-Aug-08 23:03
fulbright4-Aug-08 23:03 
QuestionRe: Retrieving the COM Class factory for COMponent class factory with the CLSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80080005 Pin
Sara1237-Aug-08 0:20
Sara1237-Aug-08 0:20 
AnswerRe: Retrieving the COM Class factory for COMponent class factory with the CLSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80080005 Pin
Tahir Mahmood10-Aug-08 18:42
Tahir Mahmood10-Aug-08 18:42 
QuestionCOM dll failed to register in debug mode Pin
MKC0024-Aug-08 20:31
MKC0024-Aug-08 20:31 
AnswerRe: COM dll failed to register in debug mode Pin
MKC0024-Aug-08 22:04
MKC0024-Aug-08 22:04 
GeneralRe: COM dll failed to register in debug mode Pin
Sara1237-Aug-08 0:35
Sara1237-Aug-08 0:35 
QuestionSubscribe to HTMLInputTextElementEvents??? [modified] Pin
Romiks4-Aug-08 1:28
Romiks4-Aug-08 1:28 
AnswerRe: Subscribe to HTMLInputTextElementEvents??? Pin
Romiks4-Aug-08 9:24
Romiks4-Aug-08 9:24 
QuestionInterop leak BSTR to System.STring Pin
Karthikeyan Mahadevan3-Aug-08 3:17
Karthikeyan Mahadevan3-Aug-08 3:17 
QuestionCOM Partition Pin
Member 476363031-Jul-08 21:11
Member 476363031-Jul-08 21:11 
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 

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.