Person who has hurt you has already done d Damage & probably moved on. By keeping the hurt alive u r still paying a tribute to d person.:)
Person who has hurt you has already done d Damage & probably moved on. By keeping the hurt alive u r still paying a tribute to d person.:)
Hi folks..
Here comes the same old question ..."How to get the source code for an exe file??"
Firstly , i am bored of asking this question as i dont think it is possible..
But what made me to re-ask this question is the excitement of some file that i have. I have an executable file
which is quite useful to me.. But i want to add some more features to it inorder to make it better.
Obviously i dont have the source code and I REALLY DONT WANT TO RE-INVENT THE WHEEL AGAIN.
Ofcourse , i will google about this issue and try to get some possible answers (eventhough i know that it is a tough task). But just wanted to post this issue here before I google..
PS: Please comment only if you have some really valuable suggestion ..I am a computer science graduate. And i know the possibilities. I am just checking if there are any loopholes or somebody over here knew about it...
Hey..
I have a programming question which is basically a generalized question(what i mean is a question which is not related to a particular programming language). So the question is actually about programming. So even though i am a java nerd , i want to post it in all programming languages forums..When i searched for it, i couldn't found it.
I saw "Computer Science" but what i personally feel is , that forum is not actively participated by members and i felt the need for an exclusive "PROGRAMMING" forum. Thereby allowing programmers to ask questions irrespective of the languages..
Just a thought...Just Ignore if you doesn't like..
:)
"In order to succeed, your desire for success should be greater than your fear of failure."
he speed of the car was 72km/hour, and the odometer is broken. ;)
haha..@deceptikon I am not asking about your car. :)
Came through this question in some interview...
A car travelled 28km from A to B in 30 minutes. If the distance between A and B is 36km,Then what is the speed of the car in kmph?
Anyone with Answer && explanation ..
simple..Define a constructor/function that accepts filename as parameter in simple1 class and now create the object of simple1 class by passing the filename as parameter.
Joy shared is doubled;
pain shared is halved.
Success does not mean being rich, powerful, or famous. Are you becoming a better person, with a kinder heart? If so, you are successful.
C# is more easy when compared to java. Just drag-and-drop. But i guess you dont need to look for a book which inter-relates both the languages. Just directly start learning c# books and I am sure you will understand it.
Harinath, as Sanjay says, the API is language-agnostic, meaning that it is fully functional with any language that is capable of making HTTP requests.
Oh..I never knew that REST and JSON thing. But i started learning it and found interesting. Especially JSON (because of its easy syntax). I thought that I will get some jar libraries(external jar libraries and API) . I wanted to develop a java desktop application which notifies me whenever someone commented on my thread or a new post in my desired thread.
Anyhow I will learn json and try to develop that thing...
Maybe if time permits , I want to develop full featured daniweb desktop application which notifies me without even checking the daniweb.com website regularly....
Waiting for the java version of the API...When can i expect a java version?
Did you tried resetting the boot settings to default settings?.
Clearly , you are trying to assign the Multipart object to String referrence and that is why you are getting that ClassCastException
No one can help except the moderators and admin...haha..Hope they will see this post soon :)
When Quitting is not your attitude, Winning is just a matter of time.
I have a requirement of reading the data from file. I know how to retreive the data from the DB. But my need is to read it from the .mdb file. Any solutions?.
Hi..
I want to read data from the microsoft access file(.mdb) using my servlet application . I need to read the data in .mdb file and format it to display on the web using my servlet application (or JSP)..How can i read data from .mdb file? I have never worked with mdb files before.
I need formatting the data and displaying it with some tables etc( i mean the presentation part).
SO thinking to use JSP instead of servelet..
Regards
@harinath: Do you have any reference material or sample code to support this assertion?
@jamesCherrill
I think you haven't read my entire post. What i mean is If you are creating a jframe object with constructor passing the title value and if you want to change the title of the jframe later , YOU MUST USE SETTER METHOD otherwise you need to create a new object which is not what we want just to rename the title.
So you ended up using setTitle() method at line 19 in your code. Thats what I said.
Can you change the title of the jframe without that line 19.? (without using setter method).
You Cant. So Setter method allows us to modify the value later. That's what I said and i think you haven't read my post fully or you might have misinterpreted my post.
JFrame f=new JFrame("Mr. JamesCherrill, this title cant be changed unless you use setter method or create a new object");
LOL..afterall i am working with swings from past 4 years. How can you expect that i think such foolishly?.
Anyway..please read the post completly and understand it clearly before posting anything. That is what I do everytime.
I hope you will also do that.
Yes..what you said is true and depends on the person and requirement to decide which one he/she should use. Absolutely it doesn't make difference whether you use constructor or setter methods.
If you have a constructor that accepts arguements, then you can happily initialize in the constructor itself. Otherwise you can use setter methods instead. Either way , both approaches results same.
You can say
JFrame f=new JFrame("this is title");
or
JFRame f=new JFrame();
f.setTitle("this is title");
Both are SAME.. BUT observe one important thing in the above code
In the first method , we are directly calling the constructor which accepts the title value.
Where as in the second method , we are setting the title value using Setter method.
In the first case, if you want to change the title of the jframe sometime later in your code ,you CANT change it . You have to create a new object inorder to change the title which is not what you need.
Where as in the second code , you can change the title of the jframe at any given point of time by just calling the setter method.
So it all depends on your requirements.
Nothing in the world is ever completely wrong. Even a stopped clock is right twice a day
Everything happens for a good reason
haha..if you continue such sort of fake things , I am sure that you will be banned here also.
Dont do such illegal things.
If you post content which is really worth and meaningful , then people will "like" it automaticaly..
Dont know in VB but in java you can ..
However I found similar question asked previousle here in Daniweb...
Check this
yeah...:) Then that should solve my requirements. I will try Navicat too if i find some time. Thanks
How about using oracle 11g where i can directly paste my paragraphs into database through GUI without worrying about those quotes and writing the queries?.
I want to insert through command line as of now (maybe i will find some time and learn about how to use Navicat later).And my text contains quotes . That is the reason , i havent started inserting those paragraphs into my database yet untill i find a better and easy solution for that.
@pritaeas...Thanks for the reply
I just want to store and retreive whenever i want. I dont want to manipulate the text. Just want to retreive and store with ease.
I thought of files But when i look at their down side , It is not flexible if i want to retrieve the random part of the text or paragraph.
So i am looking for different ways of storing paragraphs in database.
Is there any other EFFICIENT OR CORRECT OR POSSIBLE way of storing text other than that INSERT command?
SO , lets say if i want to store some paragraph with 4 lines.
What i do is (What i know is )
insert into mytable(' paragraph goes here ');
Just thinking that it will be complicated to insert some multiple lines of text through that insert command.
Is there any other way?.
Thanks
Do what you like and like what you do.
Hi all ,
Here comes the same general question.
I want to store the text ( you can call 'paragraphs' ) . What is the best way to do that? Files?
OR database is OK?
Thanks in advance :)
Transform your struggles into success
99% of the people try to pull down you while you are acheiving success. Use them as your ladder..
Living with ethical values is very important
Looks like you have not initialized applicatonForm object in the DatabaseConnect class and you are trying to access without creating the ApplicationForm object..
@harinath_2007 what is point in trying to explain something to someone who is not willing to listen.
Awesome joke @peter_budo.. You are best in creating <humour> than me. Who is trying to explain whom. Do you think before posting anything?. I never tried to explain something to you (I dont want to) or somebody else. I dont want to argue with <no insults allowed here JC> like you.
See my title of post and go search for the meaning of ":)" symbol. And i guess you need a doctor badly.:)
@peter_budo
You better remain as an employee rather than employer..
I am too lazy to shutdown my computer :)
Hi..Stress is a common thing in every programmer's life. So here is a way you can reduce your stress..
Write System.exit(0); in your code whenever you are in stress..:)
Comment your own tips too to avoid stress
Yeah.. Using Timer is a good option..
Try running a profiler to see if your memory usage is flat or increasing over time?
But i dont have any idea about profiler. How to do it ?
Hi..
I am using windows 7. All my folders became read-only suddenly and i cannot edit any type of file on my computer.
Yesterday it was fine..BUt suddenly i discovered this when i am trying to edit some word file.
All folders and files became read-only and i cant edit them
Evem if i right-click on the folder and uncheck the read-only option, again it is turning to read-only mode.
I know that attrib command but it is impossible for me to manually uncheck the read only option on every folder..
Is this because of virus.. If so , what type of virus it is ?. Plz suggest me some solution as soon as possible
I am tired of fixing this issue..
THanks in advance..
Hi..
My java desktop application runs every time the computer starts up and runs as long as computer is ON.
It monitors all the activities and interacts with database more often and will tell me some updates by looking on the internet at regular intervals etc..etc..
So what I usuallly do is creating the threads and calling the sleep method. BUt is there any way so that i can handle the memory more efficiently as my program runs 24/7. Are there any methods which will be very much useful if we want to make the program sit silently if there is no job to do . Any advice or suggestion will be helpful
Thanks in advance
Why? Do you think anyone ever gets to know the best way to do everything in Java? Is anyone so smart they can't learn from someone else? I'm flattered by your shock, but it's completely unjustified :)
You took me in a wrong way. I see your posts regularly helping other OP's . But i suddenly saw you posting a question. So I saw your post as little bit of suprise..(Dont misunderstand me :))Yes ofcourse, no one is perfect .
@JamesCherill
Hey James, I was shocked to see you asking the question. I would love to help you but unfortunately i never worked on Collections so far. :) .(As I completed my graudation recently and searching for a job). I will be watching this thread. Hope you get the better solution.:) I will search answer meanwhile
Both.. A Geek and programming nerd.
Geek will be more correct for me.
Hi,
Today , on my way to home from work, i passed through my school lane after almost 7 years. As soon as i entered my school lane , a lot of memories were passing through my mind. The days where I spent innocently . The days where I was enjoying my life wihtout any responsibilities. Those days were awesome.
Hmmm.. Life has changed a lot..
Do you have any such memories too??...
To my suprise, I found the oracle uninstall option in the add/remove programs. (Yesterday it was not there :)).
Maybe it appeared after restarting the system..
Uninstalled successfully...
@LastMitch... Thank you very much for your reply..