|
-
Jun 5th, 2002, 03:39 AM
#1
Thread Starter
Bouncy Member
spaces in filenames!
ok so you can use the CommonDialog to allow the user to select multiple files, and it then seperates each file path with a space in the FileName property.
but what if some of the filenames themselves have spaces in them!!! it makes it a bit difficult to use the Split function easily then!, any suggestions?
-
Jun 5th, 2002, 03:45 AM
#2
Retired VBF Adm1nistrator
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jun 5th, 2002, 03:47 AM
#3
Retired VBF Adm1nistrator
VB Code:
Private Sub Form_Load()
CommonDialog1.Flags = &H200 Or &H80000
CommonDialog1.ShowOpen
MsgBox Join(Split(CommonDialog1.FileName, Chr(0)), vbCrLf)
End Sub
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jun 5th, 2002, 03:48 AM
#4
Thread Starter
Bouncy Member
sorted!
nice one jamie. 
PS: hope you kick Germany ass today!!!!!
-
Jun 5th, 2002, 03:49 AM
#5
Retired VBF Adm1nistrator
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jun 5th, 2002, 03:52 AM
#6
Thread Starter
Bouncy Member
-
Jun 5th, 2002, 04:00 AM
#7
Retired VBF Adm1nistrator
Originally posted by darre1
corporate event!???
Yeah its a corporate sponsored thing im going to.
Starting in about an hours time.
Free food and drink alll day long
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jun 5th, 2002, 04:41 AM
#8
Thread Starter
Bouncy Member
thats pretty fortunate!!!!
cocky sod 
i've booked friday off for the england game
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|