Mirage Source
vb.net dialog boxes - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: vb.net dialog boxes (/showthread.php?tid=1562)



vb.net dialog boxes - Xlithan - 15-02-2008

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?


Re: vb.net dialog boxes - Xlithan - 15-02-2008

Nahh, there's a special method. I figured it out, but VB.Net really sucks. I might learn C# instead.