Re: why write a script when u can write a vb6 app
From: Michael Harris \(MVP\) ("Michael)
Date: 03/31/04
- Next message: Josh Parker: "VBscript program help!!!(PLEASE HELP ME)"
- Previous message: Michael Harris \(MVP\): "Re: onKeyPress and onBlur Conflict"
- Next in thread: Me: "Re: why write a script when u can write a vb6 app"
- Maybe reply: Me: "Re: why write a script when u can write a vb6 app"
- Maybe reply: Koutetsu: "Re: why write a script when u can write a vb6 app"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 19:47:42 -0800
> Ofcourse writing a script is easier and faster, but writing an app
> using VB 6 is also not that difficult.
> And I get to use visual studio which is much much better than using
> text editor or some other not so good editors.
>
> What are the things that can NOT be done in a VB 6 app that could be
> done in vbscript/wsh ?
> Thoughts?
VB6 does not support console mode programs...
VB6 does not support program exit codes (the ExitProcess hack is risky and
unsupported)...
Both may be key requirements for unattended, scheduled script execution,
especially under 3rd party job schedulers (like we use were I work) that
support cross-platform job dependency chains based on exit codes.
VBScript indirectly supports both of these via the WSH hosts (cscript.exe
for console mode execution) and WScript.Quit for exit code.
Of course, VB.Net doesn't have the limitations of VB6...
-- Michael Harris Microsoft.MVP.Scripting Sammamish WA US
- Next message: Josh Parker: "VBscript program help!!!(PLEASE HELP ME)"
- Previous message: Michael Harris \(MVP\): "Re: onKeyPress and onBlur Conflict"
- Next in thread: Me: "Re: why write a script when u can write a vb6 app"
- Maybe reply: Me: "Re: why write a script when u can write a vb6 app"
- Maybe reply: Koutetsu: "Re: why write a script when u can write a vb6 app"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|