open up vb6 and select your form
go to components then check windows common dialog control 6.0
place a dialog control on your form go to propertys and go to custom
select the propertys u want
insert a command button
go to the command button and enter
Code:
Private Sub Command1_click ()
commondialog1.showopen
End Sub
To put the address into a text box enter this :
Code:
Private Sub Command1_click ()
commondialog1.showopen
Text1.Text = CommonDialog1.FileName
End Sub
To only find a file like SWF put this in your filter
Code:
Shockwave Flash Object (*.swf) | (*.swf)
if any of the code above dosent work let me know and il fix it
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum