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

Thread: IDE Detection

  1. #1
    Join Date
    Apr 2001
    Posts
    90

    IDE Detection

    How do you programmatically determine if the IDE is running?

    Thanks in advance.

    CodeHacker
    Rate me if it helped, Thanks

  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: IDE Detection


    Debug.print 1/0




    If the Ide is running, the above statement will produce an divide by zero error. If IDE is not running the statement is ignored.

    John G

  3. #3
    Join Date
    Apr 2001
    Posts
    90

    Re: IDE Detection

    Thanks. Why didn't I think of that. Then I can just route any code I need on an on error block. Duh. 8-)

    CodeHacker
    Rate me if it helped, Thanks

  4. #4
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: IDE Detection

    Have also a look here:
    http://codeguru.com/cgi-bin/bbs/wt/s...age=&view=&sb=

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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