Hello,
I have some problems in showing the progress of copy data.
I try to show the copy-progress-bar with following code:
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Show copy-progress
Started by
Skreboy
, Nov 29 2004 21:58
4 replies to this topic
Posted 29 November 2004 - 21:58
CODE |
function MoveFileData() number nResult, nDisk; begin 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 ); return nResult; end; |
Bu I always geht the error-msg that something ist wrong in line [#].
"invalid command"
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?
THANK YOU!
Bye Skreboy
Edited by Skreboy, 29 November 2004 - 22:08.
Skreboy
Posted 30 November 2004 - 17:58
The function names are case-sensitive. ENABLE should be Enable, etc.
Good luck!
Tod Hilty
Good luck!
Tod Hilty
Posted 30 November 2004 - 18:12
QUOTE (TodHilty @ 2004-11-30 17:58) |
The function names are case-sensitive. ENABLE should be Enable, etc. Good luck! Tod Hilty |
I have tried this, but I always get the same error-msg.
Thank you
Skreboy
Skreboy
Posted 30 November 2004 - 21:41
The commands ENABLE and DISABLE are case sensetive and should be Enable and Disable. You cannot compile the script without errors using all caps.
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
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
If the problem persists please post the complete error message, and indicate the line of code that the error message applies to (maybe add line numbers in your code sample)
Stefan Krüger
InstallSite.org twitter facebook