Re: programmzeilen nicht mitkompilieren ?



Hallo unter VB6 konnte man eine Variable setzen, so das (isdefine??)
gewisser code nicht mitkompiliert wurde ?
Geht sowas unterm Visual Studio auch ?

Hallo Andreas,
siehe #-Compiler-Direktiven in der MSDN.
\\\
#Const FullScreen = True

#If FullScreen Then
Private myString As String = "FullScreen"
#Else
Private myString As String = "Windowed"
#End If
///
--
Gruß Scotty


.


Loading