Search Results

Showing results 1 to 37 of 37
Search took 0.01 seconds.
Search: Posts Made By: hieuuk ; Forum: C# and child forums
Forum: C# Mar 10th, 2009
Replies: 5
Views: 1,948
Posted By hieuuk
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,408
Posted By hieuuk
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,408
Posted By hieuuk
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,316
Posted By hieuuk
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: 574
Posted By 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...
Forum: C# Jan 27th, 2009
Replies: 6
Views: 680
Posted By hieuuk
Seem like I'm the only one using version 2 :|
Forum: C# Jan 27th, 2009
Replies: 6
Views: 680
Posted By hieuuk
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,664
Posted By hieuuk
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: 706
Posted By hieuuk
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: C# Jan 22nd, 2009
Replies: 4
Views: 603
Posted By hieuuk
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,349
Posted By hieuuk
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,057
Posted By hieuuk
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,467
Posted By hieuuk
Won't the drag and drop method for control work in WM?
Forum: C# Jan 6th, 2009
Replies: 3
Views: 1,220
Posted By hieuuk
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: 6,152
Posted By hieuuk
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: 2,002
Posted By hieuuk
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: 2,002
Posted By hieuuk
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: C# Dec 22nd, 2008
Replies: 3
Views: 771
Posted By hieuuk
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: C# Dec 18th, 2008
Replies: 5
Views: 883
Posted By hieuuk
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: 883
Posted By hieuuk
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: 883
Posted By hieuuk
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: 914
Posted By 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'm working on...
Forum: C# Dec 17th, 2008
Replies: 6
Views: 2,987
Posted By hieuuk
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: 459
Posted By hieuuk
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
Solved: Windows forms
Views: 851
Posted By hieuuk
the same with papuccino1 but "Enable" it is.
Forum: C# Dec 15th, 2008
Replies: 4
Views: 991
Posted By hieuuk
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,905
Posted By hieuuk
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: 741
Posted By hieuuk
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: 741
Posted By hieuuk
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: 491
Posted By hieuuk
Check the anchor property. Set it to Top, Bottom, Left, Right. Hope it solve the problem.
Forum: C# Dec 12th, 2008
Replies: 10
Views: 800
Posted By hieuuk
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: 2,104
Posted By hieuuk
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: 800
Posted By hieuuk
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: C# Dec 10th, 2008
Replies: 2
Views: 948
Posted By hieuuk
The first option, it run once and well, as LizR said, it will return an error that the worker's busy.
Forum: C# Dec 10th, 2008
Replies: 11
Views: 979
Posted By hieuuk
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 :

...
Forum: C# Dec 10th, 2008
Replies: 5
Views: 1,634
Posted By hieuuk
Well, the code above is forget to write this on top.

comboBox3.Items.Clear();

But I would prefer this ways then the code above:



string Months[] = {"Jan"," Feb"};
String Days[] =...
Forum: C# Dec 10th, 2008
Replies: 11
Views: 1,311
Posted By hieuuk
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...
Showing results 1 to 37 of 37

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC