hello.
I create windows c# application exe file.
I install setup in D:\ ABC_folderName.
I run exe file. in regestration page I use capure button which capture Image using external camera.
when I click save button It save image in install exe drive. ex- D:\ ABC(foldername)\bin\Image(here image save)
this is perfact run and done in my computer.
now i install this exe on another computer . and i click show record button that display only text data but image not display it generate error path not found.
so second computer's reocord when i want to saw that genereate error on first computer path problem.
what can i do???
any code or trick which automatically fetch imagepath and run image or display in form???
note:- computers are connected using LAN.

Dave2 reputationPosted Nov 6, 2015, 2:54 PM EST
Raja TRank #685 · 3.5K reputationPosted Nov 6, 2015, 3:31 PM EST
Like c: test/...
U can get application path use below code.
String appPath=Application.StartupPath;
Jigar Patel59 reputationPosted Nov 6, 2015, 8:00 PM EST
Jigar Patel59 reputationPosted Nov 6, 2015, 8:38 PM EST