I would like to know how to open any file by using the codes!!!

Recommended Answers

All 2 Replies

what do mean by file , do you want to open text file ? or want to execute any application's exe file? .

Regards

try this
Process.Start(''Calc.exe'')

instead of Calc.exe write your Exe file name with path.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.