|
I use C#, what's VC# ?
|
|
|
|
|
The full name is Visual C# which can then be abbreviated to: C# or VC#.
Same way with the other languages
Visual C++, VC++, C++
Visual Basic, VB, Basic
Visual J#, VJ#, J#
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
No, there is only C#; you may choose to use Visual Studio as your IDE (or C# Builder or Notepad), but that has no effect on the name of the language.
|
|
|
|
|
Either way, the point of this post was to conduct a survey on the C# language.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
1. Is C# your preferred programming language? Why?
Yes, it pays the bills
2. What is your favorite C# language feature? (Anonymous Methods, Lambda Expressions, LINQ, Automatic Properties, etc)
That it is C-like
3. Do you believe C# has the feature set necessary to handle the future of programming in the real world? Explain
No, I don't know what the future holds
4. What language were you using before or are currently using with C#?
C
5. Are their any flaws that you can see in the C# language?
Yes
6. Have you or are currently using the MONO framework with C# to make your applications cross-platform?
No
7. With regards to programming in general (not just C#), how important is it to stay up to date in the programming industry?
One should know what's out there so informed decisions may be made
8. Is Microsoft doing all that it can for marketing the C# language or the Visual Studio suite? (your personal opinion)
No
9. If you could add one feature to the C# language what would it be?
Virtual constructors
10. What do you use for most of your programming environments with regards to the IDE? (Visual Studio, Notepad, Notepad++, etc)
Edit
|
|
|
|
|
Yep, I'm not in the wrong forum (I hope). I have a C DLL that exports a few global variables (integers, if that matters) - I'd like to access these values using a C# library. I tried to google, but I couldn't find satisfactory answers.
I've been able to access these variables creating a C++/CLI wrapper around the library, but I'm looking for a C# solution to avoid mantaining an extra project just for these integers. Any pointers?
Thanks in advance
Luca
The Price of Freedom is Eternal Vigilance. -- Wing Commander IV
En Það Besta Sem Guð Hefur Skapað, Er Nýr Dagur.
(But the best thing God has created, is a New Day.)
-- Sigur Ròs - Viðrar vel til loftárása
|
|
|
|
|
Hi,
AFAIK you can't just access unmanaged data, so the easiest thing to do would be to add
getter and setter functions to the C DLL, then use P/Invoke to call them from C#.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Well, I can't recompile the library since its licensing terms prohibit modifications, so I'll keep the C++ wrapper.
Thanks anyway! I'm new to this P/Invoke stuff and I know I have quite an ability to overengineer simple things
Luca
The Price of Freedom is Eternal Vigilance. -- Wing Commander IV
En Það Besta Sem Guð Hefur Skapað, Er Nýr Dagur.
(But the best thing God has created, is a New Day.)
-- Sigur Ròs - Viðrar vel til loftárása
|
|
|
|
|
VISUALC#.NET CODES
1STPROBLEM
PLEASE SEND ME A VERY SIMPLE CODE REGARDING HOW TO SHOW IMAGE IN C# USING A CLICK BUTTON OUTPUTS AN IMAGE FOR EXAMPLE THE BUTTON NAME IS HAT WHEN YOU CLICK THE BUTTON ITS OUTPUT IS AN IMAGE OF A HAT.I NEED A STEP BY STEP SOURCE CODE....
THE SECOND ONE:
SOURCE COULD THAT DEALS WITH FORMS,WHEN YOU PRESS A BUTTON IT INTRODUCE ANOTHER FORM.FOR EXAMPLE IN FORM1 THERE IS A BUTTON NAMED SECOND PAGE...WHEN YOU PRESS THE BUTTON YOU WILL BE TRANSFERED TO THE SECOND PAGE WHICH IS FORM2.
PLEASE SEND TO MY EMAIL ADDRESS
jdace1231@yahoo.com or jdace1023@yahoo.com
PLEASE PLEASE PLEASE
THANK YOU IN ADVANCE
GOD BLESS
|
|
|
|
|
Honestly, get a life.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
jdale wrote: VISUALC#.NET CODES
1STPROBLEM
PLEASE SEND ME A VERY SIMPLE CODE REGARDING HOW TO SHOW IMAGE IN C# USING A CLICK BUTTON OUTPUTS AN IMAGE FOR EXAMPLE THE BUTTON NAME IS HAT WHEN YOU CLICK THE BUTTON ITS OUTPUT IS AN IMAGE OF A HAT.I NEED A STEP BY STEP SOURCE CODE....
THE SECOND ONE:
SOURCE COULD THAT DEALS WITH FORMS,WHEN YOU PRESS A BUTTON IT INTRODUCE ANOTHER FORM.FOR EXAMPLE IN FORM1 THERE IS A BUTTON NAMED SECOND PAGE...WHEN YOU PRESS THE BUTTON YOU WILL BE TRANSFERED TO THE SECOND PAGE WHICH IS FORM2.
PLEASE SEND TO MY EMAIL ADDRESS
jdace1231@yahoo.com or jdace1023@yahoo.com
PLEASE PLEASE PLEASE
DON'T SHOUT - You aren't constrained to using uppercase only, you can use lower case as well.
Let me guess - your homework deadline is Thursday and you've left it until the last minute. I suggest that you get off your arse and actually do your own bloody homework. If you can't accomplish two simple tasks like this then a career in development is not for you.
Good grief - why do people think that we actually want to do their homework for them? Have you contracted some especially virulent form of lazy gene?
|
|
|
|
|
I am assuming this is a troll. A button that says hat and it shows a hat ? Doesn't sound like a normal homework assignment to me.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Troll. Moron. Potayto. Potahto.
Christian Graus wrote: A button that says hat and it shows a hat ?
Sounds like something that would appear in an Ivor Horton book.
|
|
|
|
|
Pete O'Hanlon wrote: Sounds like something that would appear in an Ivor Horton book.
LOL - perhaps that's why I never bought any of his books.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: LOL - perhaps that's why I never bought any of his books.
That and the fact that he looked like a geography teacher.
|
|
|
|
|
again
led mike
|
|
|
|
|
We need to nail the lid down tighter. I tried stamping on his fingers but the little bugger is tenacious.
|
|
|
|
|
Having fun guys?, lol
Regards,
Gareth.
|
|
|
|
|
gareth111 wrote: Having fun guys?
No! Wasn't it your day to watch him! :->
led mike
|
|
|
|
|
He needs to check the cells again.
|
|
|
|
|
Ooh, e-mail. Anyone know the address of that bestaility site?
My current favourite word is: Nipple!
-SK Genius
|
|
|
|
|
Close, but it still doesn't break rules #1, #7, #8 and #10 of the forum guidelines. Better luck next time.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Would you like fries with that?
/ravi
|
|
|
|
|
I have local datasets where I read using the following function. The obj.Read() simply executes a stored procedure which is a select statement. For some reason, for my only dataset where I have 3 tables, the "this.EnforceConstraints = true;" statements fails saying the constratints where not respected (and it seems to happen only in debug, I never had a complain from the staff using the runtime), but this is not true for three reasons : the database is a copy of what the runtime environement uses, it is intermitenet even if the database does not change and the database has the same relations as the local dataset. (see below for the relations)
public void Read()
{
try
{
reading = true;
this.EnforceConstraints = false;
syncTime = DateTime.Now.ToUniversalTime();
foreach (SimpleObjects obj in this.Tables)
{
obj.Read();
}
this.EnforceConstraints = true;
reading = false;
}
catch (Exception e)
{
....code.....
}
}
Relations : (Very simple)
Relations.Add(new DataRelation("MembersToMembersAssociations", Tables["Members"].Columns[0], Tables["MembersAssociations"].Columns[0]));
Relations.Add(new DataRelation("MembersToMembersPhoneNumbers", Tables["Members"].Columns[0], Tables["MembersPhoneNumbers"].Columns[1]));
This is very anoying for I am never sure if I delever a new version if the problem will affcet the runtime, Is it a bug in Visual Studio 2005 (version 8.0.50727)? Did anybody else encounter this problem ?
|
|
|
|
|
I have the following code:
myProcess.StartInfo.FileName = "c:\\Program Files\\Winzip\\wzunzip.exe -o ";
When I try to use the "-o" switch I get an error of "The system cannot find the file specified
". Works fine without the switch.
How can I get this to work?
Working with 1.1.
Thanx for any input.
Jude
|
|
|
|