16,008,010 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 Medin Smaili (Top 10 by date)
Medin Smaili
18-Jan-16 15:33pm
View
Okay, I have three rows with the check box selection:
First Row: chkbx1, chkbx2, chkbx3
Second Row: chkbx1, chkbx2
Third Row: chkbx1, chkbx2
in this three rows in each row should be selected one check box so I need those check box state to be saved in saveFileDialog
Medin Smaili
18-Jan-16 15:28pm
View
I wanna update the program as well, but later of course adding the web based app, database and fixing all bugs that I have currently, to be paid fully. hope you understand why I added external files :)
Medin Smaili
18-Jan-16 15:24pm
View
can you send me a demo link please cause i'm still begginer
Medin Smaili
18-Jan-16 15:23pm
View
problem is that i am saving in external file localy
Medin Smaili
11-Nov-15 16:41pm
View
exactly, I want my data to be separated in new lines inside text file but after that I must open them in text boxes with those data I inserted before saving e.g. textBox1 = 1; textBox2 = 2; etc, but not show in textBox1 = 123456789;
Medin Smaili
14-Sep-15 7:01am
View
Deleted
I did that but it won't show data typed into file...
Medin Smaili
11-Sep-15 13:56pm
View
one line and data has not been separated e.g. 123456789
Medin Smaili
10-Sep-15 7:29am
View
System.IndexOutOfRangeException was unhandled
HResult=-2146233080
Message=Index was outside the bounds of the array.
Source=Labaratori Ikre
StackTrace:
at Labaratori_Ikre.Form2.openToolStripMenuItem_Click(Object sender, EventArgs e) in C:\Users\Medo\documents\visual studio 2015\Projects\Labaratori Ikre\Labaratori Ikre\Form2.cs:line 77
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
at System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.TextBoxBase.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Labaratori_Ikre.Program.Main() in C:\Users\Medo\documents\visual studio 2015\Projects\Labaratori Ikre\Labaratori Ikre\Program.cs:line 19
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
Now this is what I get at "textBox2.Text = lines[0];"
Medin Smaili
9-Sep-15 13:48pm
View
the problem is at "lines = File.ReadAllLines(path);" it shows error "Error CS0103 The name 'path' does not exist in the current context"
Medin Smaili
8-Sep-15 11:59am
View
It does save everything, thanks for that, now the other problem is when I open the saved file, the data from all textboxes which I wrote e.g. in textbox1 was written number 1, in textbox9 it's number 9 (each textbox, different data), but when I open file in each textbox shows data 123456789 (above is given code for opening file).
Show More