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
~27.6K 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.
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
579
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
195
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
183
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
267
Member Avatar for Hakoo

Hello Friends, I have created application which can be work In Online Mode(GPRS) and Offline Store(Recordstore). Its working fine in default configuration and touch configuration. But its not working on QWERTYDevice(In emulator as well as On real Mobile Device(Nokia X2-01)). In Emulator I am getting This Error : [CODE=text] java.lang.NegativeArraySizeException …

Member Avatar for Hakoo
0
162
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
95
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
380
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
127
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
273
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
165
Member Avatar for Dean_Grobler

Hey C# people, Sorry for my topic title, I honestly didn't know what else to call it. I'm a Java developer and I'm looking into learning C#. I've read up a bit on it but I'm rather confuzed (as expected)... 1) Firstly, in java you can choose to use an …

Member Avatar for ddanbe
0
234
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
84
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
114
Member Avatar for ddanbe

You can get your hands on to usefull information from within your C# program. Use the static System.Environment class! Take a look at this snippet, which can be used as is in a Console application. I have not exhausted all the possibilities, if you want you can look them up …

Member Avatar for Usmaan
0
708
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
98
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
177
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
168
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
500
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
59
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
92
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
91
Member Avatar for Kath_Fish

Hi, now i do the sorted list for the combination i did. I want to read the data to the sorted list. But my foreach loop always had error. i fix it many times already but still can not solve it successfully. I will attach my coding. Hope someone can …

Member Avatar for Kath_Fish
0
133
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
695
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
93
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
115
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
88
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
195
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
144