Minggu, 24 Juni 2012

[MS_AccessPros] Almost Out Of Topic : Run Codes in VBScript (.vbs)

 

Hi Everyone...
Maybe this is an semi out of access topic post, but i don't know where to ask this question., so any help would be really appreciated...
I have codes to run every file in our PC, it works in Access VBA,
but how can i run the codes in VBScript (.vbs)..??
here is the codes :

Private Sub Command4_Click()
Dim Fl As Long
Fl = Shell("RUNDLL32.EXE URL.DLL,FileProtocolHandler " & "D:\Sample\Test.mde", vbNormalFocus)
End Sub

Thank you for your attention,..

Regards
Hendra

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar