Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #488

Re: Redirecting VB script sub shell standard output

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!feeder.news.orange.fr!not-for-mail
From vincent.belaiche@gmail.com (Vincent Belaïche)
Newsgroups comp.lang.basic.visual.misc
Cc Vincent Belaïche <vincent.belaiche@gmail.com>
Subject Re: Redirecting VB script sub shell standard output
References <80zkh9rkje.fsf@gmail.com> <j780ob$3a3$1@speranza.aioe.org>
Date Fri, 14 Oct 2011 20:14:28 +0200
Message-ID <80ipnrcuez.fsf@gmail.com> (permalink)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)
Cancel-Lock sha1:HbAwD6mbTtkBaNxlQP+Km+thwLM=
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding 8bit
X-Antivirus avast! (VPS 111014-0, 14/10/2011), Outbound message
X-Antivirus-Status Clean
Lines 25
Organization les newsgroups par Orange
NNTP-Posting-Date 14 Oct 2011 20:14:28 CEST
NNTP-Posting-Host 92.135.113.85
X-Trace 1318616068 reader.news.orange.fr 30789 92.135.113.85:14538
X-Complaints-To abuse@orange.fr
Xref x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:488

Show key headers only | View raw


Eric Coleman <eric@strategon.com> writes:

> On 10/9/2011 3:12 PM, Vincent Belaïche wrote:
>> Hello,
>>
>> I am creating some sub shell object in the Visual basic script by
>>
>> Set objShell = WScript.CreateObject("WScript.Shell")
>>
>> And then I am executing some console application. I would like to
>> redirect the standard out of this console application to the standard
>> output of the calling visual basic script, but I am desesperate to find
>> how to do this.
>>
>> Any idea is welcome.
>>
>>     Vincent.
>>
>
> There is some code on planetsourcecode.com that shows you how to read data from the console. Just search for
> console' in the vb section, it's easy to find.

Thanks for the reference, I will have a look at it.

   Vincent.

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Find similar


Thread

Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-09 22:12 +0200
  Re: Redirecting VB script sub shell standard output Ron Weiner <NoOne@NoWare.NutThing> - 2011-10-09 18:01 -0400
    Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-10 08:02 +0200
      Re: Redirecting VB script sub shell standard output ralph <nt_consulting64@yahoo.net> - 2011-10-10 01:50 -0500
        Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-11 07:27 +0200
          Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-11 22:32 +0200
            Re: Redirecting VB script sub shell standard output Ron Weiner <NoOne@NoWare.NutThing> - 2011-10-11 21:04 -0400
              Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-14 20:37 +0200
                Re: Redirecting VB script sub shell standard output "Thorsten Albers" <gudea@gmx.de> - 2011-10-14 20:55 +0000
                Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-19 19:31 +0200
  Re: Redirecting VB script sub shell standard output ralph <nt_consulting64@yahoo.net> - 2011-10-09 21:45 -0500
  Re: Redirecting VB script sub shell standard output Eric Coleman <eric@strategon.com> - 2011-10-13 19:45 -0500
    Re: Redirecting VB script sub shell standard output vincent.belaiche@gmail.com (Vincent Belaïche) - 2011-10-14 20:14 +0200

csiph-web