How to delete ".exe" for my filename?
Hello!
I wrote an application that can open and get the filename from a specified location, but I would like to get the filename only for my inputted textbox. It display "demo.exe", but what I want to display on the textbox is "demo" only. So how to delete the ".exe" on the textbox?
e.g. textbox1.Text=filename;
The textbox1.Text will display demo only, but not demo.exe?
Please give me reply asap. Thx.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

softairhk147 reputationPosted Feb 15, 2004, 11:03 PM EST
madinewalaRank #8,108 · 228 reputationPosted Feb 16, 2004, 12:01 AM EST