Accepting user input
-
Rajdeep.NET wrote:
What code should I implement in the Button_Click event handler in order to do so?
Code to write the file out. Now, buy a book and find out what that code is. I can't believe that you've posted questions about how to sell your software when this limping pile of scrodspittle is the level of competence you are currently at. Do yourself a favour - buy some books; then read them.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Pete O'Hanlon wrote:
this limping pile of scrodspittle is ...
it is getting all to high-brow for me now, even Google[^] doesn't help any more. ;)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
Dave Kreskowiak wrote:
We don't get paid to write the code for you so you can copy'n'paste it into your own code and take credit for it
Alright Mr. Dave Kreskowiak, as you wish. You also have a point. Finally, I discovered that I am the most idiot //programmer (calling myself a programmer will be wrong) codeproject ever had in its forums. I'll make sure I learn the basics first. Thanks for all your advice. Rajdeep.NET (starving to be a developer) :doh:
Rajdeep.NET wrote:
I discovered that I am the most idiot //programmer (calling myself a programmer will be wrong) codeproject ever had in its forums.
Not even close. There have people around here who couldn't find the power switch to turn the machine on! There are a certain set of minimum skills you need to be a developer/programmer/whatever. You need the ability to do research and the ability to try things out (explore). These two things are the basis of the scientific method, or learning what you don't know in a structured manner. Without this, you don't have a prayer of becomming a decent programmer.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
If you think I said it was "the day's most stupid question" then you also need to learn to read. For a "programmer" who intends to sell his code (cf. your previous R.NsSQOTD posts) you ask the basic questions that even a 1st year CS student learns in the first week of a C# course. I do not want, desire, or need you to appreciate me, as a genius or otherwise. I do however reserve the right to reply in any manner I see fit (within the constraints of the forum) to someone who is: 1) Trying to pass himself off as something he clearly isn't. 2) Trying to get others to do his work for him, without payment. 3) Trying to use our intectual properties for his commercial gain. 4) Wasting the time of unpaid professionals who are helping others out of the goodness of their hearts. 5) Incapable of refining a Google search (many of my initial searches give thousands, or millions of results) 6) Being rude to others, for doing exactly what he is doing, and thus hypocritical. and last but not least 7) Being a complete f****** d*******, with niether b**** or a c*** (except on his f*******). Now, do you fit in any of those categories? No - you fit in them all. [edit] P.s. Before you ask, I have nothing against ignorance, it can be cured by education. Stupidity on the other hand... [/edit]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
Step away from the keyboard sir. [That is class 1 diatribe, well done. Have an OBE]
Panic, Chaos, Destruction. My work here is done.
-
Pete O'Hanlon wrote:
this limping pile of scrodspittle is ...
it is getting all to high-brow for me now, even Google[^] doesn't help any more. ;)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
It's 100% Pete. I doubt you'll find it anywhere else.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
It's 100% Pete. I doubt you'll find it anywhere else.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Pete O'Hanlon wrote:
It's 100% Pete.
Patented by Pete. ™ :) (I voted a 5 for it)
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep! -
Rajdeep.NET wrote:
What code should I implement in the Button_Click event handler in order to do so?
Code to write the file out. Now, buy a book and find out what that code is. I can't believe that you've posted questions about how to sell your software when this limping pile of scrodspittle is the level of competence you are currently at. Do yourself a favour - buy some books; then read them.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Pete O'Hanlon wrote:
find out what that code is
His next q would be 'Where is the code in the book?' and he might write that to the author too. Poor author!
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep! -
It's 100% Pete. I doubt you'll find it anywhere else.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Hi friends, I've a WinForm consisting of a TextBox and a button. Now, I want that, whenever user enters any text in the text box and clicks the button, the entered text be saved in a precreated text file. What code should I implement in the Button_Click event handler in order to do so? Help appreciated, Rajdeep.NET :-D
Rajdeep.NET wrote:
What code should I implement in the Button_Click event handler in order to do so?
MessageBox.Show("Bye. See You");
Application.Exit();That would be the best code you can write and the most best help that you can offer your users without tormenting them through the numerous coding horrors that I could speculate from you.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep! -
If you think I said it was "the day's most stupid question" then you also need to learn to read. For a "programmer" who intends to sell his code (cf. your previous R.NsSQOTD posts) you ask the basic questions that even a 1st year CS student learns in the first week of a C# course. I do not want, desire, or need you to appreciate me, as a genius or otherwise. I do however reserve the right to reply in any manner I see fit (within the constraints of the forum) to someone who is: 1) Trying to pass himself off as something he clearly isn't. 2) Trying to get others to do his work for him, without payment. 3) Trying to use our intectual properties for his commercial gain. 4) Wasting the time of unpaid professionals who are helping others out of the goodness of their hearts. 5) Incapable of refining a Google search (many of my initial searches give thousands, or millions of results) 6) Being rude to others, for doing exactly what he is doing, and thus hypocritical. and last but not least 7) Being a complete f****** d*******, with niether b**** or a c*** (except on his f*******). Now, do you fit in any of those categories? No - you fit in them all. [edit] P.s. Before you ask, I have nothing against ignorance, it can be cured by education. Stupidity on the other hand... [/edit]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
Pete O'Hanlon wrote:
find out what that code is
His next q would be 'Where is the code in the book?' and he might write that to the author too. Poor author!
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!