CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Debug

  1. #1
    Join Date
    Dec 1999
    Location
    Greece
    Posts
    75

    Debug

    I have two different projects which one use some classes from another.How can debug step by step the two projects together?


  2. #2
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: Debug

    Open VB and use the Add Project menu toi add the called project to the calling project.
    Then in the calling project, go to Project References and make sure that the reference to the .VBP is checked.

    Hope this helps,
    Duncan

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  3. #3
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Debug

    Another way to do so is to start two instances of VB, load a project in each one of these. Start the one with the classes in it (if it asks you what to do, select 'wait until components are created'. If you now start the second, and go into debug, you will be able to jump from one VB to the other. This way, you're refferences won't skrew up.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  4. #4
    Join Date
    Dec 1999
    Location
    Greece
    Posts
    75

    Re: Debug

    I don't know, but it does not work for debugging in order to see step by step compile changing the curson among the projects .Without reference my application does not work because use DCOM techology.May i am stupid but thank you!


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

Featured