prepared a program in which download file from the url.
it uses the MS-ITC control.
the program executed with the help of thread and show progress bar.
the dtrange thing is that some time is executed and some time it doesn't.
and when we make the exe it shows the "application Error..........."
and show the dialog box saying that send or don't send.
please assist me to solve the problem.
thankx in advance.
Vinay Gupta
Last edited by kvingupta; Mar 23rd, 2006 at 02:08 AM.
have you tried searching the forums for some similar threads like yours. do a search. there are a lot of threads that can answer your post. if not. get back here and tell that they are not the ones that you want
On error goto Trap
Trap:
in case of emergency, drop the case...
****************************************
If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved" option. if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar
prepared a program in which download file from the url.
it uses the MS-ITC control.
the program executed with the help of thread and show progress bar.
the dtrange thing is that some time is executed and some time it doesn't.
and when we make the exe it shows the "application Error..........."
and show the dialog box saying that send or don't send.
please assist me to solve the problem.
thankx in advance.
Vinay Gupta
Remove your mail from there before bots/spiders catch it and start spamming you.
Hi,
Please find the zip file as an attachment of code.
it also contain the supporting ehich guided me to do so.
my basic problem is to download more than one files simultaneousely from the internet.
and show the progress bar displaying the staus of each.
Last edited by kvingupta; Mar 23rd, 2006 at 02:09 AM.
You can create new threads in VB6 using the CreateThread API, but you cannot use them to do anything.
VB6 keeps all it's initialization stuff for all the run time libraries and controls in what is called "thread local storage". So, when you spawn a new thread that thread no longer has access to the VB libraries and controls.
If you really want to do multithreading then upgrade to VB.NET.
And please remove your email address from both posts, for your own sake!
Use the "Edit" button at the bottom right corner of your posts. Or you'll get a ton of unsolicited and mostly illiterate offers in your inbox/junk folder.
You can create new threads in VB6 using the CreateThread API, but you cannot use them to do anything.
VB6 keeps all it's initialization stuff for all the run time libraries and controls in what is called "thread local storage". So, when you spawn a new thread that thread no longer has access to the VB libraries and controls.
If you really want to do multithreading then upgrade to VB.NET.
---
ok , will you tell me any other alternative method in vb 6.0 for downloading more than one files simultaneousely from a given url. and show the progress bar each.
as you can see this in my program.
and when one file gets any error other will not stop downloading.