Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to register COM component into c# .net window application

How to register COM component into c# .net window application

Scheduled Pinned Locked Moved Visual Basic
csharpcomhelptutorial
11 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    veereshIndia
    wrote on last edited by
    #1

    Dear All, Iam new to c# window application and also for COM.I have a COM component which is developed in Visual Basic.Now i want to use this component into my c# window application.How can i register and use.The COM is in the form of EXE not in the form of DLL.Please help me out on this. Thanks & Regards Veeresh

    i want to join this group

    I D P 3 Replies Last reply
    0
    • V veereshIndia

      Dear All, Iam new to c# window application and also for COM.I have a COM component which is developed in Visual Basic.Now i want to use this component into my c# window application.How can i register and use.The COM is in the form of EXE not in the form of DLL.Please help me out on this. Thanks & Regards Veeresh

      i want to join this group

      I Offline
      I Offline
      indian143
      wrote on last edited by
      #2

      Hi, The SyncFusion technology can help you please search for that. Thanks a Lot, Aleem Mohammad

      Thanks & Regards, Md. Abdul Aleem NIIT technologies

      1 Reply Last reply
      0
      • V veereshIndia

        Dear All, Iam new to c# window application and also for COM.I have a COM component which is developed in Visual Basic.Now i want to use this component into my c# window application.How can i register and use.The COM is in the form of EXE not in the form of DLL.Please help me out on this. Thanks & Regards Veeresh

        i want to join this group

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        RegSvr32 is used to register COM components, but it your case, it may not work. If this is an .EXE COM server, then the ojects it exposes may not be available at all until your start that .EXE. You won't be able to set a reference to that servers exposed classes, so you might end up using late-binding to get at them. This is not a preferrable situation for someone who is only starting out in C# or VB.NET. BTW, you asked a question about C# in a VB.NET forum...

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        1 Reply Last reply
        0
        • V veereshIndia

          Dear All, Iam new to c# window application and also for COM.I have a COM component which is developed in Visual Basic.Now i want to use this component into my c# window application.How can i register and use.The COM is in the form of EXE not in the form of DLL.Please help me out on this. Thanks & Regards Veeresh

          i want to join this group

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #4

          veereshIndia wrote:

          Now i want to use this component into my c# window application

          You'd be better off asking in the C# forum.

          "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

          L 1 Reply Last reply
          0
          • P Paul Conrad

            veereshIndia wrote:

            Now i want to use this component into my c# window application

            You'd be better off asking in the C# forum.

            "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

            L Offline
            L Offline
            leckey 0
            wrote on last edited by
            #5

            he'd be better off not asking it in FOUR forums though.

            Blog link to be reinstated at a later date.

            J P 2 Replies Last reply
            0
            • L leckey 0

              he'd be better off not asking it in FOUR forums though.

              Blog link to be reinstated at a later date.

              J Offline
              J Offline
              Jon_Boy
              wrote on last edited by
              #6

              It would be nice if there was a ban function to punish people who do so. Whether the ban is temp or perm is a toss up, but the penalty factor would be nice.

              Any suggestions, ideas, or 'constructive criticism' are always welcome. "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

              1 Reply Last reply
              0
              • L leckey 0

                he'd be better off not asking it in FOUR forums though.

                Blog link to be reinstated at a later date.

                P Offline
                P Offline
                Paul Conrad
                wrote on last edited by
                #7

                Yep. His question should generally be in either the C# forum, or .NET Framework forum. Pick JUST one, not loads of them. It cannot really be that hard.

                "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                I 1 Reply Last reply
                0
                • P Paul Conrad

                  Yep. His question should generally be in either the C# forum, or .NET Framework forum. Pick JUST one, not loads of them. It cannot really be that hard.

                  "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                  I Offline
                  I Offline
                  indian143
                  wrote on last edited by
                  #8

                  Hi, If he asks again in any other forum it becomes like duplicate one, either it is C# or VB.Net converting a COM component process is same, instead of asking him to post in another forum, we can just understand his problem and answer him with good answer. Isnt it a good Idea? Thanks, Aleem Mohammad.

                  Thanks & Regards, Md. Abdul Aleem NIIT technologies

                  S D 2 Replies Last reply
                  0
                  • I indian143

                    Hi, If he asks again in any other forum it becomes like duplicate one, either it is C# or VB.Net converting a COM component process is same, instead of asking him to post in another forum, we can just understand his problem and answer him with good answer. Isnt it a good Idea? Thanks, Aleem Mohammad.

                    Thanks & Regards, Md. Abdul Aleem NIIT technologies

                    S Offline
                    S Offline
                    Smithers Jones
                    wrote on last edited by
                    #9

                    indian143 wrote:

                    we can just understand his problem and answer him with good answer. Isnt it a good Idea?

                    ... says the one who is asking the same question over and over again. Btw, people are asking him to post in one forum and not asking the same question in four forums. -enter abuse of your choice here-

                    I 1 Reply Last reply
                    0
                    • S Smithers Jones

                      indian143 wrote:

                      we can just understand his problem and answer him with good answer. Isnt it a good Idea?

                      ... says the one who is asking the same question over and over again. Btw, people are asking him to post in one forum and not asking the same question in four forums. -enter abuse of your choice here-

                      I Offline
                      I Offline
                      indian143
                      wrote on last edited by
                      #10

                      Hi, Yep I did it friend but once upon a time, now I am not doing it because I came to know how to behave in this forum. I got much experience in using this forum. Any way thanks for bringing my mistakes in to my view. Thanks a Lot, Aleem Mohammad.

                      Thanks & Regards, Md. Abdul Aleem NIIT technologies

                      1 Reply Last reply
                      0
                      • I indian143

                        Hi, If he asks again in any other forum it becomes like duplicate one, either it is C# or VB.Net converting a COM component process is same, instead of asking him to post in another forum, we can just understand his problem and answer him with good answer. Isnt it a good Idea? Thanks, Aleem Mohammad.

                        Thanks & Regards, Md. Abdul Aleem NIIT technologies

                        D Offline
                        D Offline
                        Dave Kreskowiak
                        wrote on last edited by
                        #11

                        No, it's not. If you post a question in multiple forums, you can get different answers, which isn't really a good thing. You're taking away a continuity of discussion, where the good answers are weeded out from bad ones, and more detail required of the OP is lost in one discussion, but exists in another, leading to misinformation on one discussion thread.

                        A guide to posting questions on CodeProject[^]
                        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                             2006, 2007, 2008

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups