FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Best way to display status prompt from a running program

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
jicman



Joined: 22 Dec 2004
Posts: 298
Location: Rochester, NY

PostPosted: Thu Nov 29, 2007 11:23 pm    Post subject: Best way to display status prompt from a running program Reply with quote

Greetings.

I am running a sub and I would like to display the output as it happens. For example, something like this,

Quote:
--> Starting RNFiles run at Thu Nov 29, 2007 14:37:46
--> Searching directory T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-U
S2nl-NL-TM
--> Working with name strings [iGen3-SW]
--> Date n time is Thu Nov 29, 2007 14:37:46
--> Local Hostname is JICMAN
--> Program Version is 1.0.38
--> Getting files from T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-
US2nl-NL-TM
--> Found 5 files to be renamed.
Thu Nov 29, 2007 14:37:46
20071129143746


FROM: T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW-v2007.09.10-en-US2nl-NL-TM.iix
Creation Time: Mon Sep 10, 2007 09:45:26
Modified Time: Mon Sep 10, 2007 09:45:26
Actual Time : Thu Nov 29, 2007 14:37:46
--> Working with file T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW-v2007.09.10-en-US2nl-NL-TM.iix
--> Using File Creation Time = Mon Sep 10, 2007 09:45:26
--> T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW-v2007.09.10-en-US2nl-NL-TM.iix new name is iGen3-SW
TO : T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW_en-US_nl-NL_v2007.09.10_TM.iix


FROM: T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW-v2007.09.10-en-US2nl-NL-TM.mdf
TO : T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW_en-US_nl-NL_v2007.09.10_TM.mdf


FROM: T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW-v2007.09.10-en-US2nl-NL-TM.mtf
TO : T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW_en-US_nl-NL_v2007.09.10_TM.mtf


FROM: T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW-v2007.09.10-en-US2nl-NL-TM.mwf
TO : T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW_en-US_nl-NL_v2007.09.10_TM.mwf


FROM: T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW-v2007.09.10-en-US2nl-NL-TM.tmw
TO : T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM\iGen3-SW_en-US_nl-NL_v2007.09.10_TM.tmw
dn=iGen3-SW_en-US_nl-NL_v2007.09.10_TM
nf=T:\Projects\_TMs\iGen3-TMs\sw
T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW_en-US_nl-NL_v2007.09.10_TM
T:\Projects\_TMs\iGen3-TMs\sw\iGen3-SW-v2007.09.10-en-US2nl-NL-TM
--> Ending RNFiles run at Thu Nov 29, 2007 14:37:46
======== ======== ======== ======== ======== ========


and I would like to have this displayed as it happens. I was thinking in using the listview, but I am not sure.

Any suggestions? Also, I may want to copy and paste this data.

thanks,

jic
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Fri Nov 30, 2007 10:05 am    Post subject: Re: Best way to display status prompt from a running program Reply with quote

How about a ListBox and using the clipboard stuff with your own context menu? I've written a log viewer like this before but don't know where the code is.
Back to top
View user's profile Send private message
jicman



Joined: 22 Dec 2004
Posts: 298
Location: Rochester, NY

PostPosted: Fri Nov 30, 2007 11:25 am    Post subject: Reply with quote

thanks. It makes sense...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group