|
-
Jul 13th, 2000, 09:35 AM
#1
hi,
i use the web browser control in my app.
and i need to constantly load html files into it because it shows resaults of calculations.
but every time i open the html it takes some time to load and makes an annoying 'clinck" sound. is there a way to quick load a html file (its only a few byts) and to override the loading/opening sound.?
is this related some how to the OPEN statement. i mean i open a file for editing in a loop - open close - open close etc. maybe i need to leave it open or something and then it will write faster and the html will show faster (the file that the html control is showing is a file that its content changes a few times, then closes and display the total).
here is what i mean.
the program generates random numbers.
you select a number, you select how many times to repete the action. lets say i chose to 20, 5 times.
i got:
12
5
17
1
20
each time the 'random' action is made the html file is written again, to update it content. if the number is 1 (lowest) then the number appears red, and if its 20 (highest) then it appears green.
every time the action takes place the program removes the </body></html> from the last line to add the next numberd rolled. and then the </body></html> appears again.
after all 5 times are complete you get a line; "total: 45"
in black (every other line is black too).
now, again, to remind you why you read all this.
each time the action take place te webbrowser control load the html again and 'clincks'. and then at the end it loads the html one last time to show everything and 'clinks'.
how can i fasten the proccess and gt rid of the 'clinking, clicking tiking sound'
thanks..
Boaz zemeR
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|