Post by Izy Coder on Dec 27, 2014 23:37:40 GMT 10
How can you make a progress bar when you load or save a large file from richtextbox ?
Check Out My Project At VSlang InternetTM. More Project : - Poroxnoss Text Editor 2 - Added soon...
- TAP 2D Game Maker - Coming really soon...
- Easy Desktop - Discontinue..
|
|
Post by Prezence on Dec 28, 2014 0:38:07 GMT 10
I don't know of any method of doing this, frankly I've never needed to because even large text files load very quickly.
Check out our website here. Check out AirBrowse here. Follow us on GitHub here.
|
|
Post by Nathan Lecompte on Dec 28, 2014 10:09:15 GMT 10
If you really want to you can use a timer to delay the load of the text file. But like chris said, it's kinda pointless and could effect the quality of the program.
|
|
Post by Izy Coder on Dec 29, 2014 22:50:50 GMT 10
can you give me the code ? I want to make file merger (with text) so, it may take a long time to load many file to 1 richtextbox and then save it as 1(*.myExtension) file.
Check Out My Project At VSlang InternetTM. More Project : - Poroxnoss Text Editor 2 - Added soon...
- TAP 2D Game Maker - Coming really soon...
- Easy Desktop - Discontinue..
|
|
Post by Nathan Lecompte on Dec 29, 2014 23:06:11 GMT 10
can you give me the code ? I want to make file merger (with text) so, it may take a long time to load many file to 1 richtextbox and then save it as 1(*.myExtension) file. Hey Izy, Unless you were loading thousands of essays into one RichTextBox, quite sure that a loading icon would be unnecessary (even if that were the case it would probably take around less than a minute, exception is that if your computer is a potato). Anyhow, here goes (unfortunately I don't think a .gif will work, I think): MyLoadingImage.Show() Threading.Thread.Sleep(5000) ' 5000 milliseconds = 5 seconds MyLoadingImage.Hide()
'Put code for opening file here (like directly above this eg: [font face="courier new"]RichTextBox1.Load(File)[/font] )
Hope this helps!
|
|