hello,
I know I'm not the first who's asking about this,
but im not a experience vba'er and for so far i can't fix what i want to do..
I've a form with a button that opens a flash projector.
everything works, but i'm using this on several places, so for me it's a solution to change the absolute path into a relative.
the vba code:
Private Sub plattegrond_Click()
On Error GoTo Err_plattegrond_Click
Dim stAppName As String
stAppName = "H:\Databases\pc_registratie\plat_blit_new.exe"
Call Shell(stAppName, 1)
Exit_plattegrond_Click:
Exit Sub
Err_plattegrond_Click:
MsgBox Err.Description
Resume Exit_plattegrond_Click
End Sub
I hope somebody can pick me in the right direction.
Grtz,
Thom
I know I'm not the first who's asking about this,
but im not a experience vba'er and for so far i can't fix what i want to do..
I've a form with a button that opens a flash projector.
everything works, but i'm using this on several places, so for me it's a solution to change the absolute path into a relative.
the vba code:
Private Sub plattegrond_Click()
On Error GoTo Err_plattegrond_Click
Dim stAppName As String
stAppName = "H:\Databases\pc_registratie\plat_blit_new.exe"
Call Shell(stAppName, 1)
Exit_plattegrond_Click:
Exit Sub
Err_plattegrond_Click:
MsgBox Err.Description
Resume Exit_plattegrond_Click
End Sub
I hope somebody can pick me in the right direction.
Grtz,
Thom