Hi,
I have an application in vb.net that runs over a network. Actually shortcut of the exe file is shared over LAN, so databases remain on one computer where the application has been installed. Everything works great except one thing.
The logo of this application is saved in a database, that reports can pick to load picture. The logo file is chosen by the user, using OpenFileDialog and then saved in database. It is saved like
D:\Pictures\filename.jpg
When I run the application from network (using shortcut that we have made to the main exe file), it given error on D:\Pictures\filename.jpg because this doe not exits in the system that is running the shortcut.
How to save the logo path in a way that it always finds it in application directory, when run over the network.
Thanks and best regards,
Furqan