<div class='quotetop'>QUOTE(Reup @ Apr 24 2007, 07:30 AM) [snapback]288251[/snapback]</div>
doh!, i have never really used VB to this level but finally managed a working code, although it is not quite as yours seems to be it seems to work
-
(Visual Basic Express 2005 )
Code:
Dim WAD As System.IO.FileInfo
OpenFileDialog1.Filter = "Wad Files|*.*"
********OpenFileDialog1.Title = "Select The WAD You Wish To Add"
********If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
************WAD = My.Computer.FileSystem.GetFileInfo(OpenFileDialog1.FileName)
************MsgBox(WAD.Name)
************MsgBox(WAD.DirectoryName)