hi i was try to setup my app in visual basic .net but my app have text file ho can i hide the text file while we set up the application ?
Add your txt file to your app resources
Project - Project properties - resources - upload
thanks i did it worked but i have another problem when i setup apps in another computer that file not read it , how can i get the path of the text after i add to resource ?
Copy text file to desktop.
Dim FilePath As String = My.Computer.FileSystem.SpecialDirectories.Desktop 'System.IO.File.WriteAllBytes(FilePath & "\filename.extension", My.Resources.filename) System.IO.File.WriteAllBytes(FilePath & "\Text.txt", My.Resources.Text)