Posted 29 November 2004 - 21:58
I have some problems in showing the progress of copy data.
I try to show the copy-progress-bar with following code:
number nResult, nDisk;
nDisk = 1;
// initialise display of actual state of copy
SetStatusWindow( 0, "" );
// enable display of actual state of copy
ENABLE( STATUS ); //[#]
// activate link between data transfer and display
// of percentage
StatusUpdate( ON, 100 );
// transfer and decompress data
nResult = FeatureMoveData( MEDIA, nDisk, 0 );
// handle errors - see function below
HandleMoveDataError( nResult );
// disable display of actual state of copy
DISABLE( STATUS );
Bu I always geht the error-msg that something ist wrong in line [#].
I have tried everything but I don't get rid of the problem. The script was imported from an earlier version of Install Shield.
Can anybody give me some hints?
Edited by Skreboy, 29 November 2004 - 22:08.
Posted 30 November 2004 - 17:58
Posted 30 November 2004 - 18:12
|QUOTE (TodHilty @ 2004-11-30 17:58)|
| The function names are case-sensitive. ENABLE should be Enable, etc.|
I have tried this, but I always get the same error-msg.
Posted 30 November 2004 - 21:41
The command ENABLE( STATUS ); - only Enables a status bar, but on what form?
Substitute command Enable ( STATUSEX ); enables a dialog with a status bar on it.
Other options are: STATUSDLG STATUSOLD
Posted 02 December 2004 - 09:36