• Member Avatar for castajiz_2
    castajiz_2

    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.
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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?
  • Member Avatar for castajiz_2
    castajiz_2

    Replied To a Post in Database error

    yeah, i forgot to copy and paste the new string since i deleted my previous database..., tnx
  • Member Avatar for castajiz_2
    castajiz_2

    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?
  • Member Avatar for castajiz_2
    castajiz_2

    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?
  • Member Avatar for castajiz_2
    castajiz_2

    Marked Solved Status for Avoiding SQL injection

    If someone can provide a link with the use of Parameters instead of concatenation
  • Member Avatar for castajiz_2
    castajiz_2

    Created Avoiding SQL injection

    If someone can provide a link with the use of Parameters instead of concatenation
  • Member Avatar for castajiz_2
    castajiz_2

    Began Watching Avoiding SQL injection

    If someone can provide a link with the use of Parameters instead of concatenation
  • Member Avatar for castajiz_2
    castajiz_2

    Began Watching how to create windows calculator with visualstudio 2012

    i need interface and code to create the calculator.
  • Member Avatar for castajiz_2
    castajiz_2

    Replied To a Post in how to create windows calculator with visualstudio 2012

    You don t need daniweb for that, you ve got google...
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 ;) …
  • Member Avatar for castajiz_2
    castajiz_2

    Gave Reputation to ddanbe in Help

    How rich a human mind can be in coming up with solutions to a problem. Or is it also due to the richness of the C# language? Still awaiting Ketsuekiame... …
  • Member Avatar for castajiz_2
    castajiz_2

    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) …
  • Member Avatar for castajiz_2
    castajiz_2

    Gave Reputation to ddanbe in Help

    Well guys, here is my version in a mere 30 lines. Fun to do! Awaiting the other contestants. :) using System; using System.Collections.Generic; namespace NumberPattern { class Program { static …
  • Member Avatar for castajiz_2
    castajiz_2

    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 = …
  • Member Avatar for castajiz_2
    castajiz_2

    Replied To a Post in Help

    What do you mean by single statement exactly?
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    Began Watching Help

    Using loop print the following output on console. 1 121 12321 1234321 123454321 1234321 12321 121 1
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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.
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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. …
  • Member Avatar for castajiz_2
    castajiz_2

    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. …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    Replied To a Post in Onmousehold event

    I have not tought of that, going to check this right now.
  • Member Avatar for castajiz_2
    castajiz_2

    Gave Reputation to nathan.pay.9 in Dice game crazier than usual!

    solved thanks for the advice everyone
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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 …
  • Member Avatar for castajiz_2
    castajiz_2

    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.