By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,961 Members | 1,332 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,961 IT Pros & Developers. It's quick & easy.

Progress Bar

Ali Rizwan
100+
P: 927
Hi,
I have setup programe and i want to show copying progress on progressbar.
Thanx
Sep 24 '07 #1
Share this Question
Share on Google+
5 Replies


hariharanmca
100+
P: 1,977
will you explain clear and detail?
Sep 24 '07 #2

Ali Rizwan
100+
P: 927
will you explain clear and detail?
Ok,
I have made a software and a setup programe for it.
I have to copy and create some files to pc from CDROM.
Now i have a progreesbar which show the status of copying files.
Suppose if 10 out of 20 files copied then progressbar show 50% value.
As u see in other installations.
I think u ll understand my problem
Sep 24 '07 #3

hariharanmca
100+
P: 1,977
I have a doubt, in setup package itself show a progress bar while install software.
Set in form load or design time
Expand|Select|Wrap|Line Numbers
  1. prgName.Max = 100
  2. prgName.Min = 0
then in copy command

Expand|Select|Wrap|Line Numbers
  1. For I = 1 to lngNoFiles
  2.     Your File Copy command here…………………
  3. prgName.Value =  (100  * (I / lngNoFiles))
  4. Next i
Will this help you?
Sep 24 '07 #4

Ali Rizwan
100+
P: 927
I have a doubt, in setup package itself show a progress bar while install software.
Set in form load or design time
Expand|Select|Wrap|Line Numbers
  1. prgName.Max = 100
  2. prgName.Min = 0
then in copy command

Expand|Select|Wrap|Line Numbers
  1. For I = 1 to lngNoFiles
  2.     Your File Copy command here…………………
  3. prgName.Value =  (100  * (I / lngNoFiles))
  4. Next i
Will this help you?
Ok i ll try
Actually i m not using any setup software or package i have made it on vb6.
Thanx a lot
Sep 24 '07 #5

P: 1
Oss
i'd like to say thank you
with a very smiple code u solved a huge problem for me

once again thanks
Nov 2 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.