| Mirage Source http://miragesource.net/forums/ |
|
| vb.net dialog boxes http://miragesource.net/forums/viewtopic.php?f=201&t=3381 |
Page 1 of 1 |
| Author: | Xlithan [ Fri Feb 15, 2008 9:38 am ] |
| Post subject: | vb.net dialog boxes |
In Visual Basic, you could get the filename by using CommonDialog.FileTitle, but in VB.Net they've removed this property, hell knows why. Is there any other way in .Net to get JUST the file title, rather than the entire path? |
|
| Author: | Lea [ Fri Feb 15, 2008 1:31 pm ] |
| Post subject: | Re: vb.net dialog boxes |
I'd imagine you could split the file path based on the "/" and take the last index of the array returned. |
|
| Author: | Xlithan [ Fri Feb 15, 2008 8:44 pm ] |
| Post subject: | Re: vb.net dialog boxes |
Nahh, there's a special method. I figured it out, but VB.Net really sucks. I might learn C# instead. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|