Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 07:30

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help Me] How to write file without overwrite ?

Discussion on [Help Me] How to write file without overwrite ? within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2015
Posts: 4
Received Thanks: 0
[Help Me] How to write file without overwrite ?

Dim Path as String = "C.dat"
File.WriteAllBytes("Path", File.ReadAllBytes("A.dat"))
File.WriteAllBytes("Path", File.ReadAllBytes("B.dat"))
harry19939898 is offline  
Old 12/27/2015, 19:45   #2
 
hazejp's Avatar
 
elite*gold: 0
Join Date: Jan 2015
Posts: 62
Received Thanks: 13
Use FileStream instead of the static "File"-methods for writing.
hazejp is offline  
Old 12/28/2015, 07:39   #3
 
elite*gold: 0
Join Date: Dec 2015
Posts: 4
Received Thanks: 0
How to use Filestream ?
I am new
harry19939898 is offline  
Old 12/28/2015, 11:12   #4
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
YatoDev is offline  
Old 12/28/2015, 16:01   #5
 
elite*gold: 0
Join Date: Dec 2015
Posts: 4
Received Thanks: 0
thnx to replay
solve my problem
harry19939898 is offline  
Reply


Similar Threads Similar Threads
write a file
05/05/2012 - AutoIt - 2 Replies
i want to write a file from the "00000000" to "FFFFFFFF", how can i do it?
LUA file write/read
08/21/2011 - Metin2 Private Server - 4 Replies
Hallo =) Ich würde gerne wissen ob es möglich ist mit den LUA Befehlen von Mt Textdateien zu schreiben und ob das irgend ein Server verwendet, ggf Erfahrungen mit so einem System gesammelt hat. Danke im vorraus! grüßle LordMampf2
[VB6] Help write to file
06/20/2010 - .NET Languages - 0 Replies
Hi im trying to make a program that will add a text from textbox 1 and a ip adress to a text file but the program says text already exist all the time Option Explicit Dim txtthere As Boolean Private Sub Command1_Click() If txtthere = True Then MsgBox "There is already text there!" Else Dim sFileText As String
d2nt write to file
05/27/2010 - Diablo 2 - 1 Replies
Hi zusammen - ich bin leider erst dabei den syntax von den scripts zu lernen und nachvollziehen - eventuell findest sich ja ein script-guru der das ganze etwas beschleunigt :P ich würde gerne von d2nt eine file schreiben lassen. im endeffekt sollen da die ganzen sachen mit timestamp rein, die in der itemlog auftauchen. sinn des ganzen ist, dass der bot auf nem anderen rechner läuft und ich das ganze gern hier auslesen würde :) bin von natur aus faul ^^ also kurzum -> will die itemlog...



All times are GMT +1. The time now is 07:31.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.