Okay hi people i just want to is it possible if you can use a Certain copy / Write Function
that writes your file from Resources to where you want but with Progress(Progress bar) while its copying or Writing and if so can you give me a example please:'(
VB 2012
4
Junior Poster
Recommended Answers
Jump to PostTo show progress you will need to get streams and read and write to them so you can tell how many bytes have been written.
I don't know how to get a stream from my.resources but I do know a couple of things.
You can add the file …
Jump to PostMake sure the embedded stream is not nothing. If it is then make sure you have the build action of your Memory freeo.exe to embedded resource. Or get the stream some other way. The embedded resource was for example but will work.
On the new file stream make sure …
Jump to PostYou mean copy two files into one file or copy more than one file at a time with the same progress bar?
Jump to PostSomething like this. This is all rough draft code so you may need to make so mods but it works.
I changed one thing up. The b worker takes a list of a new filecopyinfo class instead of the streams.
Private Class FileCopyInfo Public EmbeddedResourceName As …
All 18 Replies
Unhnd_Exception
VB 2012
4
Junior Poster
Unhnd_Exception
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
Ezzaral
commented:
This is not a chat client. Please don't string out your messages over 4 one-sentence posts.
-4
Unhnd_Exception
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
Unhnd_Exception
VB 2012
4
Junior Poster
VB 2012
4
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.