View Single Post
Old 01-05-2007, 10:46 PM   #10
JJXB
Pi-voh
 
JJXB's Avatar

 
Join Date: Oct 2004
Location: Godmanchester, England
Posts: 850
Default

just got round to trying it and it works a treat plus i adapted the code to
Code:
Dim WAD As System.IO.FileInfo

OpenFileDialog1.Filter = "PWAD Files|*.WAD"
********OpenFileDialog1.Title = "Select The WAD You Wish To Add"
********If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
************WAD = My.Computer.FileSystem.GetFileInfo(OpenFileDialog1.FileName)
************TextBox1.Text = WAD.Name
End IF
And it had the desired effect
__________________
~Ceramic White PSP Status~
FW: 5.00 M33-6
Memory Stick: 8gb
JJXB is offline                         Send a private message to JJXB
Reply With Quote