Home > Net > Vb.net, how to get to open the file format?
Vb.net, how to get to open the file format?
Time:10-12
Such as the program to open the student performance. TXT, I wanted to get. TXT this format,,, how to write code for help
CodePudding user response:
Dim path="X: \ path \ to file" Dim ext=System. IO. Path. GetExtension (Path. The ToString (). The Substring (Path. The ToString (). The IndexOf (". ")))