The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
Chip OrangeSubject:
a question about how automation programmingDate:
Sat, Oct 23, 2010 10:24:56 pmHi GW or anyone else,
I have a question about programming MS Word using automation: in my VBA
programs I sometimes have to use a set of enumerated constants whose names
begin with MSO...
when I checked the object viewer, I see these come from the "microsoft
office 11.0 object library" and not the microsoft word application, as do
all the other constants (whose names all begin with wd...).
I can access the constants from Word using the VBScript loadClassInformation
command easily enough; however, I have not found a way to use the constants
from the object library (mso.dll).
I see many examples of how to do this in .net using a specific interop
assembly (I think it's called), but I can't find any way of doing it using
VBScript.
Does anyone know if there's an object I might create, so that I might use
loadClassInformation to get to these constants?
thanks.
Chip
I have a question about programming MS Word using automation: in my VBA
programs I sometimes have to use a set of enumerated constants whose names
begin with MSO...
when I checked the object viewer, I see these come from the "microsoft
office 11.0 object library" and not the microsoft word application, as do
all the other constants (whose names all begin with wd...).
I can access the constants from Word using the VBScript loadClassInformation
command easily enough; however, I have not found a way to use the constants
from the object library (mso.dll).
I see many examples of how to do this in .net using a specific interop
assembly (I think it's called), but I can't find any way of doing it using
VBScript.
Does anyone know if there's an object I might create, so that I might use
loadClassInformation to get to these constants?
thanks.
Chip


