How can I change a font size and type in a vbscript.
Thank you.

RE: Font Size and Type by anonymous

anonymous
Wed Jan 21 07:56:12 CST 2004

Do you mean in dialogs/messages/standar out or what?

Details my man.. Details....

RE: Font Size and Type by Joe

Joe
Wed Jan 21 08:19:30 CST 2004

I wrote a script that executes a text box at logon and I
wanted to increase the size of the font of the text that
appears.

>-----Original Message-----
>Do you mean in dialogs/messages/standar out or what??
>
>Details my man.. Details....
>.
>

Re: Font Size and Type by Michael

Michael
Wed Jan 21 21:20:15 CST 2004

Joe wrote:
> I wrote a script that executes a text box at logon and I
> wanted to increase the size of the font of the text that
> appears.


You have no control over the font used by MsgBox. You can automate an
instance of an InternetExpolrer.Application instance to show anything you
want. There are literally hundreds of examples of IE automation that have
been posted to the NGs (hardly a day goes by when one isn't)...

Here's just a small sampling courtesy of google ;-)...

Google Search: internetexplorer body innerhtml group:*.scripting
http://groups.google.com/groups?q=internetexplorer%20body%20innerhtml%20group:*.scripting&num=100&scoring=d


--
Michael Harris
Microsoft.MVP.Scripting

Windows 2000 Scripting Guide
Microsoft® Windows®2000 Scripting Guide
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp

TechNet Script Center Sample Scripts
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942

WSH 5.6 documentation download
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en


Re: Font Size and Type by Joe

Joe
Thu Jan 22 03:41:40 CST 2004

It's not a text box it's more like a window. Is it=20
possible to change the font size and type on the following=20
script:

Set objShell =3D CreateObject("Wscript.Shell")
objShell.Popup "Welcome" & vbCrLF & "This computer for=20
company use only",15, "Network Logon", vbOKOnly +=20
vbExclamation



>-----Original Message-----
>Joe wrote:
>> I wrote a script that executes a text box at logon and I
>> wanted to increase the size of the font of the text that
>> appears.
>
>
>You have no control over the font used by MsgBox. You=20
can automate an
>instance of an InternetExpolrer.Application instance to=20
show anything you
>want. There are literally hundreds of examples of IE=20
automation that have
>been posted to the NGs (hardly a day goes by when one=20
isn't)...
>
>Here's just a small sampling courtesy of google ;-)...
>
>Google Search: internetexplorer body innerhtml=20
group:*.scripting
>http://groups.google.com/groups?q=3Dinternetexplorer%20body%
20innerhtml%20group:*.scripting&num=3D100&scoring=3Dd
>
>
>--=20
>Michael Harris
>Microsoft.MVP.Scripting
>
>Windows 2000 Scripting Guide
>Microsoft=AE Windows=AE2000 Scripting Guide
>http://www.microsoft.com/technet/scriptcenter/scrguide/sag
sas_overview.asp
>
>TechNet Script Center Sample Scripts
>http://www.microsoft.com/downloads/release.asp?
ReleaseID=3D38942
>
>WSH 5.6 documentation download
>http://www.microsoft.com/downloads/details.aspx?
FamilyId=3D01592C48-207D-4BE1-8A76-
1C4099D7BBB9&displaylang=3Den
>
>.
>

Re: Font Size and Type by Ray

Ray
Thu Jan 22 07:53:48 CST 2004

This is all controlled by the user's display settings. (Like, in the
control panel.)

The title of the message box is the font size specified for "Active
Titlebar"
The font in the message is controlled by the "Messagebox" settings.

This is how it is in XP Pro, anyway.

Ray at work

"Joe" <anonymous@discussions.microsoft.com> wrote in message
news:21a501c3e0cb$efb33d30$a001280a@phx.gbl...
It's not a text box it's more like a window. Is it
possible to change the font size and type on the following
script:

Set objShell = CreateObject("Wscript.Shell")
objShell.Popup "Welcome" & vbCrLF & "This computer for
company use only",15, "Network Logon", vbOKOnly +
vbExclamation



Re: Font Size and Type by Joe

Joe
Thu Jan 22 08:29:30 CST 2004

Thank you very much and sorry openning another thread.


>-----Original Message-----
>This is all controlled by the user's display settings.
(Like, in the
>control panel.)
>
>The title of the message box is the font size specified
for "Active
>Titlebar"
>The font in the message is controlled by the "Messagebox"
settings.
>
>This is how it is in XP Pro, anyway.
>
>Ray at work
>
>"Joe" <anonymous@discussions.microsoft.com> wrote in
message
>news:21a501c3e0cb$efb33d30$a001280a@phx.gbl...
>It's not a text box it's more like a window. Is it
>possible to change the font size and type on the following
>script:
>
>Set objShell = CreateObject("Wscript.Shell")
>objShell.Popup "Welcome" & vbCrLF & "This computer for
>company use only",15, "Network Logon", vbOKOnly +
>vbExclamation
>
>
>.
>

Re: Font Size and Type by Ray

Ray
Thu Jan 22 08:34:04 CST 2004

Not a problem; it just makes things easier to follow for everyone.


Ray at work

"Joe" <anonymous@discussions.microsoft.com> wrote in message
news:26a101c3e0f4$25bcd440$a501280a@phx.gbl...
> Thank you very much and sorry openning another thread.
>
>
> >-----Original Message-----
> >This is all controlled by the user's display settings.
> (Like, in the
> >control panel.)
> >
> >The title of the message box is the font size specified
> for "Active
> >Titlebar"
> >The font in the message is controlled by the "Messagebox"
> settings.
> >
> >This is how it is in XP Pro, anyway.
> >
> >Ray at work
> >
> >"Joe" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:21a501c3e0cb$efb33d30$a001280a@phx.gbl...
> >It's not a text box it's more like a window. Is it
> >possible to change the font size and type on the following
> >script:
> >
> >Set objShell = CreateObject("Wscript.Shell")
> >objShell.Popup "Welcome" & vbCrLF & "This computer for
> >company use only",15, "Network Logon", vbOKOnly +
> >vbExclamation
> >
> >
> >.
> >