473,379 Members | 1,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Define a compilation switch

in VB.NET 2005

How can I do that?

Samuel
Jun 26 '06 #1
6 1819
Application Properties -> Compile

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
in VB.NET 2005

How can I do that?

Samuel

Jun 26 '06 #2
Thank you,
I have express version, is that it why I don't seem to have this option
"Sanjib Biswas" <sa***********@ieee.org> wrote in message
news:O7**************@TK2MSFTNGP04.phx.gbl...
Application Properties -> Compile

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
in VB.NET 2005

How can I do that?

Samuel


Jun 26 '06 #3
I am also using VB.Net 2005 Express Edition. In the Solution Explorer
window, if you select the project name and then click on the Properties
button in the Solution Explorer pane, you don't see 'Application',
'Compile', 'Debug' etc? You can also go to properties from the Project
menu -> <Project name> Properties...

Regards
Sanjib

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:OS**************@TK2MSFTNGP02.phx.gbl...
Thank you,
I have express version, is that it why I don't seem to have this option
"Sanjib Biswas" <sa***********@ieee.org> wrote in message
news:O7**************@TK2MSFTNGP04.phx.gbl...
Application Properties -> Compile

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
in VB.NET 2005

How can I do that?

Samuel



Jun 26 '06 #4
I could see the tab but I can't find anywhere to add the constants

btw, I added a #Define to the program but it is better to define in a
central location

Thank you
"Sanjib Biswas" <sa***********@ieee.org> wrote in message
news:eQ**************@TK2MSFTNGP05.phx.gbl...
I am also using VB.Net 2005 Express Edition. In the Solution Explorer
window, if you select the project name and then click on the Properties
button in the Solution Explorer pane, you don't see 'Application',
'Compile', 'Debug' etc? You can also go to properties from the Project
menu -> <Project name> Properties...

Regards
Sanjib

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:OS**************@TK2MSFTNGP02.phx.gbl...
Thank you,
I have express version, is that it why I don't seem to have this option
"Sanjib Biswas" <sa***********@ieee.org> wrote in message
news:O7**************@TK2MSFTNGP04.phx.gbl...
Application Properties -> Compile

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
in VB.NET 2005

How can I do that?

Samuel



Jun 26 '06 #5
Unless you are willing to add some extra code to read a properties file, I
am not aware of any other ways other than what you just mentioned. But it
seems to me VC#.Net has conditional compilation symbols option under 'Build'
tab of the project properties window.

Regards
Sanjib

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:%2******************@TK2MSFTNGP02.phx.gbl...
I could see the tab but I can't find anywhere to add the constants

btw, I added a #Define to the program but it is better to define in a
central location

Thank you
"Sanjib Biswas" <sa***********@ieee.org> wrote in message
news:eQ**************@TK2MSFTNGP05.phx.gbl...
I am also using VB.Net 2005 Express Edition. In the Solution Explorer
window, if you select the project name and then click on the Properties
button in the Solution Explorer pane, you don't see 'Application',
'Compile', 'Debug' etc? You can also go to properties from the Project
menu -> <Project name> Properties...

Regards
Sanjib

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:OS**************@TK2MSFTNGP02.phx.gbl...
Thank you,
I have express version, is that it why I don't seem to have this option
"Sanjib Biswas" <sa***********@ieee.org> wrote in message
news:O7**************@TK2MSFTNGP04.phx.gbl...
Application Properties -> Compile

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
> in VB.NET 2005
>
> How can I do that?
>
> Samuel
>



Jun 26 '06 #6
I am coming from VB.NET 2003 and it is under the build tab I expected
something similar in a later version

Samuel

"Sanjib Biswas" <sa***********@ieee.org> wrote in message
news:e6**************@TK2MSFTNGP05.phx.gbl...
Unless you are willing to add some extra code to read a properties file, I
am not aware of any other ways other than what you just mentioned. But it
seems to me VC#.Net has conditional compilation symbols option under
'Build' tab of the project properties window.

Regards
Sanjib

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:%2******************@TK2MSFTNGP02.phx.gbl...
I could see the tab but I can't find anywhere to add the constants

btw, I added a #Define to the program but it is better to define in a
central location

Thank you
"Sanjib Biswas" <sa***********@ieee.org> wrote in message
news:eQ**************@TK2MSFTNGP05.phx.gbl...
I am also using VB.Net 2005 Express Edition. In the Solution Explorer
window, if you select the project name and then click on the Properties
button in the Solution Explorer pane, you don't see 'Application',
'Compile', 'Debug' etc? You can also go to properties from the Project
menu -> <Project name> Properties...

Regards
Sanjib

"Samuel Shulman" <sa************@ntlworld.com> wrote in message
news:OS**************@TK2MSFTNGP02.phx.gbl...
Thank you,
I have express version, is that it why I don't seem to have this option
"Sanjib Biswas" <sa***********@ieee.org> wrote in message
news:O7**************@TK2MSFTNGP04.phx.gbl...
> Application Properties -> Compile
>
> "Samuel Shulman" <sa************@ntlworld.com> wrote in message
> news:%2****************@TK2MSFTNGP04.phx.gbl...
>> in VB.NET 2005
>>
>> How can I do that?
>>
>> Samuel
>>
>
>



Jun 26 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: DrUg13 | last post by:
#ifndef HEADER_H #define HEADER_H blah blal #endif So this tells the compiler That if its defined do not define it again. Could someone help me understand this. Does this mean that if I...
4
by: Rafi Kfir | last post by:
"Hi, This is a very simple question that confuses me (probably due to some lack of knowledge...) I will illustrate my problem with a smiple example: My project has the following files:
2
by: Steve Jorgensen | last post by:
To begin with an example... Let's say you were wanting to write code usign early binding to the MSXML library, but then be able to switch between early and late binding at will. Conditional...
34
by: BQ | last post by:
Hello Is there a way to declare 'FUNCT' via a define so that if its parameter x, a constant, is greater than 35, it returns 56, if not, 20. I would like that at compile time, not at run time. ...
2
by: FireStarter | last post by:
Guys, in the code that follows, why does the method F() still compile, even if DBG is undefined? Inside method G(), the code inside <#if DBG> does not compile (notice that I can write whatever I...
1
by: A.M-SG | last post by:
Hi, We have a solution with several c# projects within it. How can I define solution wide conditional compilation symbols?
7
by: fidlee | last post by:
i am new to learning jython... i just tried compiling a small piece of code that is given below: def fac(x) if x<=1:return 1 return x*fac(x-1) on
4
by: venkat | last post by:
I have come across some preprossor statements, such as #define PPTR_int #define PPTR_str #define DDAR_baddr & #define DDAR_caddr & What do they mean, but when i compile the code with these...
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.