Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~11.1K People Reached
Favorite Tags

34 Posted Topics

Member Avatar for Indianblues
Member Avatar for Shubhamrs8055
0
1K
Member Avatar for Egypt Pharaoh

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); other way round string hex = Value.ToString("x");

Member Avatar for NightCrawler03X
0
411
Member Avatar for mastermosley

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 new class not the current running class. Try to put the …

Member Avatar for mastermosley
0
3K
Member Avatar for ctrl-alt-del

Try this. [url]http://www.hieu.co.uk/post/2008/12/21/Starting-Game-Dev-With-Space-Invaders.aspx[/url]

Member Avatar for hieuuk
0
166
Member Avatar for ctrl-alt-del

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 load all the picture in the bitmap variables. By bitmap a = new bitmap(filepath); Then change …

Member Avatar for ctrl-alt-del
0
171
Member Avatar for joelsmith
Member Avatar for lil_panda
0
200
Member Avatar for k4kasun

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 Facebook. For my personal interest, I would prefer to do some Web App which …

Member Avatar for k4kasun
0
175
Member Avatar for hieuuk

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 month(s)). I don’t think there is a best way to start a project however there …

Member Avatar for LizR
0
109
Member Avatar for Rashakil Fol

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 :(.

Member Avatar for hieuuk
0
145
Member Avatar for gsingh2011

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++.

Member Avatar for ddanbe
0
840
Member Avatar for Black Magic

[url]http://creators.xna.com/en-US/quickstart_main[/url] [url]http://www.ziggyware.com/articles.php[/url] This 2 links is quite useful for start with XNA. And the book Beginning with XNA from APRESS is my choice. Also I have a simple tutorial about XNA making an Space Invaders in my website: [url]http://www.hieu.co.uk/post/2008/12/21/Starting-Game-Dev-With-Space-Invaders.aspx[/url]

Member Avatar for hieuuk
0
138
Member Avatar for hieuuk

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 the incovenient, if it is, it would be …

Member Avatar for hieuuk
0
116
Member Avatar for ambarisha.kn

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 could do a dirty trick; writtenOut = false; while writtenOut=false { open …

Member Avatar for nelis
0
1K
Member Avatar for phanthavong

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.

Member Avatar for phanthavong
0
124
Member Avatar for Rockstar_021

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.

Member Avatar for virang_21
0
195
Member Avatar for pete08
Member Avatar for ahnoldschwarz

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 writing a tutorial for writing a Space Invaders and hope I …

Member Avatar for michinobu_zoned
0
447
Member Avatar for wallish

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 { } ControlCollection { ArrayList ChildrenControl; } Form : WinControl { } Everytime you create a new button, add it into the …

Member Avatar for Ramy Mahrous
0
211
Member Avatar for sfrider0

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.

Member Avatar for sfrider0
0
125
Member Avatar for Gaspacho

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 they should be the same idea.

Member Avatar for hieuuk
0
348
Member Avatar for randr

Well, I'm not so sure though. If this is just a random multiple question everyday then I would go with this design: - We will show a label as question and a few Radiobox for answer. - Select a random question which the last occured is more than a week …

Member Avatar for randr
0
189
Member Avatar for pete08

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.

Member Avatar for hieuuk
0
318
Member Avatar for hieuuk

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] I'm working on a big application which was coded about 4 years ago and every year, new …

0
59
Member Avatar for Typewriter

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 System.IO.FileInfo(thisfile); Then from here get the information from that object.

Member Avatar for hieuuk
0
204
Member Avatar for Now Then

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 guess LizR should had it all explained.

Member Avatar for hieuuk
0
120
Member Avatar for ejohns85

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 should draw onto a bitmap variables. After finish drawing the bitmap, set the bitmap …

Member Avatar for LizR
0
79
Member Avatar for Filipe11
Member Avatar for shankhs

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 recommend. If you have a bit of knowledge about C# you could follow this link for …

Member Avatar for Ved_TheOne
0
143
Member Avatar for cleber

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 in ANSI. If I save it in Unicode …

Member Avatar for hieuuk
0
79
Member Avatar for Filipe11

Check the anchor property. Set it to Top, Bottom, Left, Right. Hope it solve the problem.

Member Avatar for ddanbe
0
113
Member Avatar for karthi_selva

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 GDI+. If you're planning to using GDI+, this maybe helpful. [url]http://hieu.co.uk/post/2008/12/04/Cnet-Basic-image-slide-show.aspx[/url]

Member Avatar for karthi_selva
0
175
Member Avatar for GT2010

As ddanbe said before, first check if user click Ok, Start checking the input. If one if put fail, mark it down (etc changing its textcolor). Change the DialogResult back to None. Should be : [code=c#] if(this.DialogResult == DialogResult.OK) { string error; if ((dlg1.nameText.Length < 5) || (dlg1.nameText.Length > 8)) …

Member Avatar for LizR
0
153
Member Avatar for Renukavani

The first option, it run once and well, as LizR said, it will return an error that the worker's busy.

Member Avatar for hieuuk
0
101
Member Avatar for sancti

Well, the code above is forget to write this on top. [code=C#] comboBox3.Items.Clear();[/code] But I would prefer this ways then the code above: [code=C#] string Months[] = {"Jan"," Feb"}; String Days[] = {"Monday","Tuesday"}; private void comboBox2_SelectedIndexChanged(object sender, System.EventArgs e) { comboBox3.Items.Clear(); if(comboBox2.SelectedItem = "Month") comboBox3.Items.AddRange(Months); else comboBox3.Items.AddRange(Days); } [/code]

Member Avatar for hieuuk
0
106

The End.