How To run with vbs scheduled task

It does have something to do with VB.NET. Although it took me a day to see the real question.

How to run a VB.NET .vb file from vbs.

You have to compile it. Here’s an article about how to do that.

appactivate between multiple internet explorer instances

Although the sample given doesn’t work 7 and later because of a name conflict. Rename sendmail to something else for 7 and later.

If a limited user you need to manually add the registry entries to hkcu\software\classes. Do this by exporting as a reg file (regasm /reg) and search and replace HKEY_CLASSES_ROOT with HKEY_CURRENT_USER\Software\Classes and merge it with regedit or reg.

Also if you put in extra brackets around statements and subs vbscript code works in VB.NET mostly.

See this for how to run vbscript code in

Leave a Comment