Truncate opens the file and truncates it till the file size is zero bytes, so yes, it replaces it all.
You only need to use Truncate, as it opens it as well.
Depends what your writing, if you use a filestream and you write from the start of the file you overwrite the contents anyway, so really theres no difference between the two methods, you could argue that in this case .Open would be better because you arnt having the cpu truncate the file first, but the performance gain is going to be marginal.
[question] open dragonica twice 09/20/2009 - Dragonica - 7 Replies is there anyone to open dragonica twice?
edit: im playing at dragonica EU.
[Question] cant open the Dshop :S 07/28/2009 - Dekaron Private Server - 4 Replies WTF?
i cant open the Dshop :S
no error or something, just cant open =D
[Question] Can you open NPC anywhere in the map with CE? 02/01/2009 - Dekaron - 7 Replies Hi Guys!
My question is rather simple:
Do any of you know if there is a way to open a NPC, for example NPC Store or Stash anywhere in the map with CE? It doesnt have to work in all maps, just in the same map where the actual NPC is located.
I tried a method I used in another similar game for the same task, but at least that did not work... So, any ideas would be greatly appreciated, thanks!
~GodInDisguise
question|is there any way to open cabal twice?? 05/04/2008 - Cabal Online - 6 Replies like the title says, i want to open caba client twice.:)
is there any way to do it?
(on the same computer) <<----For the idiots.
[QUESTION]-WHAT DO YOU DO AFTER YOU OPEN OWNASAURUS?- 12/31/2007 - Soldier Front - 0 Replies I have a question.
When you rename Ownasaurus loader and mitch's xmas wallhack dll. to WALLHACK.DLL and WALLHACK.EXE, then you open them once its in the same folder..what do you do?
I load the game then go to my inventory and press F1 and F2, nothing happens. HELP
:confused::confused::confused::confused::confused :