What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » C# Programming Help

Pages: (2): « First « 1 [ 2 ] Last »
C# Programming Help
Author: Message:
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: C# Programming Help
quote:
Originally posted by Matty
quote:
Originally posted by nvez
What about removing the { .. } after namespace DateChecker ?

Mehish, tbh C++ is easier for such stuff.
Nope still recieving errors. Saying its missing {


Maybe its because you're missing a { !!
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
11-14-2005 03:31 AM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: C# Programming Help
quote:
Originally posted by ShawnZ
quote:
Originally posted by Matty
quote:
Originally posted by nvez
What about removing the { .. } after namespace DateChecker ?

Mehish, tbh C++ is easier for such stuff.
Nope still recieving errors. Saying its missing {


Maybe its because you're missing a { !!
I have gone over it. All opens have closes.
11-14-2005 03:34 AM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: C# Programming Help
quote:
Originally posted by Matty
quote:
Originally posted by ShawnZ
quote:
Originally posted by Matty
quote:
Originally posted by nvez
What about removing the { .. } after namespace DateChecker ?

Mehish, tbh C++ is easier for such stuff.
Nope still recieving errors. Saying its missing {


Maybe its because you're missing a { !!
I have gone over it. All opens have closes.

So have I. One is left open.

Edit: and in case you still can't see it, http://shoutbox.menthix.net/attachment.php?pid=564838

In the words of optimism_, "keep your day job."

.png File Attachment: Screenshot-Mozilla Firefox.png (100.29 KB)
This file has been downloaded 172 time(s).

This post was edited on 11-14-2005 at 03:50 AM by ShawnZ.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
11-14-2005 03:34 AM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: RE: C# Programming Help
quote:
Originally posted by ShawnZ
quote:
Originally posted by Matty
Nope still recieving errors. Saying its missing {
Maybe its because you're missing a { !!

Well I fixed it and here is what I get for my troubles

[Image: attachment.php?pid=564847]

quote:
Originally posted by ShawnZ
In the words of optimism_, "keep your day job."

I code in VB not C# and when I was editing it there were equal number of { as } but posted the original.

.gif File Attachment: code.gif (10.09 KB)
This file has been downloaded 179 time(s).

This post was edited on 11-14-2005 at 04:26 AM by matty.
11-14-2005 04:26 AM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: C# Programming Help
Does [STAThread] need {...}?

quote:
Originally posted by Matty
I code in VB not C# and when I was editing it there were equal number of { as } but posted the original.

BS, why are you getting a different error now then.

This post was edited on 11-14-2005 at 04:36 AM by ShawnZ.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
11-14-2005 04:33 AM
Profile PM Web Find Quote Report
Weyzza
Veteran Member
*****

Avatar
SoCal sunset > *

Posts: 1170
Reputation: 29
– / Male / –
Joined: May 2003
RE: C# Programming Help
quote:
Originally posted by ShawnZ
Does [STAThread] need {...}?
I don't think it does.

quote:
Originally posted by http://www.csharp-station.com/Tutorials/Lesson16.aspx
Listing 16-1 also contains another attribute you're likely to see, the STAThreadAttribute attribute.  You'll often see this attribute applied to the Main() method, indicating that this C# program should communicate with unmanaged COM code using the Single Threading Apartment .  It is generally safe to use this attribute all the time because you never know when a 3rd party library you're using is going to be communicating with COM.  The following excerpt shows how to use the STAThreadAttribute attribute:

    [STAThread]
    static void Main(string[] args)
    ...



This post was edited on 11-14-2005 at 04:36 AM by Weyzza.
Registered 7664 days, 9 hours, 32 minutes, 59 seconds ago.
Happy Birthday, WDZ

11-14-2005 04:34 AM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: C# Programming Help
quote:
Originally posted by ShawnZ
Does [STAThread] need {...}?

quote:
Originally posted by Matty
I code in VB not C# and when I was editing it there were equal number of { as } but posted the original.

BS, why are you getting a different error now then.
Because the original code posted was from my friend unedited from me. After I posted saying they are all there is when I had edited myself.

Look if all your going to do is try and bash me then don't even bother posting.
11-14-2005 04:46 AM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On