Results 1 to 4 of 4

Thread: COM environment

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Location
    Calgary
    Posts
    121

    COM environment

    Can someone please explain to me what exactly a COM environment is, what it does, and how I can implement one? Apparently I need to implement one so that I can use a dll file and allow transactions between it and my application. I am highly uninformed on this topic.

    Thanks,
    Colin

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: COM environment

    Originally posted by Knoxster
    Can someone please explain to me what exactly a COM environment is, what it does, and how I can implement one? Apparently I need to implement one so that I can use a dll file and allow transactions between it and my application. I am highly uninformed on this topic.

    Thanks,
    Colin
    Well, first of all... COM isn't an environment. It's more of a methodology...
    Common
    Object
    Model
    But COM is only the first half of it. In order for you to implement transactions, you'll also need to learn about MTS (Microsoft Transaction Server) which will allow you to use COM objects in transactions. If you can, pick up the book "VB6 MTS" from Wrox press. I think there is also a "VB COM" book by the same publisher. You'll probably want to read that one too.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Location
    Calgary
    Posts
    121
    is this required for me to use an ActiveX DLL? or am I able to just package an application with the DLL and make calls to the DLL?

    Question on the side.... apparently I only have VB 6.0 "Learning Edition" installed on my pc... what edition of VB 6.0 is required for me to be able to create ActiveX DLL's? is this also capable in VB .NET?

    Thanks,
    Colin

  4. #4
    Hyperactive Member
    Join Date
    Nov 2002
    Location
    india
    Posts
    418
    hi,

    for making componets u have to activex dll and make them as .dll and register them using regsvr32 "dllname" then u can include in the project and use it.for this u can ur vb personal edition.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width