Well its not an installer :) Its an updater for a game :)
Procedure CreatePath(Root.s, Path.s)
Protected LastFolder.s = Root
For i = 1 To CountString(Path, "\")
FolderName.s = StringField(Path, i, "\")
SetCurrentDirectory(LastFolder)
If Not FolderExists(FolderName)
CreateDirectory ...
Search found 8 matches
- Sun Feb 21, 2010 4:23 pm
- Forum: Coding Questions
- Topic: CreateDirectory dont work
- Replies: 13
- Views: 2005
- Sun Feb 21, 2010 4:02 pm
- Forum: Coding Questions
- Topic: CreateDirectory dont work
- Replies: 13
- Views: 2005
Re: CreateDirectory dont work
Ah i see now. But still i have no idea how to implement it.
In my code i have a structure that has Path option.
There i store my folder paths and later i create this stored folders with help
of ForEach Loop:
ForEach Folder()
If Not FolderExists(ProgramRoot + Folder()\Path)
Result ...
In my code i have a structure that has Path option.
There i store my folder paths and later i create this stored folders with help
of ForEach Loop:
ForEach Folder()
If Not FolderExists(ProgramRoot + Folder()\Path)
Result ...
- Sun Feb 21, 2010 3:31 pm
- Forum: Coding Questions
- Topic: CreateDirectory dont work
- Replies: 13
- Views: 2005
CreateDirectory dont work
Result = CreateDirectory("C:\Data\Audio\SOUNDS\AMBIENCES\")
If Result = #False
Debug "Error"
Else
Debug "Done"
EndIf
Hey guys, i have a problem with CreateDirectory command.
It just does not create following folder path.
I tryed everything but it doesnt work. Any ideas ?
If Result = #False
Debug "Error"
Else
Debug "Done"
EndIf
Hey guys, i have a problem with CreateDirectory command.
It just does not create following folder path.
I tryed everything but it doesnt work. Any ideas ?
- Sun Feb 14, 2010 3:13 pm
- Forum: Coding Questions
- Topic: Download File
- Replies: 1
- Views: 557
Download File
Hay guys!
I am searching for a "Download with Progressbar" code for HTTP and FTP servers.
I also found examples here but they are for HTTP and rare too diffuclt to implement becouse i am still new to PB.
I am searching for really little example of how to download file with progressbar without all ...
I am searching for a "Download with Progressbar" code for HTTP and FTP servers.
I also found examples here but they are for HTTP and rare too diffuclt to implement becouse i am still new to PB.
I am searching for really little example of how to download file with progressbar without all ...
- Sat Feb 06, 2010 7:18 pm
- Forum: Coding Questions
- Topic: Passing Str. Linked list to procedure.
- Replies: 2
- Views: 832
Re: Passing Str. Linked list to procedure.
Oh i see
Thank you very much !

- Sat Feb 06, 2010 7:13 pm
- Forum: Coding Questions
- Topic: Passing Str. Linked list to procedure.
- Replies: 2
- Views: 832
Passing Str. Linked list to procedure.
Hey there.
I am still rare new to PB so i got one problem with structured linked list.
How can i pass it to procedure ? Here is my code but it dont work.
"Syntax Error". Can someone help me out ?^^
Structure FILE
Path.s
Hash.s
EndStructure
NewList files.FILE()
Procedure AddFile(myList.FILE ...
I am still rare new to PB so i got one problem with structured linked list.
How can i pass it to procedure ? Here is my code but it dont work.
"Syntax Error". Can someone help me out ?^^
Structure FILE
Path.s
Hash.s
EndStructure
NewList files.FILE()
Procedure AddFile(myList.FILE ...
- Mon Jan 04, 2010 11:52 am
- Forum: Coding Questions
- Topic: IncludeBinary Help.
- Replies: 9
- Views: 2946
Re: IncludeBinary Help.
Well i am writing an updater for a game but problem is that, that user can start a game with out an update.
So if he join, server will crash. Becouse of this i want to start exe from memory to make sure that this player has
latest updates installed.
So if he join, server will crash. Becouse of this i want to start exe from memory to make sure that this player has
latest updates installed.
- Mon Jan 04, 2010 1:35 am
- Forum: Coding Questions
- Topic: IncludeBinary Help.
- Replies: 9
- Views: 2946
IncludeBinary Help.
Hello.
I am rare new to PureBasic so i got some problems with IncludeBinary keyword.
Well my goal is to Include an exe in my project through Dataselection and then
run this attached exe from memory without to copy it on Disk.
I use PurePROCS library in order to run exe from memory but in the ...
I am rare new to PureBasic so i got some problems with IncludeBinary keyword.
Well my goal is to Include an exe in my project through Dataselection and then
run this attached exe from memory without to copy it on Disk.
I use PurePROCS library in order to run exe from memory but in the ...