282 Posted Topics

Member Avatar for JOSheaIV

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 …

Member Avatar for rubberman
0
436
Member Avatar for Hamza_13
Re: C#

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 …

Member Avatar for JOSheaIV
0
224
Member Avatar for LinaAshaji

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 …

Member Avatar for JOSheaIV
0
313
Member Avatar for Ryan_15

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

Member Avatar for JOSheaIV
0
608
Member Avatar for Hamza_13

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. …

Member Avatar for JOSheaIV
0
245
Member Avatar for G_Waddell

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 …

Member Avatar for JOSheaIV
0
343
Member Avatar for avirag

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 …

Member Avatar for JOSheaIV
4
808
Member Avatar for Kenny Robertson

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, …

Member Avatar for JOSheaIV
0
1K
Member Avatar for JOSheaIV

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 …

Member Avatar for Popc0rn
1
2K
Member Avatar for bLuEmEzzy

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 …

Member Avatar for daniellemacey
0
371
Member Avatar for JOSheaIV

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 …

Member Avatar for Amr.Mohammad87
0
457
Member Avatar for Misar

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 …

Member Avatar for JOSheaIV
0
246
Member Avatar for JOSheaIV

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 …

Member Avatar for JOSheaIV
4
234
Member Avatar for calypso11

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 …

Member Avatar for Amr.Mohammad87
0
208
Member Avatar for Nikusha.Kalatozi

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 …

Member Avatar for JOSheaIV
0
135
Member Avatar for sridharsapxi

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 …

Member Avatar for JOSheaIV
0
272
Member Avatar for jdm

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 …

Member Avatar for JOSheaIV
0
1K
Member Avatar for Saboor880

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 …

Member Avatar for JOSheaIV
0
343
Member Avatar for kjblkblt

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 …

Member Avatar for JOSheaIV
0
277
Member Avatar for Erald

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 …

Member Avatar for Taywin
0
206
Member Avatar for Mohammad_21

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 …

Member Avatar for JOSheaIV
0
1K
Member Avatar for Mohamed_26

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 …

Member Avatar for JOSheaIV
0
241
Member Avatar for ScottieF

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 …

Member Avatar for JOSheaIV
0
235
Member Avatar for James_43

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)

Member Avatar for James_43
0
1K
Member Avatar for JOSheaIV

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)

Member Avatar for JOSheaIV
1
298
Member Avatar for zachattack05
Member Avatar for JOSheaIV
0
565
Member Avatar for happygeek

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 …

Member Avatar for aileenwitts
3
437
Member Avatar for Suzie999

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

Member Avatar for JamesCherrill
0
4K
Member Avatar for ddanbe
Member Avatar for Reverend Jim
0
317
Member Avatar for Dani

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 …

Member Avatar for Dani
4
639

The End.