Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~28.4K People Reached
About Me

Student at University - Eager to develop my skills in programming and understanding concepts of Computer Science.

I love to meet new people and learn something new every day!

Interests
The occasional console games on Playstation Three / Warcraft III. Playing football, tennis and badminton.

33 Posted Topics

Member Avatar for Usmaan

I am using: underscoredWord = Regex.Replace(word, "[^" + correctLetters + "]", " _"); for my Hangman game. It basically chops the word up and replaces all the text with an underscore. This works fine if the guessing word is only "one word". So the word: "Building" will get converted to: …

Member Avatar for thines01
0
585
Member Avatar for Usmaan

I am trying to learn how to make a mobile phone communicate with a server and a database. So far, I have made a web-service on my PC using this tutorial: http://msdn.microsoft.com/en-us/library/ms733069.aspx The above tutorial makes a sortof WCF service. What would be the best Database system for me? Simplicity …

Member Avatar for thines01
0
197
Member Avatar for Usmaan

Hi Folks, I am trying to make default AppSettings in my App.Config. My Program, or part of it, requires an email template and I wish to save this template within a HTML File on my HDD. In my App.Config, I simply want to specify multiple keys such as Subject, Recipient …

Member Avatar for Ketsuekiame
0
186
Member Avatar for Usmaan

Hi Forum, hope your all well and working hard. Right so, i'm a C# programmer, so i'm already in the whole .NET idea. I have a couple of questions regarding ASP.NET. 1) Like C# is Microsoft's reply to Java, would I be correct to think ASP.NET is Microsoft's reply to …

Member Avatar for johny2011
0
269
Member Avatar for Hakoo

This is an extremely important/useful/practical post. Hope someone answers this....it seems Mobile development in Daniweb isn't as renowned as the other developing forums.

Member Avatar for Hakoo
0
170
Member Avatar for Usmaan

Hi Forum, I'm currently working on a project where I create a form in Javascript/HTMl(easy). By form, i mean an actual form where it shall contain combo boxes, drop-down lists, buttons etc. Something like a questionnaire. That's all good and simple enough. However, how can I use this questionnaire/form to …

Member Avatar for roswell1329
0
98
Member Avatar for Usmaan

Hey forum, When we make a button on our WPF form and double click on it, we get the following code generated for us: [CODE] private void button1_Click(object sender, EventArgs e) { }[/CODE] Now obviously, the button is a _Click method which basically means that whatever code that goes within …

Member Avatar for Usmaan
0
389
Member Avatar for Usmaan

[url]http://alibimurders.co.uk/index.html[/url] That is my website. If you look at the top, you can see links which don't do much at the moment but will contain urls for different pages. The problem I have is how can I make them in to tab like images. For example, if you open up …

Member Avatar for Sanket_s
0
129
Member Avatar for Usmaan

Hi everyone, I know there's a section designated for Mobile Development but, that's really dead and It wouldn't hurt anyone if I posted here - It's a C# related question anyway. I'm making a Naughts and Crosses game on my Windows Mobile - HTC. The game works fine, I can …

Member Avatar for C#Jaap
0
383
Member Avatar for Usmaan

Hi there, I'd firstly like to thank some of the daniweb members for helping me with my Hangman project. It's finally complete and I have uploaded it on my YouTube. Special thanks to [B]ddanbe, Xcelled194, Mitja Bonca and Momerath[/B]. Right, on to my next project. I'm making a Naughts and …

Member Avatar for ddanbe
0
168
Member Avatar for Dean_Grobler

1) Firstly, in java you can choose to use an IDE or you could just code java programs in something like notepad. With C#, do you HAVE to use Visual Studio? You can't simply code a C# program in notepad? Answer: Nope. You can use notepad/ordinary text editor to program …

Member Avatar for ddanbe
0
350
Member Avatar for Usmaan

I have a .wmv file which is 3 seconds long. I want it to play at a certain part of my program. Any ideas?

Member Avatar for abelLazm
0
88
Member Avatar for Usmaan

Hi there, As you may or may not know, CPU-Z is a free software which can be downloaded online to help the user understand what components he or she has inside their computer. Components such as CPU, RAM, Chipset and certain helpful aspects of hardware such as RAM speed. I'm …

Member Avatar for ddanbe
0
129
Member Avatar for ddanbe

This is very very very useful! Thank you for putting this up! Really appreciate it.

Member Avatar for Usmaan
0
719
Member Avatar for Usmaan

I have two Forms in my project. The first one I made makes the program exit if I hit 'X' button at the top of the window which is obviously normal. But that's not the case with the second form where If I hit the 'X' button then the Form …

Member Avatar for Usmaan
0
103
Member Avatar for Usmaan

I still can't seem to think, syntactically, how to implement this. The logic of the code is in my head, actually, a couple of ways to do it is clear but I'm having trouble in creating a solution for the core part of my game. So far so good, I've …

Member Avatar for Nick Evan
0
181
Member Avatar for Usmaan

Hi there, I'm making a Hangman game and stuck on this part: [CODE]public void Game(string letter) { if(word.Contains(letter)) { int index = word.IndexOf(letter); } }[/CODE] I am testing whether my string variable word contains a letter. If it does, it gets the index. (Yep, I used the IndexOf class) Now …

Member Avatar for Momerath
0
172
Member Avatar for Usmaan

How to I check whether a given character is within a string, well that's easy: [CODE]if (myString.Contains(myChar)) { //TODO Logic }[/CODE] But, What I want is to get the index of the char |AND| get the index of the same char if it is in the word more than once. …

Member Avatar for ddanbe
0
514
Member Avatar for Usmaan

Hi there, I'm trying to learn how to work with phpMyAdmin and Visual Studio. I've created a database in phpMyAdmin and called the database "business". I've also created a table called business information with some fields but no data. Any idea how I can connect to the database? Regards Usmaan

Member Avatar for Momerath
0
61
Member Avatar for Usmaan

If I make a program, how do go about, well, actually publishing it? In the sense that I can make it in to an icon on my desktop and open it etc.... Any ideas?

Member Avatar for Mitja Bonca
0
95
Member Avatar for Usmaan

Hi Folks, I've added two pictures of my set-up. It's a XPS 8000 with a BLU-LED LCD Samsung BX2450 Monitor. The only problem with the PC is the low powered power-supply and cheap graphics card. To be precise, 350W PSU and a weak 512MB ATI HD 4350 Graphics Card. Do …

Member Avatar for Usmaan
0
92
Member Avatar for Kath_Fish
Member Avatar for Usmaan

Having a lot of trouble in my quest to complete my Hangman game. I've made an alteration to the program though. Rather than having a text box and the user typing a letter in, I've decided to add command buttons from A-Z. I can't seem to pass the letter to …

Member Avatar for ddanbe
0
701
Member Avatar for Usmaan

Pardon me for not having an appropriate title. I'm making a program which seems to be working so far - but, I've stumbled on a bit of a tricky dead end. Basically, If I have a string or char variable, say: [CODE]string input = "H";[/CODE] And I have another string …

Member Avatar for Momerath
0
96
Member Avatar for Usmaan

Hi guys, Sorry the title is vague. Couldn't come up with one. Ok so I have a int variable which is, let's say, of the value 5. Now I want to create a string which contains underscores, so: "_____" the amount of underscores is the same value of the integer. …

Member Avatar for Momerath
0
119
Member Avatar for Usmaan

Hello all, This one's a bit of a cheaky one....and tricky. So i've managed to read a text file - that's brilliant. Now, I wish to select a random word from there where the text file looks like this: Blue Red Purple Pink etc. All I want to do is …

Member Avatar for Momerath
0
3K
Member Avatar for Usmaan

Hi there, If I have two Forms, for example: Form1.cs and Form2.cs and one Form1, there is a button which if clicked, it would close Form1 and open Form2. How would you go about doing that? And is there any better way of implementing this? (This is something I'm considering …

Member Avatar for Usmaan
0
92
Member Avatar for Usmaan

Yes, i'm a noob - Bite me. And yes, I've read seemingly countless tutorials which explain, or, "try" to explain what a "Constructor" is. Obviously, they failed to digest in my brain. Is there any well-to-do person in here who can help me? Is there anyone who can possibly explain …

Member Avatar for Mitja Bonca
-1
202
Member Avatar for Usmaan

Hi Folks, I am creating a GUI application and I've come to a situation where I need to check whether a button has been clicked. So logically: ---If--- the "button" has been clicked -> Do this. As soon as that button is clicked, it should jump to a method which …

Member Avatar for Usmaan
0
18K
Member Avatar for Usmaan

Hi Folks, A couple of questions... If in a class I have a main which is obviously static, do I have to make every method in the same class static as well? What does static actually mean and how does it affect the program? Also.. When given a certain method …

Member Avatar for Geekitygeek
1
150
Member Avatar for Usmaan

Hi Folks, I'm making a Calculator on Visual Studio (Nope, it's not a College or University assignment). I'm at the part where I have added code to all of the number buttons but now need to see how the program is going to calculate sums of x amount of numbers. …

Member Avatar for Geekitygeek
0
196
Member Avatar for Usmaan

Hi people, I'm fairly new to this forum so errrm, Hi! To the point, I'm a Computer Science Student at University. As the second academic year has now finished, I've set a few objectives for the next year: i.e. LEARN C SHARP! I therefore ask if anyone here can aid …

Member Avatar for Geekitygeek
0
131
Member Avatar for Usmaan

G'Day Everyone. I was wondering whether someone can help me with my Java project. I have two interfaces, say: Interface1 and Interface2. On both interfaces, there is one JButton. When the Jbutton is clicked, the current window closes and the other one opens up and vice versa for the other …

Member Avatar for Usmaan
0
90

The End.