🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: be.comp.programming
2 messages
2 total messages Started by Tom Discart Mon, 19 Aug 2002 07:58
Dos starten vanuit VB
#7679
Author: Tom Discart
Date: Mon, 19 Aug 2002 07:58
9 lines
1130 bytes
Hallo,

Ik zou vanuit VB een doscommando moeten uitvoeren.
Dit kan ik met shell.
Maar hoe krijg ik de return value in mijn vbapplicatie?

thx

Tom
Re: Dos starten vanuit VB
#7680
Author: Steven Op de beeck
Date: Mon, 19 Aug 2002 09:13
25 lines
1681 bytes
Tom Discart wrote:
> Hallo,
> 
> Ik zou vanuit VB een doscommando moeten uitvoeren.
> Dit kan ik met shell.
> Maar hoe krijg ik de return value in mijn vbapplicatie?
> 
> thx
> 
> Tom
> 
> 

Kijk eens naar de parameters van command.com (of cmd.exe in win2k/xp).
Was vroeger iets in het genre van "command.com /y /c dir"

die /c voerde uit en kwam terug denk ik en als je /k gebruikte dan voerde die 
uit en bleef die in de shell.
Maar dit best eens opzoeken.

-- 
(http://www.opdebeeck.org)

The two most abundant things in the universe are Hydrogren and stupidity.
             -- Harlan Ellison
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads