Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21264

[RESOLVED] Runtime error 5

$
0
0
I was trying to open this file which can be found at the windows32 folder. "timedate.cpl"

Run-time error '5':
Invalid procedure call or argument

Code:

Dim RetVal
RetVal = Shell("C:\Windows\System32\timedate.cpl", 1)

Was is wrong? :confused:

Viewing all articles
Browse latest Browse all 21264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>