Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

[RESOLVED] Missing Dim ??

$
0
0
I try start Outlook with this codesnip:

Code:

    Dim oShell
    oShell.run "cmd.exe /C ""C:\Users\kelds\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Outlook"" "

'Outlook' id a shortcut.

This error keeps comming up:

Unhandled exception at line 50, column 5 in KopierMail.vbs
0x800a01a8 - Der opstod en Microsoft VBScript-kørselsfejl: Et objekt er obligatorisk: 'oShell'

NO MATTER if I have or NOT have the 'Dim oShell'

What do I do wrong here ?

Viewing all articles
Browse latest Browse all 688

Trending Articles



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