Skip to content

COM

COM discussions

This category can be followed from the open social web via the handle com-ba4ced8e@forum.codeproject.com

4.8k Topics 11.7k Posts
  • AppCrash Issue related to COM?

    csharp dotnet com help c++
    5
    0 Votes
    5 Posts
    9 Views
    L
    You have my sympathy, but unfortunately the only way to track this sort of error is to add logging and debugging code to your application. I worked in technical support for many years and often saw problems such as you describe, and yes, they were extremely difficult to diagnose.
  • How to register a com exe without admin rights?

    com help tutorial question
    5
    0 Votes
    5 Posts
    5 Views
    M
    Sorry, for the misunderstanding, it wasn't for you, it was for the OP.
  • 0 Votes
    1 Posts
    3 Views
    No one has replied
  • about screen reader how to read PDF file

    help tutorial
    5
    0 Votes
    5 Posts
    11 Views
    B
    really thanks for your attention
  • 0 Votes
    2 Posts
    6 Views
    L
    I think you need administrator rights to access HKCR keys. You can check this by running regedit to see if it will start under your userid. One of these days I'm going to think of a really clever signature.
  • Creating .OCX file hangs

    com
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • GetIDsOfNames returning -1

    c++ com help
    2
    0 Votes
    2 Posts
    6 Views
    L
    You need to use the GetLastError function[^] to determine why it fails. One of these days I'm going to think of a really clever signature.
  • _WorkSheet::Paste usage

    c++
    4
    0 Votes
    4 Posts
    14 Views
    J
    Sorry, I overlooked the parameter type. WorkSheet.GetRange() returns a LPDISPATCH which can be assigned to a Range object. You can use the LPDISPATCH returned by GetRange() or access the underlying IDispatch pointer of an existing Range object using the LPDISPATCH() operator to create the required variant: VARIANT vtRng; vtRng.vt = VT_DISPATCH; // Assign LPDISPATCH returned by GetRange() vtRng.pdispVal = objSheet.GetRange(COleVariant(TEXT("A1")),COleVariant(TEXT("M34"))); // Alternatively, access the IDispatch pointer of an existing Range object // vtRng.pdispVal = objRange; objSheet.Paste(vtRng, COleVariant((short)TRUE));
  • MSDN documentation for MFC OLE wrapper method/prperties

    c++ com
    4
    0 Votes
    4 Posts
    12 Views
    L
    I keep pointing you to MSDN and various related pieces of documentation, but you keep coming back here asking for the same thing. Try using the tools at your disposal (Google, Bing etc) to find what you are looking for. One of these days I'm going to think of a really clever signature.
  • range setvalue

    help tutorial
    6
    0 Votes
    6 Posts
    17 Views
    L
    ForNow wrote: is this automatically included with office No idea, you need to read the article and any associated links for the details of how to do it. One of these days I'm going to think of a really clever signature.
  • PUT_VISIBLE documentation

    4
    0 Votes
    4 Posts
    9 Views
    L
    Is that a statement or a question? One of these days I'm going to think of a really clever signature.
  • Enumeration of implemented interfaces

    c++ com tutorial
    2
    0 Votes
    2 Posts
    6 Views
    _
    I suppose there's no COM expert around right now :) By the way: *bump* I still need help on this. Thanks.
  • office 2003 interop

    csharp question com announcement
    3
    0 Votes
    3 Posts
    8 Views
    A
    Use DLL of office 2000. It may have less features but will work in all versions of office. If u need any extra features then try to avoid it or use a least version satisfying your needs.:thumbsup:
  • 0 Votes
    1 Posts
    3 Views
    No one has replied
  • .NET COM DLL doesn't register.

    csharp com windows-admin help
    4
    0 Votes
    4 Posts
    4 Views
    L
    Joni_78 wrote: I wonder if it does everything that regsvr32 does. No idea, I'm afraid, but it would be easy to test. One of these days I'm going to think of a really clever signature.
  • .NET COM component to replace existing

    csharp com regex question
    4
    0 Votes
    4 Posts
    11 Views
    M
    There are two scenarios: 1. Replace the 3rd party COM component and consequently use a different COM Interface (with a different signature). This scenario is independent of COM programming. I would use Adaptor design pattern for this problem. 2. Replace the 3rd party COM component but use same COM Interface (i.e. the Interface's GUID is same). In this case there will be no change in your program. All you need to do is to unregister the old COM server and register the new COM server.
  • How to get INTERFACEDATA from ITypeInfo?

    help tutorial question
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • 0 Votes
    2 Posts
    6 Views
    L
    Please do not post the same question in multiple forums. One of these days I'm going to think of a really clever signature.
  • Is COM an 'outdated' technology?

    question com design discussion
    9
    0 Votes
    9 Posts
    22 Views
    L
    krumia wrote: So, I had asked the question in the subject itself: Is COM an 'outdated' technology? ..it is. krumia wrote: If it is, what are the technologies that replace COM? And how? DCOM and more recently, .NET. No, I'm not going to reiterate history, it's out there on the web somewhere. krumia wrote: If it is not, why such an old technology is still there? Because having something newer that "replaces X" does not really replace X. Assembly and C++ are still around, as is the Latin language. krumia wrote: I am hoping to see a discussion emerging about this Just look up one of the old ones :thumbsup: Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]
  • COM and its availability via IIS

    com windows-admin help question
    3
    0 Votes
    3 Posts
    5 Views
    L
    gsvolt wrote: I'm investigating ways in which a COM component is exposed to the world wide web, preferably in IIS 7. ..you're posting a question - there's a difference. gsvolt wrote: Is this an exercise in futility, or do COM developers frequently write components to be executed in a windows desktop application as well as in a web application? Though I do use COM-controls (written in .NET), they do not run on the webserver, but in the webbrowser. Meaning it has the same limitations as installed software, which has, obviously, the preference. Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]