megatronixs
Registered User.
- Local time
- Today, 04:57
- Joined
- Aug 17, 2012
- Messages
- 719
Hi all,
I have a form with a button that is used to create or open a folder. It works OK when I use English names, but when I use Polish names with the characters, it simply does not work and opens my folder instead.
Any clue how this could be solved?
Greetings.
I have a form with a button that is used to create or open a folder. It works OK when I use English names, but when I use Polish names with the characters, it simply does not work and opens my folder instead.
Any clue how this could be solved?
Code:
Private Sub btn_cv_candidate_Click()
Dim oApp As Object
Dim path As String
Dim filename As String
Dim strEventPhotos As String
path = "C:\Current Evidence\Recruitment Tracker\CV Folder\" & Me.record_id & "_" & Me.Canditates & "\"
'checking if the folder exist if not creating one
If Dir(path, vbDirectory) = vbNullString Then
MkDir path
'MkDir path & "\" & "Emails\"
End If
strEventPhotos = "C:\Current Evidence\Recruitment Tracker\CV Folder\" & Me.record_id & "_" & Me.Canditates & "\"
Shell "EXPLORER.EXE " & strEventPhotos, vbNormalFocus
End Sub
Greetings.