I was wondering how would you write a new file in vb.net.

In vb6 it's pretty easy like some code like this

Open App.Path & "\file.exe" For Binary As #1
Put #1
and etc

So i was wondering how could you do that in vb.net. But i also wanna know how i can write data into the files too.

Recommended Answers

All 3 Replies

But i also wanna know how i can write data into the files too. And if no one minds can you teach me the function to upload the logs to a ftp.

Ok well i found out while i was messing in visual studios. You can use the

FileOpen

function

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.