I was looking for the SHELLEXECUTE command and it is not mentioned in any of
the books I have.
I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET Language"
Pocket reference book and other books, one which is called "The ULTIMATE
VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning that
command. So who knows what else I am missing.

Does anybody knows about a good, COMPLETE and well organized (alphabetically
and categorized, etc. - which by definition excludes MSDN) reference source
for both, VB and VBScript?

Thanks,

David

Re: Where to find a COMPLETE VBScript reference? by Steven

Steven
Sun May 29 19:40:43 CDT 2005

MSDN
http://msdn.microsoft.com

--=20
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"David F" <David-White@earthlink.net> wrote in message =
news:uk7b#6KZFHA.3488@tk2msftngp13.phx.gbl...
> I was looking for the SHELLEXECUTE command and it is not mentioned in =
any of
> the books I have.
> I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET =
Language"
> Pocket reference book and other books, one which is called "The =
ULTIMATE
> VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning =
that
> command. So who knows what else I am missing.
>=20
> Does anybody knows about a good, COMPLETE and well organized =
(alphabetically
> and categorized, etc. - which by definition excludes MSDN) reference =
source
> for both, VB and VBScript?
>=20
> Thanks,
>=20
> David
>=20
>=20


Re: Where to find a COMPLETE VBScript reference? by David

David
Sun May 29 19:48:27 CDT 2005

Hi Steven,

Did you read my entire question?
MSDN is mentioned there...

David


"Steven Burn" <somewhere@in-time.invalid> wrote in message
news:OjNAOBLZFHA.1404@TK2MSFTNGP09.phx.gbl...
MSDN
http://msdn.microsoft.com

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"David F" <David-White@earthlink.net> wrote in message
news:uk7b#6KZFHA.3488@tk2msftngp13.phx.gbl...
> I was looking for the SHELLEXECUTE command and it is not mentioned in any
of
> the books I have.
> I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET Language"
> Pocket reference book and other books, one which is called "The ULTIMATE
> VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning that
> command. So who knows what else I am missing.
>
> Does anybody knows about a good, COMPLETE and well organized
(alphabetically
> and categorized, etc. - which by definition excludes MSDN) reference
source
> for both, VB and VBScript?
>
> Thanks,
>
> David
>
>



Re: Where to find a COMPLETE VBScript reference? by Steven

Steven
Sun May 29 20:25:19 CDT 2005

I did yes....... but did you see this?;

http://www.microsoft.com/downloads/details.aspx?FamilyId=3D01592C48-207D-=
4BE1-8A76-1C4099D7BBB9&displaylang=3Den

--=20
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"David F" <David-White@earthlink.net> wrote in message =
news:OUnWOFLZFHA.2288@TK2MSFTNGP14.phx.gbl...
> Hi Steven,
>=20
> Did you read my entire question?
> MSDN is mentioned there...
>=20
> David
>=20
>=20
> "Steven Burn" <somewhere@in-time.invalid> wrote in message
> news:OjNAOBLZFHA.1404@TK2MSFTNGP09.phx.gbl...
> MSDN
> http://msdn.microsoft.com
>=20
> --=20
> Regards
>=20
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>=20
> Keeping it FREE!
>=20
> "David F" <David-White@earthlink.net> wrote in message
> news:uk7b#6KZFHA.3488@tk2msftngp13.phx.gbl...
> > I was looking for the SHELLEXECUTE command and it is not mentioned =
in any
> of
> > the books I have.
> > I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET =
Language"
> > Pocket reference book and other books, one which is called "The =
ULTIMATE
> > VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning =
that
> > command. So who knows what else I am missing.
> >
> > Does anybody knows about a good, COMPLETE and well organized
> (alphabetically
> > and categorized, etc. - which by definition excludes MSDN) reference
> source
> > for both, VB and VBScript?
> >
> > Thanks,
> >
> > David
> >
> >
>=20
>=20


Re: Where to find a COMPLETE VBScript reference? by mayayana

mayayana
Sun May 29 23:51:30 CDT 2005

It's hard to find comprehensive coverage because
there are various objects that are not strictly part of
VBScript or WSH. WSHShell, for instance, was thrown
in with WSH but is not a documented object for
VBScript, so it doesn't show up in the VBScript
CHM file. And Internet Explorer doesn't show up
as part of either system, for that matter,
even though it's scriptable. So it's not clear where to
draw the line. If you want to script, say, Outlook or Word
then you'd also want those docs, but the Word and
Outlook object models are not part of VBS or WSH
so they're not included with the VBS or WSH docs.
You just have to know about them and hunt down the
docs.

ShellExecute is only in 2000/ME+ and is actually part
of the Shell.Application object. Shell.Application should
probably be documented as part of VBS and the WSH
but for some reason it's not officially included.

I think that MS originally just documented a few things
that they thought people would use. VBScript started as
a limited webpage scripting language and gradually
got expanded to include system admin. functionality.
That development doesn't seem to have been planned out.
It just happened gradually out of necessity. Over time more
scriptable objects were developed and more scripting was
built into Windows, but it wasn't always officially connected
with VBS or WSH. Only the objects like FSO and Dictionary,
from SCRRUN.DLL, are officially part of VBScript.

The ShellFolderView object, for instance, is a good
example of a usable object that just doesn't happen to be
officially considered to be part of VBS or WSH. There is very
sparse documentation for it. It's scriptable and, except in XP where
MS has cut off access to the system folder.htt file, the WebView
is designed to be custom scriptable by the end user through the
ShellfolderView object. But MS never really told anyone how to
do that and they seem to have been ambivalent about making it
available at all.
(The ShellFolderView object itself is an awkward and somewhat
limited object model to work with. If it wasn't for articles written by
Dino Esposito the ShellFolderView might still be unknown,
despite the fact that Windows has had a menu in every folder
since 98 that offers the option to "Customize This Folder"
by editing the ShellFolderView script in the system folder.htt
file.)

--
--
David F <David-White@earthlink.net> wrote in message
news:uk7b#6KZFHA.3488@tk2msftngp13.phx.gbl...
> I was looking for the SHELLEXECUTE command and it is not mentioned in any
of
> the books I have.
> I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET Language"
> Pocket reference book and other books, one which is called "The ULTIMATE
> VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning that
> command. So who knows what else I am missing.
>
> Does anybody knows about a good, COMPLETE and well organized
(alphabetically
> and categorized, etc. - which by definition excludes MSDN) reference
source
> for both, VB and VBScript?
>
> Thanks,
>
> David
>
>



Re: Where to find a COMPLETE VBScript reference? by Joe

Joe
Mon May 30 08:02:17 CDT 2005

Hi,

"David F" <David-White@earthlink.net> wrote in message
news:uk7b%236KZFHA.3488@tk2msftngp13.phx.gbl...
>I was looking for the SHELLEXECUTE command and it is not mentioned in any
>of
> the books I have.
> I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET Language"
> Pocket reference book and other books, one which is called "The ULTIMATE
> VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning that
> command. So who knows what else I am missing.
>
> Does anybody knows about a good, COMPLETE and well organized
> (alphabetically
> and categorized, etc. - which by definition excludes MSDN) reference
> source
> for both, VB and VBScript?
>
> Thanks,
>
> David
>

To put mayayana's response in a slightly different light --

Since VBS can operate under a number of different hosts and is designed to
call different COM objects to effect the substance of its operations, what
you're asking for just doesn't exist.

Scripting facilitates other operations. It is not intended to be an
all-encompassing language. When used under different hosts, the objects,
properties and methods of those hosts can be directly accessed. The number
of both OS and third-party COM objects constantly changes and is different
(to some degree) in both availability and specific implementation across
different OSs, as well as on differently configured host computers. The
script hosts also change in detail on a fairly continuous basis.

The standard, and probably best, approach, is to get the basic WSH CHM file
(for which Steve Burn has provided the link) for actual VBS operations and
inherent objects. Then look up the information on the COM objects and hosts
separately.

There are books and e-documents out there that "try" to encompass different
hosts or COM objects in different ways. A book on websites may include
website-specific scripting, one on servers may incorporate server-specific
scripting, etc. These types of references may consolidate some information
in a specialized area.

But things change. When you find COM references, they may likely be written
to explain access from another language -- VB, C++, JS, .Net, etc.

Here's the MSDN reference to Shell.Execute. It's under the IShellDispatch2
object, since it's not available in the earlier versions of Shell --

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/objects/ishelldispatch2/shellexecute.asp

MSDN IShellDispatch2 listing --

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/objects/ishelldispatch2/ishelldispatch2.asp

MSDN "Shell Objects for Scripting and Visual Basic" listing --

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/objects/objects.asp

You're right that MSDN is difficult to work through. It's generally a waste
of time to search it. It's best thought of as a "sticky-note-pile" work in
progress that contains both outdated and very current information (sometimes
never implemented) covering so many languages, hosts and objects that when
you find something, its likely not on the host or in the language you
require. Very useful when needed, however, and probably the best
accumulation around. My approach to it is to find and store key entry
points and then work through the left-hand hierarchical listing.

Joe Earnest




Re: Where to find a COMPLETE VBScript reference? by Steven

Steven
Mon May 30 08:35:32 CDT 2005

> My approach to it is to find and store key entry=20
> points and then work through the left-hand hierarchical listing.

I generally use the following query in a search engine (typically Google =
(via Scroogle))

<language> <query> [site:microsoft.com]

For example;

VBScript shellexecute site:microsoft.com

This brings up the following at the top of the results;

http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/shellc=
c/platform/shell/reference/objects/ishelldispatch2/shellexecute.asp

Or;

VBScript (connect to remote computer) site:microsoft.com

This brings up the following at the top of the results;

http://msdn.microsoft.com/library/en-us/wmisdk/wmi/connecting_to_wmi_on_a=
_remote_computer.asp&e=3D9707

Additionally suggest bookmarking the wierd bald guy.....

http://www.microsoft.com/technet/scriptcenter/resources/qanda/hsgarch.msp=
x

.. and while your at it;

www.devdex.com (or www.developersdex.com)
www.aspfaq.com (mainly for ASP but can be quite useful for VBScript =
aswell)

and last but not least;

Planet Source Code - ASP/VBScript
http://surl.co.uk/?1482

Original URL: =
http://www.planet-source-code.com/vb/scripts/BrowseCategoryOrSearchResult=
s.asp?grpCategories=3D-1&optSort=3DDateDescending&txtMaxNumberOfEntriesPe=
rPage=3D10&blnNewestCode=3DTRUE&blnResetAllVariables=3DTRUE&lngWId=3D4

--=20
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Joe Earnest" <jearnest3-SPAM@earthlink.net> wrote in message =
news:#w1#PfRZFHA.228@TK2MSFTNGP12.phx.gbl...
> Hi,
>=20
> "David F" <David-White@earthlink.net> wrote in message
> news:uk7b%236KZFHA.3488@tk2msftngp13.phx.gbl...
> >I was looking for the SHELLEXECUTE command and it is not mentioned in =
any
> >of
> > the books I have.
> > I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET =
Language"
> > Pocket reference book and other books, one which is called "The =
ULTIMATE
> > VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning =
that
> > command. So who knows what else I am missing.
> >
> > Does anybody knows about a good, COMPLETE and well organized
> > (alphabetically
> > and categorized, etc. - which by definition excludes MSDN) reference
> > source
> > for both, VB and VBScript?
> >
> > Thanks,
> >
> > David
> >
>=20
> To put mayayana's response in a slightly different light --
>=20
> Since VBS can operate under a number of different hosts and is =
designed to=20
> call different COM objects to effect the substance of its operations, =
what=20
> you're asking for just doesn't exist.
>=20
> Scripting facilitates other operations. It is not intended to be an=20
> all-encompassing language. When used under different hosts, the =
objects,=20
> properties and methods of those hosts can be directly accessed. The =
number=20
> of both OS and third-party COM objects constantly changes and is =
different=20
> (to some degree) in both availability and specific implementation =
across=20
> different OSs, as well as on differently configured host computers. =
The=20
> script hosts also change in detail on a fairly continuous basis.
>=20
> The standard, and probably best, approach, is to get the basic WSH CHM =
file=20
> (for which Steve Burn has provided the link) for actual VBS operations =
and=20
> inherent objects. Then look up the information on the COM objects and =
hosts=20
> separately.
>=20
> There are books and e-documents out there that "try" to encompass =
different=20
> hosts or COM objects in different ways. A book on websites may =
include=20
> website-specific scripting, one on servers may incorporate =
server-specific=20
> scripting, etc. These types of references may consolidate some =
information=20
> in a specialized area.
>=20
> But things change. When you find COM references, they may likely be =
written=20
> to explain access from another language -- VB, C++, JS, .Net, etc.
>=20
> Here's the MSDN reference to Shell.Execute. It's under the =
IShellDispatch2=20
> object, since it's not available in the earlier versions of Shell --
>=20
> =
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/shellc=
c/platform/shell/reference/objects/ishelldispatch2/shellexecute.asp
>=20
> MSDN IShellDispatch2 listing --
>=20
> =
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/shellc=
c/platform/shell/reference/objects/ishelldispatch2/ishelldispatch2.asp
>=20
> MSDN "Shell Objects for Scripting and Visual Basic" listing --
>=20
> =
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/shellc=
c/platform/shell/reference/objects/objects.asp
>=20
> You're right that MSDN is difficult to work through. It's generally a =
waste=20
> of time to search it. It's best thought of as a "sticky-note-pile" =
work in=20
> progress that contains both outdated and very current information =
(sometimes=20
> never implemented) covering so many languages, hosts and objects that =
when=20
> you find something, its likely not on the host or in the language you=20
> require. Very useful when needed, however, and probably the best=20
> accumulation around. My approach to it is to find and store key entry =

> points and then work through the left-hand hierarchical listing.
>=20
> Joe Earnest
>=20
>=20
>=20


Re: Where to find a COMPLETE VBScript reference? by Joe

Joe
Mon May 30 10:31:49 CDT 2005

Hi Steven,

[top post]

Nice site references. (I had one but not the rest.)

My Googling skills are not the best. I'll try your suggestion -- it looks
promising.

Thanks much,
Joe Earnest

"Steven Burn" <somewhere@in-time.invalid> wrote in message
news:eQ9RLyRZFHA.2124@TK2MSFTNGP14.phx.gbl...
> My approach to it is to find and store key entry
> points and then work through the left-hand hierarchical listing.

I generally use the following query in a search engine (typically Google
(via Scroogle))

<language> <query> [site:microsoft.com]

For example;

VBScript shellexecute site:microsoft.com

This brings up the following at the top of the results;

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/objects/ishelldispatch2/shellexecute.asp

Or;

VBScript (connect to remote computer) site:microsoft.com

This brings up the following at the top of the results;

http://msdn.microsoft.com/library/en-us/wmisdk/wmi/connecting_to_wmi_on_a_remote_computer.asp&e=9707

Additionally suggest bookmarking the wierd bald guy.....

http://www.microsoft.com/technet/scriptcenter/resources/qanda/hsgarch.mspx

.. and while your at it;

www.devdex.com (or www.developersdex.com)
www.aspfaq.com (mainly for ASP but can be quite useful for VBScript aswell)

and last but not least;

Planet Source Code - ASP/VBScript
http://surl.co.uk/?1482

Original URL:
http://www.planet-source-code.com/vb/scripts/BrowseCategoryOrSearchResults.asp?grpCategories=-1&optSort=DateDescending&txtMaxNumberOfEntriesPerPage=10&blnNewestCode=TRUE&blnResetAllVariables=TRUE&lngWId=4

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Joe Earnest" <jearnest3-SPAM@earthlink.net> wrote in message
news:#w1#PfRZFHA.228@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> "David F" <David-White@earthlink.net> wrote in message
> news:uk7b%236KZFHA.3488@tk2msftngp13.phx.gbl...
> >I was looking for the SHELLEXECUTE command and it is not mentioned in any
> >of
> > the books I have.
> > I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET Language"
> > Pocket reference book and other books, one which is called "The ULTIMATE
> > VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning
> > that
> > command. So who knows what else I am missing.
> >
> > Does anybody knows about a good, COMPLETE and well organized
> > (alphabetically
> > and categorized, etc. - which by definition excludes MSDN) reference
> > source
> > for both, VB and VBScript?
> >
> > Thanks,
> >
> > David
> >
>
> To put mayayana's response in a slightly different light --
>
> Since VBS can operate under a number of different hosts and is designed to
> call different COM objects to effect the substance of its operations, what
> you're asking for just doesn't exist.
>
> Scripting facilitates other operations. It is not intended to be an
> all-encompassing language. When used under different hosts, the objects,
> properties and methods of those hosts can be directly accessed. The
> number
> of both OS and third-party COM objects constantly changes and is different
> (to some degree) in both availability and specific implementation across
> different OSs, as well as on differently configured host computers. The
> script hosts also change in detail on a fairly continuous basis.
>
> The standard, and probably best, approach, is to get the basic WSH CHM
> file
> (for which Steve Burn has provided the link) for actual VBS operations and
> inherent objects. Then look up the information on the COM objects and
> hosts
> separately.
>
> There are books and e-documents out there that "try" to encompass
> different
> hosts or COM objects in different ways. A book on websites may include
> website-specific scripting, one on servers may incorporate server-specific
> scripting, etc. These types of references may consolidate some information
> in a specialized area.
>
> But things change. When you find COM references, they may likely be
> written
> to explain access from another language -- VB, C++, JS, .Net, etc.
>
> Here's the MSDN reference to Shell.Execute. It's under the
> IShellDispatch2
> object, since it's not available in the earlier versions of Shell --
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/objects/ishelldispatch2/shellexecute.asp
>
> MSDN IShellDispatch2 listing --
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/objects/ishelldispatch2/ishelldispatch2.asp
>
> MSDN "Shell Objects for Scripting and Visual Basic" listing --
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/objects/objects.asp
>
> You're right that MSDN is difficult to work through. It's generally a
> waste
> of time to search it. It's best thought of as a "sticky-note-pile" work
> in
> progress that contains both outdated and very current information
> (sometimes
> never implemented) covering so many languages, hosts and objects that when
> you find something, its likely not on the host or in the language you
> require. Very useful when needed, however, and probably the best
> accumulation around. My approach to it is to find and store key entry
> points and then work through the left-hand hierarchical listing.
>
> Joe Earnest
>
>
>



Re: Where to find a COMPLETE VBScript reference? by Steven

Steven
Mon May 30 10:52:07 CDT 2005

Your welcome ;o)

--=20
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Joe Earnest" <jearnest3-SPAM@earthlink.net> wrote in message =
news:e#DwyySZFHA.4088@TK2MSFTNGP15.phx.gbl...
> Hi Steven,
>=20
> [top post]
>=20
> Nice site references. (I had one but not the rest.)
>=20
> My Googling skills are not the best. I'll try your suggestion -- it =
looks=20
> promising.
>=20
> Thanks much,
> Joe Earnest
>=20
> "Steven Burn" <somewhere@in-time.invalid> wrote in message=20
> news:eQ9RLyRZFHA.2124@TK2MSFTNGP14.phx.gbl...
> > My approach to it is to find and store key entry
> > points and then work through the left-hand hierarchical listing.
>=20
> I generally use the following query in a search engine (typically =
Google=20
> (via Scroogle))
>=20
> <language> <query> [site:microsoft.com]
>=20
> For example;
>=20
> VBScript shellexecute site:microsoft.com
>=20
> This brings up the following at the top of the results;
>=20
> =
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/shellc=
c/platform/shell/reference/objects/ishelldispatch2/shellexecute.asp
>=20
> Or;
>=20
> VBScript (connect to remote computer) site:microsoft.com
>=20
> This brings up the following at the top of the results;
>=20
> =
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/connecting_to_wmi_on_a=
_remote_computer.asp&e=3D9707
>=20
> Additionally suggest bookmarking the wierd bald guy.....
>=20
> =
http://www.microsoft.com/technet/scriptcenter/resources/qanda/hsgarch.msp=
x
>=20
> .. and while your at it;
>=20
> www.devdex.com (or www.developersdex.com)
> www.aspfaq.com (mainly for ASP but can be quite useful for VBScript =
aswell)
>=20
> and last but not least;
>=20
> Planet Source Code - ASP/VBScript
> http://surl.co.uk/?1482
>=20
> Original URL:=20
> =
http://www.planet-source-code.com/vb/scripts/BrowseCategoryOrSearchResult=
s.asp?grpCategories=3D-1&optSort=3DDateDescending&txtMaxNumberOfEntriesPe=
rPage=3D10&blnNewestCode=3DTRUE&blnResetAllVariables=3DTRUE&lngWId=3D4
>=20
> --=20
> Regards
>=20
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>=20
> Keeping it FREE!
>=20
> "Joe Earnest" <jearnest3-SPAM@earthlink.net> wrote in message=20
> news:#w1#PfRZFHA.228@TK2MSFTNGP12.phx.gbl...
> > Hi,
> >
> > "David F" <David-White@earthlink.net> wrote in message
> > news:uk7b%236KZFHA.3488@tk2msftngp13.phx.gbl...
> > >I was looking for the SHELLEXECUTE command and it is not mentioned =
in any
> > >of
> > > the books I have.
> > > I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET =
Language"
> > > Pocket reference book and other books, one which is called "The =
ULTIMATE
> > > VB.Net" (the emphasis on "ultimate" is mine...). None is =
mentioning=20
> > > that
> > > command. So who knows what else I am missing.
> > >
> > > Does anybody knows about a good, COMPLETE and well organized
> > > (alphabetically
> > > and categorized, etc. - which by definition excludes MSDN) =
reference
> > > source
> > > for both, VB and VBScript?
> > >
> > > Thanks,
> > >
> > > David
> > >
> >
> > To put mayayana's response in a slightly different light --
> >
> > Since VBS can operate under a number of different hosts and is =
designed to
> > call different COM objects to effect the substance of its =
operations, what
> > you're asking for just doesn't exist.
> >
> > Scripting facilitates other operations. It is not intended to be an
> > all-encompassing language. When used under different hosts, the =
objects,
> > properties and methods of those hosts can be directly accessed. The =

> > number
> > of both OS and third-party COM objects constantly changes and is =
different
> > (to some degree) in both availability and specific implementation =
across
> > different OSs, as well as on differently configured host computers. =
The
> > script hosts also change in detail on a fairly continuous basis.
> >
> > The standard, and probably best, approach, is to get the basic WSH =
CHM=20
> > file
> > (for which Steve Burn has provided the link) for actual VBS =
operations and
> > inherent objects. Then look up the information on the COM objects =
and=20
> > hosts
> > separately.
> >
> > There are books and e-documents out there that "try" to encompass=20
> > different
> > hosts or COM objects in different ways. A book on websites may =
include
> > website-specific scripting, one on servers may incorporate =
server-specific
> > scripting, etc. These types of references may consolidate some =
information
> > in a specialized area.
> >
> > But things change. When you find COM references, they may likely be =

> > written
> > to explain access from another language -- VB, C++, JS, .Net, etc.
> >
> > Here's the MSDN reference to Shell.Execute. It's under the=20
> > IShellDispatch2
> > object, since it's not available in the earlier versions of Shell --
> >
> > =
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/shellc=
c/platform/shell/reference/objects/ishelldispatch2/shellexecute.asp
> >
> > MSDN IShellDispatch2 listing --
> >
> > =
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/shellc=
c/platform/shell/reference/objects/ishelldispatch2/ishelldispatch2.asp
> >
> > MSDN "Shell Objects for Scripting and Visual Basic" listing --
> >
> > =
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/shellc=
c/platform/shell/reference/objects/objects.asp
> >
> > You're right that MSDN is difficult to work through. It's generally =
a=20
> > waste
> > of time to search it. It's best thought of as a "sticky-note-pile" =
work=20
> > in
> > progress that contains both outdated and very current information=20
> > (sometimes
> > never implemented) covering so many languages, hosts and objects =
that when
> > you find something, its likely not on the host or in the language =
you
> > require. Very useful when needed, however, and probably the best
> > accumulation around. My approach to it is to find and store key =
entry
> > points and then work through the left-hand hierarchical listing.
> >
> > Joe Earnest
> >
> >
> >
>=20
>=20


Re: Where to find a COMPLETE VBScript reference? by mayayana

mayayana
Mon May 30 12:16:50 CDT 2005

I usually do it that way, too, except
without limiting it to Microsoft.com
because there are often good postings
on newsgroups, MVP sites, etc.

In any case, I would never go to MSDN
for something specific. Google is the only
thing that makes MSDN online usable. It's not
only hard to search MSDN, it's also very slow
and bloated. On my dialup it takes perhaps 20
seconds for a page to load. Given that it could
easily require10 pages to follow the link trail to
where I want to be, that's a completely unworkable
setup. I'm guessing that they've deliberately
spread it out so that people won't just download
the docs rather than buying the CD.

--
--
Steven Burn <somewhere@in-time.invalid> wrote in message
news:eQ9RLyRZFHA.2124@TK2MSFTNGP14.phx.gbl...
> My approach to it is to find and store key entry
> points and then work through the left-hand hierarchical listing.

I generally use the following query in a search engine (typically Google
(via Scroogle))

<language> <query> [site:microsoft.com]

For example;

VBScript shellexecute site:microsoft.com

This brings up the following at the top of the results;

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/shell/reference/objects/ishelldispatch2/shellexecute.asp

Or;

VBScript (connect to remote computer) site:microsoft.com

This brings up the following at the top of the results;

http://msdn.microsoft.com/library/en-us/wmisdk/wmi/connecting_to_wmi_on_a_re
mote_computer.asp&e=9707

Additionally suggest bookmarking the wierd bald guy.....

http://www.microsoft.com/technet/scriptcenter/resources/qanda/hsgarch.mspx

.. and while your at it;

www.devdex.com (or www.developersdex.com)
www.aspfaq.com (mainly for ASP but can be quite useful for VBScript aswell)

and last but not least;

Planet Source Code - ASP/VBScript
http://surl.co.uk/?1482

Original URL:
http://www.planet-source-code.com/vb/scripts/BrowseCategoryOrSearchResults.a
sp?grpCategories=-1&optSort=DateDescending&txtMaxNumberOfEntriesPerPage=10&b
lnNewestCode=TRUE&blnResetAllVariables=TRUE&lngWId=4

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Joe Earnest" <jearnest3-SPAM@earthlink.net> wrote in message
news:#w1#PfRZFHA.228@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> "David F" <David-White@earthlink.net> wrote in message
> news:uk7b%236KZFHA.3488@tk2msftngp13.phx.gbl...
> >I was looking for the SHELLEXECUTE command and it is not mentioned in any
> >of
> > the books I have.
> > I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET Language"
> > Pocket reference book and other books, one which is called "The ULTIMATE
> > VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning
that
> > command. So who knows what else I am missing.
> >
> > Does anybody knows about a good, COMPLETE and well organized
> > (alphabetically
> > and categorized, etc. - which by definition excludes MSDN) reference
> > source
> > for both, VB and VBScript?
> >
> > Thanks,
> >
> > David
> >
>
> To put mayayana's response in a slightly different light --
>
> Since VBS can operate under a number of different hosts and is designed to
> call different COM objects to effect the substance of its operations, what
> you're asking for just doesn't exist.
>
> Scripting facilitates other operations. It is not intended to be an
> all-encompassing language. When used under different hosts, the objects,
> properties and methods of those hosts can be directly accessed. The
number
> of both OS and third-party COM objects constantly changes and is different
> (to some degree) in both availability and specific implementation across
> different OSs, as well as on differently configured host computers. The
> script hosts also change in detail on a fairly continuous basis.
>
> The standard, and probably best, approach, is to get the basic WSH CHM
file
> (for which Steve Burn has provided the link) for actual VBS operations and
> inherent objects. Then look up the information on the COM objects and
hosts
> separately.
>
> There are books and e-documents out there that "try" to encompass
different
> hosts or COM objects in different ways. A book on websites may include
> website-specific scripting, one on servers may incorporate server-specific
> scripting, etc. These types of references may consolidate some information
> in a specialized area.
>
> But things change. When you find COM references, they may likely be
written
> to explain access from another language -- VB, C++, JS, .Net, etc.
>
> Here's the MSDN reference to Shell.Execute. It's under the
IShellDispatch2
> object, since it's not available in the earlier versions of Shell --
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/shell/reference/objects/ishelldispatch2/shellexecute.asp
>
> MSDN IShellDispatch2 listing --
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/shell/reference/objects/ishelldispatch2/ishelldispatch2.asp
>
> MSDN "Shell Objects for Scripting and Visual Basic" listing --
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/shell/reference/objects/objects.asp
>
> You're right that MSDN is difficult to work through. It's generally a
waste
> of time to search it. It's best thought of as a "sticky-note-pile" work
in
> progress that contains both outdated and very current information
(sometimes
> never implemented) covering so many languages, hosts and objects that when
> you find something, its likely not on the host or in the language you
> require. Very useful when needed, however, and probably the best
> accumulation around. My approach to it is to find and store key entry
> points and then work through the left-hand hierarchical listing.
>
> Joe Earnest
>
>
>




Re: Where to find a COMPLETE VBScript reference? by David

David
Mon May 30 17:23:43 CDT 2005

Many thanks for the very detailed response.

Since ShellExecute is only applicable to 2000/ME+, and I would like it to be
applicable to all Windows since 95 (or 98 at least), I should revise my
question. ShellExecute was offered to me by someone that apparently did not
know the limitation of its documentation and portability.
My original problem is as follows:
I have an application written in pure C++. I need to add to it a GUI. I was
thinking on using HTA technology for the GUI. My understanding is that I
would need to use in the web page VBScript to interact with the .EXE
(written in C++). By interact I mean either invoke from HD or communicate
with the .exe that is running in the memory in the background already. That
interface should be able to pass parameters and receive results from the
.EXE.

That is how ShellExecute came up. So my question then revert to that
original question.

Thanks again,

David


"mayayana" <mayaXXyana1a@mindYYspring.com> wrote in message
news:mZwme.10246$uR4.6387@newsread2.news.atl.earthlink.net...
> It's hard to find comprehensive coverage because
> there are various objects that are not strictly part of
> VBScript or WSH. WSHShell, for instance, was thrown
> in with WSH but is not a documented object for
> VBScript, so it doesn't show up in the VBScript
> CHM file. And Internet Explorer doesn't show up
> as part of either system, for that matter,
> even though it's scriptable. So it's not clear where to
> draw the line. If you want to script, say, Outlook or Word
> then you'd also want those docs, but the Word and
> Outlook object models are not part of VBS or WSH
> so they're not included with the VBS or WSH docs.
> You just have to know about them and hunt down the
> docs.
>
> ShellExecute is only in 2000/ME+ and is actually part
> of the Shell.Application object. Shell.Application should
> probably be documented as part of VBS and the WSH
> but for some reason it's not officially included.
>
> I think that MS originally just documented a few things
> that they thought people would use. VBScript started as
> a limited webpage scripting language and gradually
> got expanded to include system admin. functionality.
> That development doesn't seem to have been planned out.
> It just happened gradually out of necessity. Over time more
> scriptable objects were developed and more scripting was
> built into Windows, but it wasn't always officially connected
> with VBS or WSH. Only the objects like FSO and Dictionary,
> from SCRRUN.DLL, are officially part of VBScript.
>
> The ShellFolderView object, for instance, is a good
> example of a usable object that just doesn't happen to be
> officially considered to be part of VBS or WSH. There is very
> sparse documentation for it. It's scriptable and, except in XP where
> MS has cut off access to the system folder.htt file, the WebView
> is designed to be custom scriptable by the end user through the
> ShellfolderView object. But MS never really told anyone how to
> do that and they seem to have been ambivalent about making it
> available at all.
> (The ShellFolderView object itself is an awkward and somewhat
> limited object model to work with. If it wasn't for articles written by
> Dino Esposito the ShellFolderView might still be unknown,
> despite the fact that Windows has had a menu in every folder
> since 98 that offers the option to "Customize This Folder"
> by editing the ShellFolderView script in the system folder.htt
> file.)
>
> --
> --
> David F <David-White@earthlink.net> wrote in message
> news:uk7b#6KZFHA.3488@tk2msftngp13.phx.gbl...
> > I was looking for the SHELLEXECUTE command and it is not mentioned in
any
> of
> > the books I have.
> > I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET Language"
> > Pocket reference book and other books, one which is called "The ULTIMATE
> > VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning
that
> > command. So who knows what else I am missing.
> >
> > Does anybody knows about a good, COMPLETE and well organized
> (alphabetically
> > and categorized, etc. - which by definition excludes MSDN) reference
> source
> > for both, VB and VBScript?
> >
> > Thanks,
> >
> > David
> >
> >
>
>



Re: Where to find a COMPLETE VBScript reference? by David

David
Mon May 30 17:25:16 CDT 2005

Many thanks for the very detailed response.

Since ShellExecute is only applicable to 2000/ME+, and I would like it to be
applicable to all Windows since 95 (or 98 at least), I should revise my
question. ShellExecute was offered to me by someone that apparently did not
know the limitation of its documentation and portability.
My original problem is as follows:
I have an application written in pure C++. I need to add to it a GUI. I was
thinking on using HTA technology for the GUI. My understanding is that I
would need to use in the web page VBScript to interact with the .EXE
(written in C++). By interact I mean either invoke from HD or communicate
with the .exe that is running in the memory in the background already. That
interface should be able to pass parameters and receive results from the
.EXE.

That is how ShellExecute came up. So my question then revert to that
original question.

Thanks again,

David

"Joe Earnest" <jearnest3-SPAM@earthlink.net> wrote in message
news:%23w1%23PfRZFHA.228@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> "David F" <David-White@earthlink.net> wrote in message
> news:uk7b%236KZFHA.3488@tk2msftngp13.phx.gbl...
> >I was looking for the SHELLEXECUTE command and it is not mentioned in any
> >of
> > the books I have.
> > I have MS' "Windows 2000 Scripting Guide", O'Reilly's "VB.NET Language"
> > Pocket reference book and other books, one which is called "The ULTIMATE
> > VB.Net" (the emphasis on "ultimate" is mine...). None is mentioning
that
> > command. So who knows what else I am missing.
> >
> > Does anybody knows about a good, COMPLETE and well organized
> > (alphabetically
> > and categorized, etc. - which by definition excludes MSDN)