Click here to Skip to main content
15,898,769 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

i developed one wpf application using c#, In this application i get Excel file from application directory and executed successfully.

After creating setup file i couldn't find file path and it couldn't show File in set up application.

I'm using following code.

string file_name = @"..\\..\\Adoorkuppam.xlsx";
Posted

1 solution

Hi, You may use Environment.CurrentDirectory


Regards,
CodeBlack
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900