Posts: 3
Threads: 1
Joined: Feb 2006
Ai hef a question "Can your make a install program to copy files : with qbasic is that possible : (((can you find that code))
------------------------------------------------------------------------------------
:Main Country is: NL ( Netherlands )
Posts: 3,368
Threads: 195
Joined: Jan 2003
I think that you need to use SHELL commands, i.e. SHELL "COPY C:\a.txt C:\test\a.txt". "COPY" is a DOS command, and also a BAT command I think. Any operating system that allows you to use DOS or BAT will work.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 3
Threads: 1
Joined: Feb 2006
Quote:I think that you need to use SHELL commands, i.e. SHELL "COPY C:\a.txt C:\test\a.txt". "COPY" is a DOS command, and also a BAT command I think. Any operating system that allows you to use DOS or BAT will work.
can you make that with a progressbar ???
so like as a proffesional install program
Posts: 1,956
Threads: 65
Joined: Jun 2003
Making a nice progress-bar is going to be a bit difficult. In order for it to be meaningful, you would need to know the time or the length of each file being copied, to move the bar accordingly.
An alternative would be to print a message on the screen after each file is copied. Example: for 8 files to be copied:
... File AAA has been copied ... 1 of 8
... File BBB has been copied ... 2 of 8
etc.
*****
Posts: 3,288
Threads: 167
Joined: Nov 2001
I'd go with what Moneo has suggested.
Posts: 26
Threads: 2
Joined: Nov 2005
Posts: 320
Threads: 9
Joined: Dec 2004
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Posts: 3,522
Threads: 189
Joined: Dec 2003
Posts: 3
Threads: 1
Joined: Feb 2006
Quote:A professional QB program.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
PROGRESSBAR SUBROUTINE This is a standalone progressbar !!! rountine
INSTALLATION PROGRAM UPDATE QB?? -PB
INSTALLATION UTILITY QB?? -PB
INSTALLATION PROGRAM PB
This is a powerbasic source code bas files not Qbasic
can you create a exe file with this bas files ???
Posts: 108
Threads: 0
Joined: Jan 2006
Quote:This is a powerbasic source code bas files not Qbasic
If you understand Basic, then you should be able to learn enough from the code to write your own.