I am unable to read the text file in windows form . i am getting the following error
An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll
Additional information: The given path's format is not supported.
I had written like this:
String^ strfilename = openFileDialog1->InitialDirectory + openFileDialog1 + filename;
String^ readfile = File::ReadAllText(strfilename);
can anyone tell me what I could do

Ramesh PalanivelRank #372 · 6.8K reputationPosted Nov 13, 2017, 1:55 AM EST
varsha46 reputationPosted Nov 13, 2017, 2:13 AM EST
varsha46 reputationPosted Nov 13, 2017, 2:28 AM EST
Ramesh PalanivelRank #372 · 6.8K reputationPosted Nov 13, 2017, 2:55 AM EST
varsha46 reputationPosted Nov 13, 2017, 2:58 AM EST