Progress Bar for unknown time
Hi,
I have an application that writes data from PC to a 8052 microcontroller's Flash. It takes an accountable amount of time.I want to show a progress bar for the same but i cannt quantify the time(time it takes to complete writing all bytes to the falsh).I have an idea on progress bars with minimum and maximum limits known.I would like to know for unknown situation like my application Can anyone please give me kick start tips for the same. Regards, Swapna 
Re: Progress Bar for unknown time
If the progress to be depicted is unknown, then progress bar might not be the best choice. Show something similar to XP (4 green squares waiving till a work is done). A better choice would be showing a timer also.
To improve on that you can collect statistical data over a period of time then put the progress bar depending on the configuration of the hardware or something by which you can quantify. 
Re: Progress Bar for unknown time
thank u so much for the reply rahul...How about the following ????????
Sorry i never mentioned that i have the number of bytes to be flashed known.. :) 'WRITING THE DATA BYTES progressbar.Max = number_records For r = 0 To number_records For b = 0 To bytes_per_record ' send record(r).byte(b) recieve byte ' from target check if recieved byte= sent byte ' byte level verification Next b check for checksum that is dependent on 16 bytes ' record level verification progressbar.Value = progressbar.Value + 1 ' Next r 'VERIFYING THE DATA BYTES progressbar.Max = number_records * bytes_per_record For b = 0 To number_records * bytes_per_record recieve byte ' from target check if recieved byte= sent byte(b) Next b progressbar.Value = progressbar.Value + 1 ' *********************************************** I shall use one progress bar to perform my 'WRITE' and 'VERIFY' operations. They wil be using the progress bar one after the other since it is a sequence process. How far am I right ???? 
Getting a polynomial Expression in VB6
Hi ,
I have posted this thread 3 to 4 days back . But I didnt get any reply.... I found Your post and I thoght i may get solution for my problem ... So I am Posting it in Wrong location I hope My Problem get solved...............!!!!!!1 Bye Hi everyone I want to know the method to get a polynomial expression in vb so that i can write program for "Numerical methods of finding interpolating Polynomial,Differentiation & Integration" THE ACTUAL FORM OF THE INTERPOLATING POLYNOMIAL TO BE CALCULATED IS AS FOLLOWS (xx1)(xx2)(xx3)(xx4)  + (x0x1)(x0x2)(x0x3)(x0x4) (xx0)(xx2)(xx3)(xx4)  + ........... (x1x0)(x1x2)(x1x3)(x1x4) THE SUM CONTINUES BY LEAVING x2, x3, x4 AND INCLUDING REMAINING POINTS IN SERIES IN THE NUMERATOR AND USING THE LEFT POITS IN DENOMINATOR...=> IN EVERY PART THERE WILL BE 4 TERMS IN THE NUMERATOR AND DENOMINATOR The final polynomial expression after simplyfying the above will be in the form of a4x^4 + a3x^3 +a2x^2 + a1x + a0 whose degree is 4 the polynomial expression to be calculatd can be of any degree based on the datapoints given. Can any one expalin me in detail the method to get the above mentioned polynomial based on the values of x0,x1,x2,x3,,x4 ......... ??? IS THERE ANY WAY TO GET THE FORM OF THE EQUATION IN CONVENTIONAL WAY WITH ALL THE SUBSCRIPTS ,SUPERSCRIPTS,.....ETC BY CONNECITNG IT TO THE TOOL EQUATION EDITOR IN MICROSOFT WORD waiting for a nice reply BYEEEE 
Reading a mathematical expressiong in VB6
Hi ,
I have posted this thread 3 to 4 days back . But I didnt get any reply.... I found Your post and I thoght i may get solution for my problem ... So I am Posting it in Wrong location I hope My Problem get solved...............!!!!!!1 Bye Hi everyone I want to know the method to read a mathematical expression from the user in VB6 The equation can be in any form like (xy + cos x + log(x+y) )/x^2 the integration of this function is to be found out in the specified intervals using numerical methods(simphsons 1/3rd rule........etc) Can any one send me the method to do it in VB 6 if its is possible can we connect the tool Equation Editor in Microsoft word to write the equations in the textbox or any other control so that the user can easily write the function easily??? if so how to connect it ?? Byeee 
Re: Progress Bar for unknown time
All i want to know is how to make the proggress bar in notepad++

Re: Progress Bar for unknown time
Is it vbscript?

Re: Progress Bar for unknown time
Quote:

Re: Progress Bar for unknown time
My son (10 yrs old) needs to know if the progress bar code is VBscript or Flash etc. He is in the beginning stages of learning programming and has all kinds of things he wants to learn but at times doesn't know where to begin.
Thank you for your time. He would like you to reply with the code for the progress bar at your convenience. He says "It doesn't have to have a specific time." He says you will know what this means. KRenaud 
Re: Progress Bar for unknown time
Ask him to post here because you are not able to say what he is looking for.
Progress bar can be made in any known programming language. 
All times are GMT +5.5. The time now is 04:36. 