Results 1 to 2 of 2

Thread: ifdef question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Posts
    27

    Question

    Hi All,

    If you have worked with c or c++ then u should have noticed that using the ifdef functionality we can compile code that behaves separately for debug version and separate for runtime version.
    ex. ifdef _DEBUG
    code
    fi
    can this be done for vb? if yes then how?

    thanks in advance
    okdk

  2. #2
    Guest
    VB supports conditional compilation arguments, yes.

    #If ... then
    #Else...
    #End if

    Go to the MSDN website (or CD) to find out more about it.


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