|
Except in most cases VB.NET programmers are VB programmers, which typically don't understand one iota about true development since VB hides so much in the runtime implementation that things like good class design and performance are easily excused. VB was created to make programming easier for a target audience that probably should've stayed with their jobs at McD's (extreme case, but that's how I typically see so many people jumping into this field). You and others may be exceptions, but that's were the snobbery stems.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
Serge Lobko-Lobanovsky wrote:
I just simply don't understand why you (C# programmers) underestimate our (VB.NET) ability to create reliable and scalable software.
Ok, just compare at the posts on CodeProject's VB forum, on C# and on C++ and you'll understand why this happen.
It's useful to remember that the "B" on BASIC stands for "Beginners"; BASIC = Beginners All-purpose Symbolic Instruction Code.
Due to technical difficulties my previous signature, "I see dumb people" will be off until further notice. Too many people were thinking I was talking about them...
|
|
|
|
|
Daniel Turini wrote:
Ok, just compare at the posts on CodeProject's VB forum, on C# and on C++ and you'll understand why this happen.
That's what I had been doing when I got your reply. I found out that it would be much more useful for me to sit on these forums than of VB.NET ones. I do understand now your position in this argument.
It's useful to remember that the "B" on BASIC stands for "Beginners"; BASIC = Beginners All-purpose Symbolic Instruction Code.
However, with dot NET we can use VB.NET as well
Regards,
Serge (Logic Software)
|
|
|
|
|
What did you want to achieve with this posting?
This forum has the purpose to help developers when they face problems with programming in C#. I don't think we should begin to discuss such ideological themes.
As the others already said, it's very subjective which language is the better one or easier to use.
|
|
|
|
|
Stefan Troschütz wrote:
What did you want to achieve with this posting?
This forum has the purpose to help developers when they face problems with programming in C#. I don't think we should begin to discuss such ideological themes.
This is the forum that C# programmers read. That is why it is here.
Regards,
Serge (Logic Software)
|
|
|
|
|
But want did you want to achieve?
Do you want to hear that VB.NET is the greatest language ever. Why do you bother what others think about the language you use.
In my opinion everybody should use what he or she can handle best. I don't like some languages too or think it's hard to use them. But i don't care if anybody else use it and thinks it's really great.
It's pretty sad that some have a snobbish behaviour, as you described it so nice, or think that VB.Net sucks. But that's life. There will always be some unteachable people.
This is as sure as there will always be the quarrel which is the better operating system: Windows or Linux. But that's another story
So don't bother and lets not waste our time with this dumb and aimless discussion!
|
|
|
|
|
Stefan Troschütz wrote:
Do you want to hear that VB.NET is the greatest language ever. Why do you bother what others think about the language you use.
No, to me it really doesn't matter what language people in my team is using as long as the code they create works as it is supposed to.
Actually, I don't bother what people say about VB.NET. I bother what they think of the products which are written in it.
So don't bother and lets not waste our time with this dumb and aimless discussion!
As long as there "unteachable" people, there will be place for a "teaching" discussion, you can be sure!
Regards,
Serge (Logic Software)
|
|
|
|
|
Then good luck on your "teaching" mission.
I think you've found yourself a lifetime task
|
|
|
|
|
How can I determinate CPU & memory usage in C# (not WMI)?
HELLO!
|
|
|
|
|
|
Guys,
I'm creating a very simple program that will run everyday a little bit of logic
Select
filter
output to file depending on the current date and year
Question: I used "console application" as my output type in c# but when I run it, it popup a console window. What I need is when I run my program no window will popup on the screen. Purely exe file. Which type will I use in c#?
Please help ASAP
Dabuskol
|
|
|
|
|
A Windows Forms application. Then in the Main method you remove the call to the Application.Run() method. Instead call your logic from the Main method.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
Coming soon: The Second EuroCPian Event
|
|
|
|
|
Oops, I replied to the first instance of this question, but his problem is that he's not using a Windows Forms application, but a console application which will display a console window. This can be prevented in Windows NT (not in Windows) but the program that would run this "windowless console app" would display the console window. I just suggested writing a Windows Service.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
You could follow Colin's suggestion, but it's quicker simply to select 'Windows Application' in the Project Properties dialog, under Common Properties > General > Output Type.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Guys,
I'm creating a very simple program that will run everyday a little bit of logic
Select
filter
output to file depending on the current date and year
Question: I used "console application" as my output type in c# but when I run it, it popup a console window. What I need is when I run my program no window will popup on the screen. Purely exe file. Which type will I use in c#.
Please help ASAP
Dabuskol
|
|
|
|
|
You can run a console application without a console window in Windows NT (Windows 9x/ME does not support this). The problem is that you need a program that tells the console application to not show a window, so you end up in an infinite loop of trying to fix this.
I'd recommend writing a Windows Service which runs when the computer is booted (depending on the startup type of the service) and using either system credentials or a specific user's credentials (must have 'Log in locally' privileges, though). See the ServiceBase class in the .NET Framework SDK for more information.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
Hi gurus,
Is there a way in C# to create a new instance of a class (clone)?
Or must I copy each properties of my class one by one like for C++?
Thanks
Best regards.
There is no spoon.
|
|
|
|
|
hi,
refer to the article
http://www.codeproject.com/dotnet/Clone.asp
I guess this will solve your problem.
regards,
Aryadip.
Cheers !! and have a Funky day !!
|
|
|
|
|
|
ok, it works thanks!
There is no spoon.
|
|
|
|
|
Hello,
i've seen that the most common Windows Forms controls have the property BorderStyle. I've designed some forms with all the controls with FixedSingle like border. But the ComboBox have not, yet, that property. Is there a simple way to change the border? the combo seems too much different to the other components in the program, i'd like to uniform the style.
Thanks
|
|
|
|
|
|
thanks i'm looking into it
|
|
|
|
|
There's several other articles about this on this site as well in C# (though the syntax would be the only thing different between VB.NET and C# code). Just some other alternatives that shouldn't be hard to find if you search CodeProject (say "flat combo" or something like that).
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
Hello all
I have been trying for some time to write a good line control using C#. By this I mean a line control that can be used in graphical diagrams, graphic design programs and so on, to draw a line between two arbitrary points.
I believe this topic hasn´t been covered before, I´m trying to write an article on this but I have found a few problems which I can´t solve (I´m still new to .net and c#). Here it goes, I hope you guys can help me!
First, I inherit a control from System.Windows.Forms.Control. I override the OnPaint to draw a line between two corners of the control. This doesn´t work too well because you can´t see any of the controls that are behind the line´s control region. In other words, you get a nice white rectangular area encompassing the line and covering all that surrounds it.
Then I tried playing with various background colour settings. Interestingly, the "transparent" colours do not allow you to see what´s behind the control´s region - sure enough, it lets you define an alpha value for the background colour but you can´t see through it. Anyway, I also tried overriding OnPaintBackground, and playing with the control styles (UserPaint, SupportsTransparentBackColor, AllPaintingInWmPaint).
Lastly, I tried changing the control region of the line for a polygon that would more or less exactly encompass the actual line. So you only get a "white" area on a small polygon around the line instead of on a big rectangle. Guess what, although this looks quite nice there are occasions where windows doesn´t like it at all: when two of these lines are overlapping and are both moving at the same time, the system slows down a lot, and the rest of the controls aren´t correctly re-drawn.
As you can see, I´ve done my homework before asking. Can anyone give me a hand please? I just want a control to draw a line between two points :´(
Thanks in advance
-a.
|
|
|
|