Search Results

Showing results 1 to 40 of 1000
Search took 0.11 seconds.
Search: Posts Made By: ddanbe
Forum: C# 1 Hour Ago
Replies: 2
Views: 35
Posted By ddanbe
A form has a text property you can set to any textstring you want.
You will see it appearing in the title bar of the form.
Look up information about the Path class in System.IO to know how you can...
Forum: Geeks' Lounge 14 Hours Ago
Replies: 306
Views: 21,773
Posted By ddanbe
Death metal: boooring... like the word says, death?
Let's say Trepalium can pass my standards...
Forum: C# 16 Hours Ago
Replies: 8
Views: 93
Posted By ddanbe
So go in design mode, click on the Form and select the lightning bolt icon in the properties window. You see a list of all the event available for the form. Select the Paint event and double click...
Forum: C# 17 Hours Ago
Replies: 8
Views: 122
Posted By ddanbe
Can you elaborate on automatic click ? If you think my native language is English, you are wrong, I am just trying to do my best in it.
I understand what a click is. Is it a mouse click? Or the...
Forum: C# 17 Hours Ago
Replies: 8
Views: 93
Posted By ddanbe
Are you working with Visual Studio C# and have you started a WindowsFormsApplication?
Forum: C# 17 Hours Ago
Replies: 8
Views: 122
Posted By ddanbe
So you would lke to have something like a key logger then?
Forum: C# 18 Hours Ago
Replies: 11
Views: 294
Posted By ddanbe
I don't know how you save your tamagotchi status to a file. I think I would save all the info in a struct and write that to a file. If the tamagotchi comes awake or is started up again, I would read...
Forum: C# 2 Days Ago
Replies: 3
Views: 154
Posted By ddanbe
You are making your life hopelessly complicated.
Lets take this step by step: Add a class to your project and call it nameInfo.
public class nameInfo
{
public string firstName;
public...
Forum: C# 2 Days Ago
Replies: 3
Views: 154
Posted By ddanbe
Hi RogerBailey welcome at DANIWEB!
Well, why not have a look at this thread http://www.daniweb.com/forums/thread239525.html and I believe your problem is solved.
Forum: C# 2 Days Ago
Replies: 4
Views: 159
Posted By ddanbe
Why not use a List of objects that can contain anything you want?
Something like this perhaps:
namespace ConsoleApplication1
{
public class Names //class with 2 strings in it
{
...
Forum: C# 2 Days Ago
Replies: 4
Views: 126
Posted By ddanbe
Yes just delete Lines 6 to 9 and change line 10 in:
pic.Image = Properties.Resources.ImageName;
ImageName being the name of the Resource of your pict in the resource file of your project.
Forum: C# 2 Days Ago
Replies: 4
Views: 126
Posted By ddanbe
Please stop using the word urgent, it is probably just your own fault...
But as I in a very good mood today, I will give you a tip. As a return I expect from you that if you have any problem in the...
Forum: C# 3 Days Ago
Replies: 11
Views: 294
Posted By ddanbe
Read this info about a Timer class info about a Timer class (http://msdn.microsoft.com/en-us/library/system.timers.timer.aspx)
As input you will need some menu with options of what you want to do....
Forum: C# 3 Days Ago
Replies: 3
Views: 132
Posted By ddanbe
don't know how you draw your line but the way you want it you have to draw your line relative to the ClientRectangle of your form.
Forum: C# 3 Days Ago
Replies: 11
Views: 294
Posted By ddanbe
Your brief might help, but don't expect that anyone here is going to do all the work for you;)
Forum: C# 3 Days Ago
Replies: 11
Views: 238
Posted By ddanbe
Line 13 : playingDeck.Count must be smaller than 1
jonsca is right, if you post code and point the error the chance is greater you will get some help...
Forum: C# 4 Days Ago
Replies: 11
Views: 294
Posted By ddanbe
Hi narg, welcome here at daniweb:)
We don't know what your programming knowledge is at the moment, you have to tell us more. Have you already some code?
You obviously going to need the Timer class...
Forum: C# 4 Days Ago
Replies: 5
Views: 238
Posted By ddanbe
B.T.W. to fill a list box with strings is easy:
Start an forms application drop a listbox on the form and fill in this code in the Forms.cs file:
public partial class Form1 : Form
{
...
Forum: C# 4 Days Ago
Replies: 5
Views: 238
Posted By ddanbe
Concatenate the strings and put the concatenation into the stringarray:
studentData[counter] = textBoxFirstName.Text + " " + textBoxLasttName.Text;The C# compiler knows that the + operator here...
Forum: C# 4 Days Ago
Replies: 5
Views: 238
Posted By ddanbe
SaveFileDialog : In the menubar of VS C# you as last menu Help
I use it quite often, it is there for a reason. Now in that menu select Search a window opens, Type in SaveFileDialog and see what...
Forum: C# 4 Days Ago
Replies: 1
Views: 122
Posted By ddanbe
You could perhaps start with this snippet http://www.daniweb.com/code/snippet217204.html
Forum: C# 4 Days Ago
Replies: 8
Views: 189
Posted By ddanbe
I'm surely going to look at your code and will let you know what I think of it:)
For the tag : when you are reading this, go to the top of this page, select Software Development and choose C#. You...
Forum: C# 4 Days Ago
Replies: 4
Views: 173
Posted By ddanbe
Perhaps this snippet can help http://www.daniweb.com/code/snippet217409.html.
Forum: C# 4 Days Ago
Replies: 8
Views: 189
Posted By ddanbe
Thanks very much avirag.
For your DB problem, I suggest to select the database tag (you find tags at the bottom of the C# page) and see what you can find there. If you can't find something usefull,...
Forum: C# 4 Days Ago
Replies: 8
Views: 189
Posted By ddanbe
He thanks avirag. :)
I must tell you, that I'm not that familiar with extracting data from a DB(select statement?), but I know there are guys around here who will gladly help you out!
Forum: C# 5 Days Ago
Replies: 8
Views: 189
Posted By ddanbe
I know this is not what you need, but take a look at this snippet http://www.daniweb.com/code/snippet238532.html. It might give you some ideas on how to construct a barchart.
It just so happens, I'm...
Forum: C# 5 Days Ago
Replies: 6
Views: 224
Posted By ddanbe
We answer your questions, could you be so kind to answer ours? Your last post does not clear things up. In your for loop the messagebox says "You have already used that letter" if you found a letter...
Forum: C# 5 Days Ago
Replies: 2
Views: 147
Posted By ddanbe
Perhaps you better ask your question(if any, see Ana D.) in the C# forum, instead of in the VB.NET forum.
From the code you posted I can see that line 3 will definitly not work.
a is an integer you...
Forum: C# 6 Days Ago
Replies: 6
Views: 196
Posted By ddanbe
Don't overdo it;)
If we can just stay friends, that would suit me very well:)
Succes with your game!
Forum: C# 6 Days Ago
Replies: 1
Views: 144
Posted By ddanbe
"Shrani novo datoteko" and "Shrani besedilo" are of type ToolStripMenuItem. This type has also an Enabled property. If you want to disable both you perhaps better set the Enabled property to false of...
Forum: C# 6 Days Ago
Replies: 6
Views: 196
Posted By ddanbe
I'm not very familiar with XNA and game programming, but to give it a first shot(no pun intended;) ) I would look at BoardCells[,] Cell = new BoardCells[11, 12]; This array goes from 0 to 10 and from...
Forum: C# 6 Days Ago
Replies: 5
Views: 203
Posted By ddanbe
With a using clause you don't have to worry about closing a file. The compiler infers that for you and takes the appropriate actions!
Forum: C# 6 Days Ago
Replies: 6
Views: 224
Posted By ddanbe
I think bokstav means letter and is of type char.
So gjettet_bokstaver is defined as an array of char? Or am I wrong? I would like to see the declaration it plus that of array_size
As jonsca...
Forum: C# 6 Days Ago
Replies: 0
Views: 158
Posted By ddanbe
Well, I don't think I can make this any simpler. I hope newbies in the C# language can learn from it.
Forum: C# 7 Days Ago
Replies: 2
Code Snippet: Bouncing ball
Views: 300
Posted By ddanbe
Thanks for the feedback DdoubleD! And thanks for reporting the flaw!
The reason why this happened was quickly found.
private void DisplayPnl_Paint(object sender, PaintEventArgs e)
{
...
Forum: C# 7 Days Ago
Replies: 9
Views: 350
Posted By ddanbe
Good luck!
Forum: C# 7 Days Ago
Replies: 9
Views: 350
Posted By ddanbe
Took a closer look at your code and followed the advice of Ryshad and got it working:
public Element getElement(int atomicNum)
{
// STUDENTS: YOU NEED TO...
Forum: C# 7 Days Ago
Replies: 2
Code Snippet: Bouncing ball
Views: 300
Posted By ddanbe
Wanted to let two forms work together. One form would be the input form and the main form would consume this data. I managed to succeed with the help of a few of my friends here at daniweb., who...
Forum: C# 7 Days Ago
Replies: 2
Views: 275
Posted By ddanbe
Look for GetItemCheckState method on MSDN.
http://msdn.microsoft.com/en-us/library/system.windows.forms.checkedlistbox.getitemcheckstate(VS.85).aspx
Forum: C# 7 Days Ago
Replies: 9
Views: 350
Posted By ddanbe
Lines 69 to 79 in your PeriodicTable class, are not ok I think, why not simply say:
return m_theElements[atomicNum];
Now the chance exists you return null which may crash your Print routine in the...
Showing results 1 to 40 of 1000

 


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

©2003 - 2009 DaniWeb® LLC