How do i.....COM Objects

Last post 07-06-2007 3:09 AM by Bo Chen – MSFT. 2 replies.

Sort Posts:

  • How do i.....COM Objects

    07-02-2007, 4:42 PM
    • Member
      4 point Member
    • Zombie8
    • Member since 07-02-2007, 4:29 AM
    • Columbus, Ohio
    • Posts 18

    I was looking at creating my own asp.net 2.0 web page for work and I am looking to have my pages do some network stuff for me. Essentially what i am looking to do is open a asp.net page that has information related to some company remote sites. Once the page is done loading it will postback some information stating the router/firewall status is at these sites. I know there are some utilities already out in the industry that will do this for me and help monitor sites but I am just looking for basic up and down information. With all that being said, I was told by a fellow programmer that I should look into creating a COM object that would do all of the network pinging and router information. My question is how or where do i start learning about COM objects, or is there a way i could do this via AJAX or some other programmatic means.

     I am definately a novice at programming, but just graduated from College with a bachelors in Computer Information Systems (essesentially i have learned programming techniques and asp.net/c#/vb.net/ c++/ etc). I am up to the challenge but would like some advice from all of the wonderful developers that read and participate on the Microsoft ASP.net forums. All knowledge and help is appreciated! Thanks!

     

  • Re: How do i.....COM Objects

    07-02-2007, 6:14 PM
    Answer
    • All-Star
      32,526 point All-Star
    • augustwind
    • Member since 07-21-2002, 11:16 PM
    • Garland, TX
    • Posts 4,550
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs

    be well assured, this is just my opinion - - however:

    COM is older technology, that, could, in the future, be all but obsolete. If these com objects are not already available to you, I think you'd get confused working with two separate technologies (syntax differences alone)  - Since DotNet is object-oriented, if at all possible, I would recommend creating all the objects in DotNet and going from there.

    David Wier
    MCP/ASPInsider
    ASPNet101.com - where to look first!
    Replace It! - the newest from August Wind - search/replace in multiple files
    Control Grouper - easily control properties for multiple controls with one control!
    Calendar Express - The Best HTML Calendar Generator on the web!
    (Please 'Mark as Answer' when it applies)
  • Re: How do i.....COM Objects

    07-06-2007, 3:09 AM
    Answer

    Hi zombie,

    I also suggest you using .net instead of com. Just as augustwind  has said above, COM actually is an old technology, so, if it's not already available to you, i suggest you starting from .net. Personally i've not heard of something that COM can do while .net cannot. Anyway what you want is just to "do some network stuff for me" and there are lots of classes well defined in .net library(most in system.net namespace).

    why don't you take a look at those mdsn documents? here is one example: http://msdn2.microsoft.com/en-us/library/8sd71sfs.aspx

    Hope my suggestion helps

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (3 items)