16,004,782 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 8648589 (Top 12 by date)
Member 8648589
14-Mar-12 8:24am
View
but can we use the textbox value to be the filename.... for ex....if i type in the textbox "hello"....i want the file to be created as hello.txt..is there any possible way i can do that....
Member 8648589
14-Mar-12 8:23am
View
but can we use the textbox value to be the filename....
for ex....if i type in the textbox "hello"....i want the file to be created as hello.txt..is there any possible way i can do that....
Member 8648589
14-Mar-12 8:15am
View
error is cuming in the code
System.Io.file.writealltext(filePath,Filecontent);
there is no writealltext method in System.io.file
Member 8648589
14-Mar-12 8:11am
View
but i want the file to be created with that textbox value name...:(
Member 8648589
14-Mar-12 8:03am
View
where the file will be created,since we are not specifying the file path..
Member 8648589
14-Mar-12 7:45am
View
where the file will be created,since we are not specifying the file path...
Member 8648589
14-Mar-12 7:31am
View
i want to use the textbox value that we enter to be the name of file in which the value gets stored...
private void btnWrite_Click(object sender, EventArgs e)
{
String filename = textbox1.Text;
// write a line of text to the file
TextWriter te = new StreamWriter(filename);
// close the stream
te.Close();
}
when i give code like this ..no file is created..
Member 8648589
13-Mar-12 0:49am
View
i am creating a small application in windows mobile...i am using .net windows ce device application..i have created a abc keyboard with buttons..and i have two input text boxes in the same form..so if i click the text box,the keyboard will appear and when i click the buttons ,the corresponding text will be inserted into the textbox..so if i click the next textbox,when i click the buttons,the similar text must go to the second textbox....this is what i wanted to do./. ..i have tried every pssible way i know...but its not working..plz help :(
Member 8648589
12-Mar-12 8:08am
View
thanx for the code..but still when i click the button the value is not inserting to the textboxs...and focus is becoming false like it is refreshing...
Member 8648589
5-Mar-12 2:24am
View
thanx for the help..it worked.....biq thnxx
Member 8648589
5-Mar-12 2:24am
View
its ok ..thanxx anyway
Member 8648589
5-Mar-12 0:50am
View
i am using windows mobile application
Show More