Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
QuestionArchitecture question Pin
ssack19-Jul-07 6:24
ssack19-Jul-07 6:24 
QuestionSending Data to Sql Database Pin
Civic0619-Jul-07 5:28
Civic0619-Jul-07 5:28 
AnswerRe: Sending Data to Sql Database Pin
originSH19-Jul-07 5:45
originSH19-Jul-07 5:45 
AnswerRe: Sending Data to Sql Database Pin
snorkie19-Jul-07 5:52
professionalsnorkie19-Jul-07 5:52 
AnswerRe: Sending Data to Sql Database Pin
Civic0619-Jul-07 5:59
Civic0619-Jul-07 5:59 
GeneralRe: Sending Data to Sql Database Pin
originSH19-Jul-07 6:27
originSH19-Jul-07 6:27 
QuestionConditional Compilation Pin
BoneSoft19-Jul-07 5:14
BoneSoft19-Jul-07 5:14 
AnswerRe: Conditional Compilation Pin
Colin Angus Mackay19-Jul-07 5:36
Colin Angus Mackay19-Jul-07 5:36 
BoneSoft wrote:
Is there a way to do your #define directivess in a single place?


In the properties for the project. Right-click the project in the solution explorer. Click Properties from the menu. In the new window that opened up select the "Build" tab and look for "Conditional Compilation Symbols"


BoneSoft wrote:
But I would like to avoid having my #define directives in the designer file where the autogenerated code is and the forms code file where the event handlers are


You can't put them in there anyway - Visual Studio will overwrite them.

BoneSoft wrote:
Is there a way to do this?


You could put them in the form's load and have it remove the UI elements you don't want if you want the menu items available at design time.


Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...

"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."


My website

GeneralRe: Conditional Compilation Pin
BoneSoft19-Jul-07 7:59
BoneSoft19-Jul-07 7:59 
AnswerRe: Conditional Compilation Pin
Luc Pattyn19-Jul-07 5:41
sitebuilderLuc Pattyn19-Jul-07 5:41 
GeneralRe: Conditional Compilation Pin
BoneSoft19-Jul-07 8:01
BoneSoft19-Jul-07 8:01 
QuestionAccess variable from Global asax to a asmx page Pin
ramdil19-Jul-07 4:54
ramdil19-Jul-07 4:54 
AnswerRe: Access variable from Global asax to a asmx page Pin
kubben19-Jul-07 7:15
kubben19-Jul-07 7:15 
GeneralRe: Access variable from Global asax to a asmx page Pin
ramdil19-Jul-07 23:40
ramdil19-Jul-07 23:40 
GeneralRe: Access variable from Global asax to a asmx page Pin
kubben20-Jul-07 1:21
kubben20-Jul-07 1:21 
GeneralRe: Access variable from Global asax to a asmx page Pin
ramdil20-Jul-07 2:43
ramdil20-Jul-07 2:43 
GeneralRe: Access variable from Global asax to a asmx page Pin
kubben20-Jul-07 2:48
kubben20-Jul-07 2:48 
GeneralRe: Access variable from Global asax to a asmx page Pin
ramdil20-Jul-07 4:58
ramdil20-Jul-07 4:58 
QuestionAccessing Control on my webpage Pin
imnotso#19-Jul-07 4:06
imnotso#19-Jul-07 4:06 
AnswerRe: Accessing Control on my webpage Pin
kubben19-Jul-07 4:20
kubben19-Jul-07 4:20 
GeneralRe: Accessing Control on my webpage Pin
Manas Bhardwaj19-Jul-07 4:41
professionalManas Bhardwaj19-Jul-07 4:41 
GeneralRe: Accessing Control on my webpage Pin
imnotso#19-Jul-07 4:54
imnotso#19-Jul-07 4:54 
GeneralRe: Accessing Control on my webpage Pin
kubben19-Jul-07 7:06
kubben19-Jul-07 7:06 
QuestionKeywords in c# Pin
.NET- India 19-Jul-07 3:33
.NET- India 19-Jul-07 3:33 
AnswerRe: Keywords in c# Pin
Colin Angus Mackay19-Jul-07 3:35
Colin Angus Mackay19-Jul-07 3:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.