 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Meeman Advanced Cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 54
|
Posted: Sun Dec 30, 2007 2:04 pm Post subject: C# 2008 help |
|
|
hello,
I just got Visual C# 2008 a few days ago and have gotten used to it pretty quickly. I am having problems, though, with the dialog controls. Mostly the open file and save file dialogs.
to open the open dialog with a name of d i put in
and it comes up with an error that says
"Error 1 Only assignment, call, increment, decrement, and new object expressions can be used as a statement"
I'm not sure how to fix this.
Also for a save file dialog im not sure how to save a file. I know how to in Visual Basic but not in Visual C#.
Thanks
_________________
I AM MEEMAN666!!!!!!!!!!
PPT277
programming languages i use: VB6, Delphi 7 , C# 2008, Python
You want to +Rep me!!!!!!! |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sun Dec 30, 2007 2:23 pm Post subject: |
|
|
You have two things wrong with that:
First, C# is case sensitive. You have to use their casing.
Second, in order to call a method, you need to have () behind it, with parameters inside. If it requires no parameters (as with ShowDialog()), then you just leave it ().
_________________
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|