creative code monkey's Profile
Reputation: 13 Tradesman
- Active Posts:
- 45 (0.07 per day)
- 14-September 11
- Profile Views:
- Last Active:
- Oct 20 2011 11:57 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 13 Oct 2011It's possible to save a picture in a SQL or Access DB, but it changes the format of the picture. I never took the time to try getting around that, but if you are just looking to pull up a picture in a form application just store the path to the file in the DB. This will keep the size of the DB smaller as well.
The same could be done with an office doc, just save the path in the DB, pull it out when you need it and open it from your hard drive.
Posted 13 Oct 2011Your private list in MyList is not initialized to anything.
Change to this ->
private List<T> list = new ArrayList<T>();
Posted 4 Oct 2011Use
Strings are objects, not primitives, so you must use the .equals() method to compare them. Otherwise you are just comparing the address of the object, instead of it's contents.
Also, 'choise' is spelled "choice".
Posted 27 Sep 2011Ah, ok, I've never seen it written that way. +1 for learning something new today.
Posted 27 Sep 2011I understand that it is your preference but if you have so much information in a parameter that you are getting confused and have to pay attention and track it.. you need to separate the information. I understand that it is a preference but it is just very unnecessary. It is like doing:
String name; (String) name = "Redundant Broseph!";
All I am saying.
Don't you mean:
String name; name = (String) "Redundant Broseph!";?
- Member Title:
- New D.I.C Head
- 27 years old
- May 19, 1986
- Illinois, US
When I'm not programming or reading computer science books (which is most of the time!), I enjoy a good documentary, gardening, and spending as much time with my beautiful wife as I can. :)
Things that I avoid include watching TV (I don't even have TV service), eating anything with high fructose corn syrup in it, and becoming too dependent on any one thing. I own an android phone, but don't have cell phone service (I use skype and tracphone). I drive a 13 year old grand prix, and will drive it for the rest of my life.
- Years Programming:
- Programming Languages:
creative code monkey hasn't added any friends yet.