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 ?
thanks

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)
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.