-
Replied To a Post in Finding a post from a user
I m quite lazy to search all of the 128 pages, but if I do not find it using another approach I ll consider that one. -
Created Finding a post from a user
There was a user named Mitja Bonca wich spent a lot of his time on the C# section. Before a year ago i ve seen a algorithm that he did … -
Began Watching Finding a post from a user
There was a user named Mitja Bonca wich spent a lot of his time on the C# section. Before a year ago i ve seen a algorithm that he did … -
Marked Solved Status for Removing object(with their event) safely
I ve always had a problem with this but never coped with it. Let s say I bring a button to a form and click on it two times a … -
Gave Reputation to deceptikon in Removing object(with their event) safely
If you don't add any code to the event handler, simply resetting it in the control properties will delete the code as well. If you *do* add code (even if … -
Created Removing object(with their event) safely
I ve always had a problem with this but never coped with it. Let s say I bring a button to a form and click on it two times a … -
Began Watching Removing object(with their event) safely
I ve always had a problem with this but never coped with it. Let s say I bring a button to a form and click on it two times a … -
Replied To a Post in few SQL queries problem
if anyone can give me a link or a hint on how to approach these queries, i m not asking for direct solutions. the only thing that i really don … -
Created few SQL queries problem
1. For all the accounts that have authority="admin", set permision to modify all of the files (attribute changes is datatype YES/NO),,, so basically a user can set yes or no … -
Began Watching few SQL queries problem
1. For all the accounts that have authority="admin", set permision to modify all of the files (attribute changes is datatype YES/NO),,, so basically a user can set yes or no … -
Marked Solved Status for Database error
private void Form1_Load(object sender, EventArgs e) { cn.Open(); } ERROR:Cannot open database "Persons" requested by the login. The login failed. can anyone tell me how to fix this? -
Replied To a Post in Database error
yeah, i forgot to copy and paste the new string since i deleted my previous database..., tnx -
Created Database error
private void Form1_Load(object sender, EventArgs e) { cn.Open(); } ERROR:Cannot open database "Persons" requested by the login. The login failed. can anyone tell me how to fix this? -
Began Watching Database error
private void Form1_Load(object sender, EventArgs e) { cn.Open(); } ERROR:Cannot open database "Persons" requested by the login. The login failed. can anyone tell me how to fix this? -
Marked Solved Status for Avoiding SQL injection
If someone can provide a link with the use of Parameters instead of concatenation -
Created Avoiding SQL injection
If someone can provide a link with the use of Parameters instead of concatenation -
Began Watching Avoiding SQL injection
If someone can provide a link with the use of Parameters instead of concatenation -
Began Watching how to create windows calculator with visualstudio 2012
i need interface and code to create the calculator. -
Replied To a Post in how to create windows calculator with visualstudio 2012
You don t need daniweb for that, you ve got google... -
Marked Solved Status for Convert Control to ProgressBar
I would like to convert Control objects wich are in my array to progress bar Objects if possible. I know that the reverse conversion can be done explicitly without a … -
Replied To a Post in Convert Control to ProgressBar
Tnx Momerath for pointing things out. I tried again and it worked this is the code: public void AccessPb() { foreach (Control gb in this.Controls) { if (gb.HasChildren) { foreach … -
Created Convert Control to ProgressBar
I would like to convert Control objects wich are in my array to progress bar Objects if possible. I know that the reverse conversion can be done explicitly without a … -
Began Watching Convert Control to ProgressBar
I would like to convert Control objects wich are in my array to progress bar Objects if possible. I know that the reverse conversion can be done explicitly without a … -
Replied To a Post in elevator simulator
Well I explained it to you. You have to create a method theButtonWasClicked and you attach it to your event button1.Click,button2.Click,button3.Click. You have to make an array yourself and put … -
Gave Reputation to Ketsuekiame in Help
I've had some success, 3 statements is my smallest but still not a single one. I will continue this afternoon, I can feel it wanting to escape my brain ;) … -
-
Replied To a Post in elevator simulator
Hi there, if i m correct you want to switch colors between buttons, erase previous color when you click another button, so try this private void button1_Click(object sender, System.EventArgs e) … -
-
Replied To a Post in Help
static void Main(string[] args) { string number = "12345"; int counter = -1; string output=""; int counter2 = 0; int pad = (2 * (number.Length-1)) + 1; List<string> list = … -
Replied To a Post in Help
What do you mean by single statement exactly? -
Replied To a Post in Help
I must admit that i to google to find out about square and square root are possible for such a thing, i didn t notice that in the rising and … -
Replied To a Post in Unable to move object after it s rotation
Thanx for the response Ketsuekiame, you really put maximum effort in every of your post. I m little bit busy with some other stuff but as soon as i m … -
Began Watching Help
Using loop print the following output on console. 1 121 12321 1234321 123454321 1234321 12321 121 1 -
Replied To a Post in Help
I think that this guy aint comming back, so it would be nice for Mike Askew to post his code, i m really interested on how he did it. I … -
Gave Reputation to Mike Askew in Help
Well I've just done it for fun, was interesting. My code is probably messy but oh well! Show us what you have done and we can help. -
Replied To a Post in Unable to move object after it s rotation
I think that i know what the problem is and i also think that you ll agree with me. The problem is that i don t know how to fix … -
Replied To a Post in Unable to move object after it s rotation
Well, i made a mistake here but after fixing it didnt work either. I have a problem with my rotation here so if anyone can tell me why this isnt … -
Replied To a Post in Unable to move object after it s rotation
It s a pretty long code...So the problem is that i can't get my mousedown event to work ONCE the rectangle is rotated.if a normal rectangle is drawn and if … -
Created Unable to move object after it s rotation
I combined mouse events o move my drawn rectangle object. Everything was fine i could move it and when i released the mouse button it stopped moving and settled down. … -
Began Watching Unable to move object after it s rotation
I combined mouse events o move my drawn rectangle object. Everything was fine i could move it and when i released the mouse button it stopped moving and settled down. … -
Marked Solved Status for Onmousehold event
So i want to hodl my mouse and by moving the mouse i want my vector to rotate around, which of the built in events should i use? i tryed … -
Replied To a Post in elevator simulator
Well onbuttonclick event you should definetly put this into the event using (SqlConnection con = new SqlConnection(connectionString)) { //connectionString should look like this:Data Source=pc3490ierf43;Initial Catalog=Persons;Integrated Security=True //then inside this block … -
Began Watching elevator simulator
hi,how would i make two panels coming from different directions like elevator closing two doors. have a look at this video Year 2 OOP and SE assignment 1: Elevator i … -
Replied To a Post in elevator simulator
I think that by copy and pasting each of you errors onto google searchbox you should get pretty good information on what could be going on. It s hard to … -
Replied To a Post in Onmousehold event
I have not tought of that, going to check this right now. -
Gave Reputation to nathan.pay.9 in Dice game crazier than usual!
solved thanks for the advice everyone -
Created Onmousehold event
So i want to hodl my mouse and by moving the mouse i want my vector to rotate around, which of the built in events should i use? i tryed … -
Began Watching Onmousehold event
So i want to hodl my mouse and by moving the mouse i want my vector to rotate around, which of the built in events should i use? i tryed … -
Began Watching How do I check if a value is null?
I know I am probably over thinking this but I cannot seem to figure this out. I am trying to check if the value is null and if not to … -
Replied To a Post in How do I check if a value is null?
why don t you use empty string instead of null?, and your method will always return null since is not return a variable state.
The End.