|
-
Oct 23rd, 2003, 10:02 AM
#1
Thread Starter
Lively Member
How to do reference in a console application???
Hi,
How to do reference in console application. I am not using IDE. Can I Still use the GDI. I was including using System.Windows.Forms.
But it says it needs to be referenced. I am new to C# programming world so I need ur help guyz.
Thanx a lot
Here is my application
VB Code:
using System;
using System.Drawing;
using System.Collections;
using System.Window.Forms;
using System.Data;
public class loops : System.Windows.Forms.Form{
public static void Main()
{
MessageBox.Show(output,"Hello", MessageButtons.OK, MessageBoxIcon.Information);
}
}
-
Oct 23rd, 2003, 10:11 AM
#2
PowerPoster
Yeah, but when you compile your code, you'll need to set a reference to the assembly using one of the switches (can't rember the correct switch off the top of my head).
-
Oct 23rd, 2003, 11:26 AM
#3
Frenzied Member
Here's a helpful link
C# Compiler Options
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
Oct 23rd, 2003, 12:41 PM
#4
Thread Starter
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|