Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15484

Distrition of a vb 2019 applicazione

$
0
0
In VB 2019 i created a little application using Add Windows Form. To read an external text file I had to say the path where it was, for example "c:\users\myname\desktop\text.txt". So far no problem. It works and read my file assigning it to a RichTextBox.
The question is: if i distribute the app to work on other computer it will always point to the address I wrote in the code but on the other computer it may not be that path.
How to solve? Have I to tell whoever receives the application to create a directory with the same name and insert there the file? Or it is possible to do otherwise.
Thanks in advance.

Viewing all articles
Browse latest Browse all 15484

Latest Images

Trending Articles



Latest Images