View Full Version : Full Windows App
Troll_King
11-01-2001, 12:27 PM
.
Sayeh
11-01-2001, 02:35 PM
Who has Microsoft hired to correct the bugs in Windows? It is a given that they cannot themselves because they lack even the weakest tentative grasping understanding of how an O/S is to be written.
Fundamentals such as Memory Management, Device I/O, and Multitasking are well and far beyond them.
C# was not needed to correct the systemic problems of the existing windows model-- simply experience programmers who've been around long enough to know _how_ and _why_ things should be written in such a way as to _work with the machine, not against it_.
'nuf said.
enjoy.
Troll_King
11-01-2001, 02:54 PM
.
basilisk
11-01-2001, 07:27 PM
XP home is also very good (most home users dont need the pro version) - but the best operating system for servers when it is released will be Windows .NET Server (what is currently known as whistler and was going to be xp server at some stage) - it is very very cool
Justin W
11-01-2001, 08:59 PM
Indeed, Whistler sounds much better...
So what are some examples of this "ability to use technology" and "weaknesses and faults of the current Windows model"? I seem to be able to do anything I please programming Windows now.... A poor programmer will take C# to its knees in about 10 min, I guarantee. :)
-Justin
Troll_King
11-01-2001, 09:12 PM
.
nvoigt
11-02-2001, 01:59 AM
Actually, I find C# quite easy to learn if you know the MFC or VB or maybe even Java. It has native access to the .NET framework classes. You can easily build windows applications. However, a good programmer will build a nice app, and a bad programmer will write a crawling, buggy app. As with every language, it's up to the programmer to use his/her tools wisely. It's just another language, it won't bring world peace or end hunger.
-KEN-
11-12-2001, 04:23 PM
I was fooling around with C#, and stumbled across how to make Windows apps, here's some sample code:
using System;
using System.Windows.Forms;
class MainForm : Form
{
public MainForm()
{
Text = "First WinApp";
}
public static void Main(string[] args)
{
Form form1 = new MainForm();
Application.Run(form1);
}
}
I don't have VS.NET on this computer, just the framework so I couldn't use the form designer
-KEN-
11-12-2001, 05:45 PM
Ok, well I just went upstairs to compile this with VS.NET, and it's giving me errors...but it compiles & runs fine with just csc.exe to compile it on both computers...anyone know what I'm doing wrong in VS.NET? some sort of option to set? (I can't even FIND the compiler options for VC#...)
You can get the options by right clicking on the application name in class view and then selecting properties, but I think your code is fine (it ran ok for me using Visual C#.NET as a windows app).
-KEN-
11-12-2001, 09:00 PM
well I just do empty C# project and a a new .cs file. Whenever I try to make a windows app it loads up a new form and stuff, which I don't want.
nvoigt
11-13-2001, 11:08 AM
Create New Windows Application
Delete preset Form1 class
Add class...
Delete preset code from new class
Copy code into new class
...
runs fine on my machine ;)
-KEN-
11-13-2001, 11:58 AM
so basically - create new windows app, delete all code, add my code?
sounds like a plan.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.