Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Re: Recherche news groupe FR pour problème VBS / Search news group FR problem VBS

Reply
 
Old 01-17-2009   #1 (permalink)
Christophe RIT [MS]


 
 

Re: Recherche news groupe FR pour problème VBS / Search news group FR problem VBS

Bonsoir,

Pourquoi ne pas cascader les scprits ? Par exemple :


Dim objShell, oExec, strCmd
Set objShell = CreateObject("WScript.Shell")


strcmd = "cscript test.vbs"
Set oExec = objShell.Exec(strCmd)

Do While oExec.Status = 0
' Attend la sortie du script test
WScript.Sleep 10
Loop

Une idée à prendre où à laisser qui m'est venue en 10 min Je vous laisse
juge de son application.

HTH,
C.


"Blaise Cacramp" <Devinez@xxxxxx> wrote in message
news:%23uZSaszdJHA.2400@xxxxxx
Quote:

> Bonjour ou bonsoir, selon.
>
> Je cherche pour un script VBS un moyen pour faire patienter un utilisateur
> lors d'une opération qui prend un certain temps (en l'occurence un mise à
> jour).
> Je pense au pointeur "hourglass" ou à un message sans devoir cliquer sur
> un "Ok".
>
> J'ai trouvé un magnifique code (que je place plus loin dans le fil) qui
> fonctionne parfaitement, sauf sur les postes de travail où l'utisateur n'a
> pas le droit de modifier la base de registre.
> Ce code n'est pas documenté / commenté.
>
> Pouvez-vous m'aider, un grand merci
>
> Literal translation (google)
> --------------------
> Hello or good, depending.
>
> I'm looking for a VBS script to wait a user during an operation which
> takes some time (in this case an update).
> I think the pointer "hourglass" or to a message without having to click on
> OK.
>
> I found a wonderful code (which I place later in the thread) which works
> perfectly, except for jobs where utisateur has no right to modify the
> registry.
> This code is not documented / commented.
>
> Can you help me, thank you
>
> Cdt, Blaise
> ---- ---- ----
>
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
All news folder in Live mail news reader Live Mail
How to adjust time to drop idle news connections? And more on news rules Vista mail
Re: Recherche news groupe FR pour problème VBS / Search news group FR problem VBS VB Script
Bad news for Microsoft, good news for Apple and Intel Vista General
news group Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46