forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


PIPE problems

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Mon Oct 20, 2003 12:42 pm    Post subject: PIPE problems Reply with quote

I posted this question a couple of months ago, and have still not found a solution, so I thought I would try again:

In my apps I run several small "utility" programs that return some information from some database files. It is similar to doing a command-line SQL statement, and the output is returned via standard output or to a text file.

Currently, I am having it returned to a text file, and I then load that file to a list and manipulate the data that way. It works well, and is fast.

With VDS5, it seems I could do it much cleaner and neater using the PIPE parameter of the RUN command. However, it seems to be limited as to how much data it can return or how much @PIPE() can display. Using the Pipetest demo that comes with VDS5, you can test it by running the DIR command on a directory with lots of files - it will just return the first part of the Directory listing. (For example, I ran it on a directory with several hundred files and it only returned the files that began "A" through "D".)

I have adjusted the WAIT parameter, and have left that parameter off. Nothing seems to affect the maximum it can display.

Any ideas?

_________________
Joe Floyd
Back to top
View user's profile Send private message
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Tue Oct 21, 2003 1:04 pm    Post subject: Reply with quote

Anyone? Anyone? Laughing
_________________
Joe Floyd
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Oct 21, 2003 1:53 pm    Post subject: Reply with quote

just to let you know that i read your post and that i can't help you...sorry Sad

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Oct 21, 2003 2:40 pm    Post subject: Reply with quote

I really doubt if PIPE thing is going to be "fixed" as it is going to be flaky anyway.
You may run the DOS window hidden/
You may look for alternatives using console API functions to get the text.
I think mindpower was doing some work on that.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Tue Oct 21, 2003 3:27 pm    Post subject: Reply with quote

Hi All,
The work I was doing was to turn your VDS Exe into a Win32 Console application. Which it was successful Smile The DSU I developed would actually allocate a console window for your VDS Exe and had several functions to let you manipulate that console window. I had built a simple console Compiler that would use VDS'es IDE automation to compile your source code into a Win32 console Exe. Once your VDS Exe is a Win32 console app then any other console application that you ran would run in the same console screen that your VDS Console Exe allocated. This is not the same as using Pipes. The DSU and Console compiler had no reason to use Pipes because it made your VDS Exe a Win32 console application so all output is directed to the single console window of the VDS Exe so you could scrape the console screen and use any of the text if you wanted to.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Tue Oct 21, 2003 3:35 pm    Post subject: Reply with quote

Thanks for the replies -

It's too bad I won't be able to use that - it would be great for running little "utility" apps that fit well for my purposes.

I run the programs hidden now and the user's experience is transparent as to the whole process. Just trying to make it even smoother ...

Thanks again.

_________________
Joe Floyd
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group