Forum: C# Mar 10th, 2009 |
| Replies: 5 Views: 1,744 I guess you have a Form1 Class which running in the first place. You created another Form class and run the the method in that class. So the method will update the will be update the textbox in the... |
Forum: C# Mar 9th, 2009 |
| Replies: 4 Views: 1,208 It's just cross my mind. I made the Light out game for my friend to teach him Javascript. You could try it :D. |
Forum: C# Mar 9th, 2009 |
| Replies: 4 Views: 1,208 Try this.
http://www.hieu.co.uk/post/2008/12/21/Starting-Game-Dev-With-Space-Invaders.aspx |
Forum: C# Mar 5th, 2009 |
| Replies: 4 Views: 1,242 Hi, now there are 2 ways to do thing like that.
First do it like LizR said. So you could import it into resources. Then you could Access it by: Properties.Resources.ImageName
Second, you could... |
Forum: C# Jan 30th, 2009 |
| Replies: 2 Views: 504 If you’re an enthusiastic developer, sure you have done a lot of personal projects. The problem is that what you will do when you want to start a serious medium size project (which could take... |
Forum: Game Development Jan 30th, 2009 |
| Replies: 7 Views: 1,030 Blitzmax is amazing, another choice is XNA which is also good. A faster way, Game Studio maybe. |
Forum: C# Jan 27th, 2009 |
| Replies: 6 Views: 605 Seem like I'm the only one using version 2 :| |
Forum: C# Jan 27th, 2009 |
| Replies: 6 Views: 605 C#2, NET 2.0
Reason: My company's server still using 2.0, my current host only support 2.0 as well. I really wish I could go for C# 3 with VS2008 :(. |
Forum: C# Jan 27th, 2009 |
| Replies: 5 Views: 1,435 I used both. It's two different languages for two different purposes. For normal app company system, I just use C#. For something require extra power ex graphic editor or game, sometime I use C++. |
Forum: C# Jan 26th, 2009 |
| Replies: 5 Views: 699 http://creators.xna.com/en-US/quickstart_main
http://www.ziggyware.com/articles.php
This 2 links is quite useful for start with XNA. And the book Beginning with XNA from APRESS is my choice. Also... |
Forum: Game Development Jan 25th, 2009 |
| Replies: 2 Views: 790 I don't understand the emoticon? Is that mean I copied from that post or something? But it's absolutely different with my post. My article is more for someone who start get into XNA which absolutely... |
Forum: C# Jan 22nd, 2009 |
| Replies: 4 Views: 550 This is something your text book use for. Forum is only for a specific problem, not to help you do your homework. At least you should try to do something and tell us what you couldn't do. |
Forum: C# Jan 22nd, 2009 |
| Replies: 8 Views: 2,160 Using a while loop arround the code open and write to the file.
Suggestion, put that code into another thread, so if it can't write out yet. Just sleep for one sec and try again. Something like this... |
Forum: C# Jan 20th, 2009 |
| Replies: 15 Views: 1,008 Well, As I'm working in Web Dev field, I would suggest something useful which could be use in real world as a Shopping Portal, E-Commerce Site.
You could also do Social Website as Twitter or even... |
Forum: C# Jan 9th, 2009 |
| Replies: 8 Views: 4,057 Won't the drag and drop method for control work in WM? |
Forum: C# Jan 6th, 2009 |
| Replies: 3 Views: 1,130 Dont get you? Should it just be a simple condition?
If(textbox1.Text.Length>12 && textbox2.Text.Length>8)
sure you will also want it more then 0 as well, but it's the same theory anyways. |
Forum: C# Dec 28th, 2008 |
| Replies: 3 Views: 5,603 this also does the trick to convert from hex -> number:
int.Parse(Hex, System.Globalization.NumberStyles.HexNumber);
for bigger value
long.Parse(Hex, System.Globalization.NumberStyles.HexNumber);... |
Forum: C# Dec 27th, 2008 |
| Replies: 6 Views: 1,906 Well, what he saying is he want to make his own control in XNA platform which is not relate to WinForm. The title is confusing I guess. It's not a custom control. Moreover, it should be in game dev... |
Forum: C# Dec 27th, 2008 |
| Replies: 6 Views: 1,906 Basically you need to made a collection of controls as the way the winform work.
So say we have:
WinControl
{
Event handle Click
}
Button : WinControl
{
} |
Forum: Game Development Dec 22nd, 2008 |
| Replies: 2 Views: 790 Hi, I just write a tutorial about making a very basic Space Invaders using C# and XNA. It earned me 800 pageviews in just over 1 day, so I think It would be helpful for you :). If it's not, sorry for... |
Forum: C# Dec 22nd, 2008 |
| Replies: 3 Views: 708 Well, if you scan over the website content and find the link.
Check if the link in the arraylist or not with arraylist.contain().
If sastify, you can add that link to an arraylist. |
Forum: Game Development Dec 20th, 2008 |
| Replies: 10 Views: 2,257 I just make a tutorial about starting with game dev. Hope it help. As jbennet said, Game Company don't use .net. But for start and for small group. Nothing bad about using .Net. We we need to learn... |
Forum: Game Development Dec 20th, 2008 |
| Replies: 3 Views: 1,914 Hi, I have just upload the tutorial onto my blog. It's kind of rush so it's a bit draft. Hope it help.
http://www.hieu.co.uk/post/2008/12/21/Starting-Game-Dev-With-Space-Invaders.aspx |
Forum: C# Dec 18th, 2008 |
| Replies: 5 Views: 848 Ah, just in case you don't know how to move the picture box.
Check in here:
Drag and move controls in runtime (http://www.hieu.co.uk/post/2008/12/04/Cnet-Basic-image-slide-show.aspx)
If you will... |
Forum: C# Dec 18th, 2008 |
| Replies: 5 Views: 848 Yeah, that's what I'm talking about. You load the picture in the picturebox. Then make the picturebox move using your mouse. |
Forum: C# Dec 18th, 2008 |
| Replies: 5 Views: 848 Don't know much about windows mobile, could we put the picture in a picturebox and using mouse or keyboard to move the position of the picturebox. |
Forum: C# Dec 18th, 2008 |
| Replies: 0 Views: 855 Now, you think I'm crazy. Memory leak in C#? Well, it's happening for me. I think somehow VS think that object still in use or something, that's why it not disposes it.
Background: I'm working on... |
Forum: C# Dec 17th, 2008 |
| Replies: 6 Views: 2,864 If i'm not wrong (IF), fileopendialog will have a properties call SafeFileName or something like that. It would return the file name. To get extra information.
System.IO.FileInfo Fs = new ... |
Forum: C# Dec 17th, 2008 |
| Replies: 2 Views: 438 2. You maybe need to set their group name to the same thing so they will au to un-check. Not sure thought 'cos I'm not have a computer with VS right now.
4,5 : Don't understand the question but I... |
Forum: C# Dec 16th, 2008 |
| Replies: 10 Views: 828 the same with papuccino1 but "Enable" it is. |
Forum: C# Dec 15th, 2008 |
| Replies: 4 Views: 915 Haven't got chance to read Ddanbe code snippet carefully yet but I think it would be alright if you still using GDI though. What you should do is instead of drawing straight onto the control, you... |
Forum: C# Dec 15th, 2008 |
| Replies: 9 Views: 4,398 If you're new to C#, then it's just :
combobox1.items.add(object);
To add 1 item. |
Forum: C# Dec 12th, 2008 |
| Replies: 3 Views: 729 I tested it already. StreamReader is alright. Just make sure to save it as Unicode. I think when you input the data it lost already. Are u enter the information by notepad? |
Forum: C# Dec 12th, 2008 |
| Replies: 3 Views: 729 I can't find any problem in that except you forgot to close it. However, when I copy your text to notepad and save it. It asks me that if I save it as ANSI it will lost data because your text isn't... |
Forum: C# Dec 12th, 2008 |
| Replies: 2 Views: 474 Check the anchor property. Set it to Top, Bottom, Left, Right. Hope it solve the problem. |
Forum: C# Dec 12th, 2008 |
| Replies: 10 Views: 786 Yeah, I just checked 3dbuzz. I thought it's just about 3d but when I check out the C# area and it's quite good as well. Thank LizR |
Forum: C# Dec 12th, 2008 |
| Replies: 6 Views: 1,965 Don't really understand how you want to put in in the form? If just at the design time, picturebox will do fine, if picturebox is not working or you want to put it insde in Runtime, try to using... |
Forum: C# Dec 12th, 2008 |
| Replies: 10 Views: 786 I'm starting C# with Beginning C# 2008: From Novice to Professional and Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional from APress. I have to say it's amazing, easy to follow. Strongly... |
Forum: Game Development Dec 11th, 2008 |
| Replies: 3 Views: 1,914 Don't really understand though. How you wrote your game anyways? I'm writing a tutorial about this game using C# but with XNA instead of OpenGL. If you want I could send you the tutorial, I think... |
Forum: Game Development Dec 11th, 2008 |
| Replies: 10 Views: 2,257 One more suggestion, you could use C# combine with XNA to create your game. XNA is a product of Microsoft so they support quite a lot. To create your first game in XNA are quite simple and quick. I'm... |