282 Posted Topics
Hello everyone, I am posting this more generically in the software development section to see what might be available and to increase a possible success rate. But enough of that let's get to the question at hand. Recently, in C#, I started back up a project of mine to do … | |
Re: Hello Hamza_13, Can you please post the code you have written. It's kind of hard to follow exactly what your code is doing just by your original post. It would be also nice to see that you have attempted to do the work, as DaniWeb isn't a place to ask … | |
Re: I would argue WPFs. They may seem like the best choice, but I should point out they aren't the greatest. They have practically no memory management. I had to write my own disposer pretty much to clean up a nasty memory leak. They are nice, but not always the best … | |
Re: Well you 2nd insert your column names, specifically this "acount_name" looks different then the 1st where it's "account_name" (notice the extra c). I don't know if that might be causing some issues or if it was just a typo when you wrote this post | |
Re: Don't forget the single quotes around the value if it's a string type column (or similar types). So you'd need to produce a query string like string QueryString = String.Format("SELECT * FROM TableName WHERE (Name = '{0}')", textBox1.Text); Make sure you replace "TableName" with the proper name of the table. … | |
Re: This is a rather weird one, becuase if your application is running in 64-bit, then it should be pulling up the 64-bit libraries. Oracle is a stickler for this, and must have identical matchups. Either that, or the 32-bit libraries are not setup correctly on the system you are working … | |
Re: Nice little piece of code. I like the recurssion piece as well (course I say that with a little bias because I did something like that to and though to myself "wow that was clever of me"). If you do a PictureBox addition, make sure you dispose the Image, and … | |
Re: Using the code you provided you could do something like private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { button2.Enabled = (!String.IsNullOrWhiteSpace(textBox1.Text)); } That pretty much is saying, if there is text in the TextBox, that isn't just whitespace (like spaces), then enable the Button, but if it is blank or whitespace, … | |
As the title says, anyone else noticing the activity on DaniWeb suddenly dropping? I usually check the Database and Software Developing sections in the morning. The Database one for awhile was getting a few new topics at least a day, but all of a sudden, it seems to have almost … | |
Re: Can you please show us your table schemas? I will say this, I have seen duplicates occur when you don't inner join properly. For instance if you don't utilize all the primary keys it can return multiple results due to matches in one table causing the other to repeat. Some … | |
As I develop more and more for a living I have been trying to perfect my developing skills with personal projects in hope to expand my professional career, one of these is the concept of Polymorphism. The last few projects I have worked on, I have this model where I … | |
Re: There are multiple types of encryption such as AES and RSA, and depending on which you use, there have different key structures. Quick side track lesson about encryption. Make the algorithms public, but keep the keys private (the only cipher that is the exception being Caesar Cipher, but that's back … | |
So I have to say this is starting to become an annoyance of mine. It seems so many of the questions I answer tend to go dead, never followed up by the user. I'll answer the question, or try to, maybe asking for more details, or offering what I can … | |
![]() | Re: When you do a GROUP BY, it has to be by the columns selected (with the exception of those that are like Count) So you would need something like SELECT s_id, s_last, MAX(s_id.uc_student) AS s_id.uc_student, COUNT(max_enrl.uc_course_section) AS NumberOfOrders As your select statement. This is just an example of couse (is … |
Re: It really depends on how masssive of a number we are talking. For instance a `Double` can handle up to 1.7 × 10^308 as its largest size. Which can work for most people. To find the largest or smallest value, you can use bitwise logic like is one value greater … | |
Re: Alright let's see if can offer some help. I will admit I haven't done a lot of XSL experience myself, however, it does follow XPath logic (which I do have experience with) The "when" works kind of like an if statement if the scenario is true, then the sub code … | |
Re: I konw this is probably considered solved, but I would like to point out the original question never got answered. The reason you are probably seeing duplicate results is because you are doing an Inner Join. This usually happens because you join two tables, and you don't fully utiliize the … | |
Re: Also, usually there are installations that will install SQL Server as well as SQL Server Management Studio. Actually thinking back (I don't install this often but have time to time), by default if you get a more complete installer it will install SQL Server Management Studio. I would suggest installing … | |
Re: If you would like to draw grid lines, and easily change the size of the Xs and Os, I would suggest maybe using a different Windows Form Component to something along the lines of a DataGridView. Back in college we had to develop a Sudoku game, and this was the … | |
Re: That's a lot of code, and quickly reading it (and while I only know a big VB), there are a few things I see First of all you have foreach loops that assign to a variable. However, if I am reading it right, the way you do this only the … | |
Re: My guess here is because all your return statements are within a for loop. If that loop is empty, then you would never return. However, if read this correctly your for loop is not a good idea. Because if there is any items in the first loop it will ALWAYS … | |
Re: I recently learned about Triggers myself. The one use I had for them, was I had a table with a collection of values, when I inserted the record (or updated it), I had a trigger fire that would take the values, ran a mathimatical equation using them and produce a … | |
Re: To be honest, this is pretty much how I would have built the table. One for the Employee, one for the Job, and then one to record each employee for each job. Now for me though I would have probably setup an AUTOINCREMENT type field for both Employee and Job … | |
Re: Quick question, where are we at with this? I have developed software to fade images in and out (transitioning them), and after many attempts have a good working solution (MIne was for a screen saver to fade in and out images, works smoothly, and does well with memory management) | |
Everytime I try to change my profile data (since the newest UI), I keep getting the error "This date appears to not be formatted correctly." I assume it's my date of birth, which I have tried multiple formats and it doesn't like em (it's now MM/dd/yyyy) | |
Re: My 2 cents. I used to do == false or == true. Now I do the 2nd option (looks cleaner, reducing clutter) | |
Re: Always love learning about past massive attacks. One of my personal favorites was I think SQL Slammer that used buffer overflowing to spread. I just find it interesting because of how easy it was to do However, now a days I don't think we have massive viruses like we used … | |
Re: That is one monster pattern! Did you write that? (and if so, how long did that take). So is this solved, or are you still looking for possible solutions to parse IPv6 | |
Re: I hope these higher categories with no lower categories is just temporary. | |
Re: Wow ... caught me off guard for a second there. I thought I was on the wrong page. New design is nice, I just miss having a top navigation bar (not a huge fan of if on the right side). Actually, am I looking at this right? I have to … |
The End.