Search Results

Showing results 1 to 40 of 1000
Search took 0.09 seconds.
Search: Posts Made By: ddanbe
Forum: C# 8 Hours Ago
Replies: 2
Views: 62
Posted By ddanbe
Did not really solve my "problem" but you gave me hints to continue.
B.T.W. my design sucked:( By introducing an extra textbox (as in the MSDN example btw) I got the best of both worlds: a name and...
Forum: C# 10 Hours Ago
Replies: 2
Views: 62
Posted By ddanbe
Hi all,
For a combobox I was trying to imitate the behaviour of this code example:http://msdn.microsoft.com/en-us/library/system.windows.forms.listcontrol.valuemember.aspx
So I have this class:...
Forum: C# 13 Hours Ago
Replies: 2
Views: 70
Posted By ddanbe
I have a main form which is going to use much input data typed in by the user. So I thought to make a separate form to handle the input. The closest to a solution was this thread...
Forum: Geeks' Lounge 19 Hours Ago
Replies: 13
Views: 439
Posted By ddanbe
@MosaicFuneral
I experienced this once. The champagne cork flew more than 30 meters away!
Forum: C# 19 Hours Ago
Replies: 7
Views: 9,917
Posted By ddanbe
Hey kool.net, don't resurrect old threads. Post your question in a new thread, where if needed you can refer freely to old threads if you want to.:)
Forum: C# 22 Hours Ago
Replies: 2
Views: 153
Posted By ddanbe
Remove line 52. At that point in your code, you know that response is Z(see previous while) Besides that you are creating what is called an endless while here. It will go on printing the output of...
Forum: C# 1 Day Ago
Replies: 5
Views: 141
Posted By ddanbe
This is what I got so far, with some minor changes to your code :
(see attachement)
private void button1_Click(object sender, EventArgs e)
{
// ddanbe Start button click code...
Forum: C# 2 Days Ago
Replies: 5
Views: 141
Posted By ddanbe
On line 160 the code is: this.Size = new Size(640, 480);
this refers here to the form, I think you want to do: this.pictureBox1.Size..
Set the borderstyle property of your pictureBox1 to...
Forum: C# 2 Days Ago
Replies: 5
Views: 141
Posted By ddanbe
You are defining some variables twice on line 21 and 22
and on line 153 and 154. I should remove the types in the constructor on line 21 and 22.
Instead of Image bp... just bp... etc.
Forum: C# 2 Days Ago
Replies: 5
Views: 141
Posted By ddanbe
Hi Byrne86 welcome at DANIWEB.
On first inspection of your code I can tell you (unless I overlooked something) you are never calling your Init and Start methods.
Forum: C# 3 Days Ago
Replies: 4
Views: 100
Posted By ddanbe
>>StreamWriter sw = new StreamWriter(file);
IMO a StreamWriter expects a filename as of.FileName, not a FileStream like file.
Forum: C# 3 Days Ago
Replies: 4
Views: 133
Posted By ddanbe
Are you referring to a class field in C#?
Then use property syntax to access it.
Your code looks a bit strange, why are you making a inputs collection and just put one item input into it?
Forum: C# 3 Days Ago
Replies: 4
Views: 150
Posted By ddanbe
Maybe you can do something with this http://www.daniweb.com/code/snippet217084.html.
There are other related threads here but I think you are smart enough to search this site and find out for...
Forum: C# 3 Days Ago
Replies: 3
Views: 117
Posted By ddanbe
Could you send in the code you already have?
Forum: C# 3 Days Ago
Replies: 4
Views: 149
Posted By ddanbe
Hi Dekken, welcome here!
perhaps you could use the DoubleBuffered property of the form by setting it to true.
Forum: C# 5 Days Ago
Replies: 2
Views: 100
Posted By ddanbe
No problem:)
Depends indeed.
If I have 2 or 3 buttons and some other controls, I let the IDE do his work. But in a case of 26 or more buttons it pays off to create them manually in a loop, so I...
Forum: C# 5 Days Ago
Replies: 8
Views: 195
Posted By ddanbe
Please RunTimeError post your question again in a new thread!!!
Solved threads are not intended to continue with another subject.
Forum: C# 5 Days Ago
Replies: 14
Views: 289
Posted By ddanbe
Sorry I'm not so fluent as it comes to databases. Perhaps start a search in C# forum search? You find it on the right side of the site window under RELATED FORUM FEATURES. Succes!
Or else, I know...
Forum: C# 5 Days Ago
Replies: 14
Views: 289
Posted By ddanbe
You can't display something in a GroupBox control. As DdoubleD already pointed out you can change the Text property. So you could change the phrase English equivalent into 'aso-dog' if you like....
Forum: C# 5 Days Ago
Replies: 14
Views: 289
Posted By ddanbe
When you reply, click advanced and scroll down. You will notice a button Manage Attachements click on on it, click on Browse to select your picture, then click on the upload button.
Fill in your...
Forum: C# 5 Days Ago
Replies: 9
Views: 282
Posted By ddanbe
Although the layout could be better, this (http://www.codeproject.com/KB/cs/codesamples.aspx) should do the trick.
Forum: C# 5 Days Ago
Replies: 8
Views: 197
Posted By ddanbe
Did you also check your references?
Forum: C# 5 Days Ago
Replies: 8
Views: 197
Posted By ddanbe
Put your Karyawan class in the RestaurantSoftClassLib namespace not in the RestaurantSoftClassLib.Karyawan namespace.
Forum: C# 5 Days Ago
Replies: 8
Views: 195
Posted By ddanbe
If I where you I should never delete the designer file. Consider it as a file that must be there as long as you are developing.
Take this test: create a forms app, put a button(whatever) on the...
Forum: C# 5 Days Ago
Replies: 8
Views: 197
Posted By ddanbe
The confusion comes from the fact that Karyawan is a namespace which contains a class with the name Karyawan.
If you have a namespace A with classes A and B, you would also say A.A and A.B
Forum: C# 5 Days Ago
Replies: 8
Views: 195
Posted By ddanbe
Also notice the concept of a partial class. The X.cs and X.designer.cs files form the same class but are marked partial so they can be stored separately. You should in general not change the contents...
Forum: C# 6 Days Ago
Replies: 14
Views: 289
Posted By ddanbe
What do you mean by groupbox here?
A groupbox control is meant to group other controls, most of the time radiobuttons.
Forum: C# 6 Days Ago
Replies: 10
Views: 276
Posted By ddanbe
Every application under .NET gets compiled to IL (intermediate language) This is some sort of assembly language, yuo can see how it looks if you use the ILDASM tool. This IL gets executed by the...
Forum: Geeks' Lounge 7 Days Ago
Replies: 296
Views: 20,608
Posted By ddanbe
Listening to The Smashing Pumpkins!
:icon_lol:
Forum: C# 8 Days Ago
Replies: 2
Views: 160
Posted By ddanbe
The BitMap class has a SetPixel method.
Call it like this SetPixel(x,y,aColor);
x,y : coordinates in int.
aColor : Color
Forum: C# 8 Days Ago
Replies: 2
Views: 205
Posted By ddanbe
Hi, welcome to DANIWEB!
Perhaps look at this thread http://www.daniweb.com/forums/thread224213.html may help.
This site also has a search function with perhaps lots of more information.
Forum: C# 8 Days Ago
Replies: 1
Views: 199
Posted By ddanbe
Hi welcome on DANIWEB!

Person Michael = new Person(Console.ReadLine());
But then you must have a constructor in your class Person that accepts a string: Person(string Name);
Forum: C# 8 Days Ago
Replies: 12
Views: 303
Posted By ddanbe
What is the part you are having trouble with? its not workin right is a bit vague as a question.
Forum: C# 10 Days Ago
Replies: 3
Views: 236
Posted By ddanbe
Use this:
dateTimePicker1.Value = dateTimePicker1.Value.AddDays(2.0);
Forum: C# 11 Days Ago
Replies: 5
Views: 196
Posted By ddanbe
You might consider a tab control.
Forum: C# 12 Days Ago
Replies: 17
Views: 2,459
Posted By ddanbe
Is this a question? demand? requisition? ultimatum?
Please post this in a new thread.
Forum: C# 12 Days Ago
Replies: 5
Views: 261
Posted By ddanbe
Most of the time you don't have to bother about operator overloading in C#. The compiler is even smart enough to figure out that a string + an integer ends in a string with the number appended. The...
Forum: C# 12 Days Ago
Replies: 5
Views: 307
Posted By ddanbe
Fine to hear that, so mark this thread as solved.
Forum: C# 12 Days Ago
Replies: 5
Views: 261
Posted By ddanbe
Hi sumit21amig, welcome!
Don't know what you are getting at here. * ALWAYS takes precedence over +. That is just standard math. The formulas you give will only have the same result if a,b and c have...
Forum: C# 12 Days Ago
Replies: 8
Views: 228
Posted By ddanbe
Happy to hear you solved your problem :)
Showing results 1 to 40 of 1000

 


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

©2003 - 2009 DaniWeb® LLC