Developer re-learning C# and Java
- Interests
- astronomy, playing pool, sci-fi
39 Posted Topics
Greetings again! I'm learning how to write to and read from databases using JDBC, (using Netbeans) and I've run into a snag. I'm trying to save data to a database, but when I try the following exception message is thrown: Column 'COURSEID' is either not in any table in the … | |
Hello all: I'm teaching myself Java (but for now I'm using one of the Teach Yourself Java 7 books). I'm currently learning about channels and sockets and I'm reading about blocking an nonblocking methods. The book discusses a three steps to set up nonblocking communication, and because technology is ever … | |
Re: Hello Yuki: Just based on the code you presented here it looks like you're trying to assign what's in the TextBoxes to the columns in your database. Take a look at your code again and see if you can spot the error. Hint: If you want to assign a value … | |
Re: Greetings Colin_3! :) You'll find with software development 10% is coding and 90% is debugging! ;) That being said, one way to debug the code - provided that the debugging tools aren't helping - would be to "go no tech". What do I mean? Simply this: grab a pencil and … | |
Re: Greetings london-G! Try putting a breakpoint at line 5 and then running the debugger to see what value you're getting for jLabel4. If it's not a string (i.e. - text) or if it's null, then that will help you find a solution. :) Tekkno | |
Re: Hello Nguyen_4: What is the error message that you're getting? Also can you list the code you've created? Tekkno | |
Re: Greetings Suzie999! I think what you meant for the title of this thread was "Class Library (.dll) " :D Yep, using a .dll is a good way to go, (although I'm not certain how to set your environment to automatically load it for all your projects; but I bet there … | |
Re: Have you made sure that all the recent Windows/.NET updates are installed on your PC? Sometimes you have to go and do a manual Windows update (even if the automatic ones have already run). Of course it could be the reverse: you need to isolate an update that's been installed … | |
Re: Greetings shayan_doust! Seems like people have given you the solution, but for future reference, try using the debugger tools (if you haven't already) to try to isolate the issue. :) You already took the first step in isolating where the issue could be: > Now the issue is, whatever number … | |
Re: Hello Niloofar24! :) Creating a chat box (or chat messenger) will likely use Threads. You're going to want to learn about those to handle the messages going back and forth. But this is a bit of an advanced topic. How new are you to Java? If you're a Novice you'll … | |
Re: Hello jd3189 Yep. You'll find that most collections are zero-based, in programming. :) But not to worry, sometimes all you need to do is add 1 to adjust the indeces (or in this case the count) of the "list", to make it more "human readable". In your case however the … | |
Re: Hello buzzstpoint! Did that code work for you? Did it give you the result you were expecting? Tekkno | |
I'm trying to change the form icon on an app I'm creating but I've forgotten how. Does anyone remember how to create a winform icon from an image file (i.e.- jpeg, bmp, etc)? | |
Hello all: I'm teaching myself Android, using Android Studio, and when I try to run the emulator, it doesn't start up. In otherwords I see the mock device, but the start (home?) page does not appear. I've waited the customary 3-5 minutes and I've even tried creating different emulators, but … | |
Hello to all my fellow amateur astronomers. Just wanted to start a thread where we could gather and discuss all things astronomy. So what start gazing adventures are on people's radar this month? Tekkno | |
For those of you looking to challenge your skills check out: https://www.talentbuddy.co/ https://projecteuler.net/ http://www.topcoder.com/ http://rosettacode.org/wiki/Category:Programming_Tasks (the 100 doors challenge looks interesting; I think I'll try that one) Tekkno | |
Re: Hello samkri: I'm not sure what the requiremenst are the for the project, but instead of declaring an IEnumerable why not just create a method that iterates through the list, displaying the necessary information? For example, if I have a list of dogs and each dog holds a name, breed, … | |
Re: Hello Darth Vader: Try this article written by a good pal of mine Peter Shaw: http://www.codeguru.com/columns/dotnet/accessing-twitter-with-c.html If you have questions, he's really good about answering (or you can just aske me here :) ) TekknoDraykk | |
Just thought I'd start a thread for those of us into sci-fi and comicons. I used to attend Creation Conventions when Star Trek TNG was at it's peak. I loved going in costume (Klingon of course). I've since moved from NYC and of course lost some of my gear; and … | |
Re: Hi Suzie999: Just to clarify, do you mean an array of strings, for example: string[] strArrays = { {this, is, one, set, of, strings}, {this, is, another, set, of, strings}, {this, is, a, third, set, of, strings} }; Or did you mean a string array, for example string[] strArray = … | |
Re: Hello akash_6: What are the specs (specifications) of the project and what specific question do you have about it? What have you done so far? | |
![]() | Re: Hello Sanjeewa: Do you have a specific question? TekknoDraykko ![]() |
Re: Hello anandhachandru: I'm not sure that Java has dynamic link libraries, but there is a way to call .NET .dll's from Java. The following article discusses how to do so using C/C++ (though I'm sure there are articles that discuss how to do so using C#): https://support.microsoft.com/en-us/kb/222092 TekknoDraykko | |
Re: Try this tutorial: https://youtu.be/ElCHMYjRFO0 Let us know if you have any specific questions. Tekkno | |
Re: Go ahead and get it started and if you have questions along the way let us know... Tekkno | |
Re: Hello necrovore! :) It sounds like (based on the error) one of your foreign keys has not been configured to a primary key. Check out: https://msdn.microsoft.com/en-us/library/ms179610.aspx for more info on how to do this. :) Tekkno | |
Hello All! I'm reviewing Java (SE, ver 8) and I'm using one of the "Teach Yourself Java..." books. I'm up to the chapter on Java Web Start and I'm stuck. I'm trying to run the sample app (a .jnlp file), but I get an error that reads: "Application Blocked by … | |
Re: gusano79 I think you just gave away the answer. :) The statement in the original post includes: "Also identify that the given expressions will result in True or False." Once again, miriam_iqbal, can you provide us with what you've already done to attempt to solve this problem? :) Tekkno | |
Re: Spark_2 wrote: "Could someone give me an example of how I can pass data to the original instance of a main form using { get; private set; }?" Where is the data, that you want to pass, coming from? Can you post the code you're using, so we can get … | |
Re: Hello kamran815! :) It looks like you're using ADO.NET to connect to your data stored (i.e. mysql). Is that an absolute must or are you open to using LINQ? The LINQ methods have simplified access to data from RDBMS. Take a look at this tutorial if you're not familiar with … | |
Re: Hello shemseshukre! :) Can you be more specific about your specs and requirements? Tekkno | |
Re: Hello mdev: If I understand your requirements, you have a form with a textboxes and a button, and when you click the button the application adds the information to your data store (in this case an XML file). You mention that "...when i double click, to do that i call … | |
Re: Hi Joe: Without seeing the entire code, my first guess is that the "myBikeList" variable is out of scope. You might want to define it outside the foreach loop Tekkno | |
Greetings! I'm reviewing Java, in an effort to enhance my programming skills. I'm utilizing the book "*Teach Yourself Java in 21 Days*" and I'm currently learning about Java Web Start. I'm not sure I full understand how I'm supposed to use Web Start (based on the samples in the book) … | |
Re: Hello arturLIT! You don't always need a default statement in your switch statements. The default is used as a "catch all" when you want to control how the application responds in the event your case statements aren't met. Otherwise, you can just let the process "fall through" and continue on … | |
Re: Greetings Sheeraz_1! :) Can you post the full code block - just the block of code using string imgloc = ""; so we can try to assess where the issue is? Tekkno | |
Re: Hey hey Computer Savy: For what you want to do, you might want to run through File I/O tutorials. Try this MSDN tutorial on for size: https://msdn.microsoft.com/en-us/library/k3352a4t(v=vs.110).aspx (if that link doesn't work, try a Google search for: "C# File I/O") Remember to change the version to the appropriate version of … | |
Re: Hey hey smartjugal! :) Google is a programmer's best friend (always remember that ;) ) That being said, try this MSDN site: https://msdn.microsoft.com/en-us/library/dd492132.aspx Feel free to ask me any questions you might have Tekkno | |
Re: Hello Quast: First off I will say I'm a firm believer in allowing new coders to find their own solutions, with a little guidance; so I try not to give you the code I would use, but give you an outline or a template and let you take it from … |
The End.