473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Creating a file with panel contents

Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?

Thanks,

Jeff
Jun 27 '08 #1
4 1160
On Apr 24, 10:36 am, Miner Jeff <jeff.p.bled...@lmco.comwrote:
Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?

Thanks,

Jeff
Define "Panel activity"
Jun 27 '08 #2
On Apr 24, 11:20*am, Christopher <cp...@austin.rr.comwrote:
On Apr 24, 10:36 am, Miner Jeff <jeff.p.bled...@lmco.comwrote:
Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?
Thanks,
Jeff

Define "Panel activity"
I mean all the text that is written to the panel: operator prompts,
entries by the operator, and results.
Jun 27 '08 #3
On Apr 24, 4:10 pm, Miner Jeff <jeff.p.bled...@lmco.comwrote:
On Apr 24, 11:20 am, Christopher <cp...@austin.rr.comwrote:
On Apr 24, 10:36 am, Miner Jeff <jeff.p.bled...@lmco.comwrote:
Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?
Thanks,
Jeff
Define "Panel activity"

I mean all the text that is written to the panel: operator prompts,
entries by the operator, and results.
You description is still pretty ambiguous.
On one hand a "panel" could be some UI element of a particular
application, on the other you might be referring to the text that
appears in your console. In the former case, it depends on your UI
library and is most likely something specific to your appliciation. In
the latter case you can use pipes (at least in a *nix based system,
not sure if the cmd window in Windows supports pipes). You can google
"Piping IO". You could also, if your application is simple, copy
everything that streams to cout, to an fstream.

Jun 27 '08 #4
On Apr 24, 5:16*pm, Christopher <cp...@austin.rr.comwrote:
On Apr 24, 4:10 pm, MinerJeff<jeff.p.bled...@lmco.comwrote:
On Apr 24, 11:20 am, Christopher <cp...@austin.rr.comwrote:
On Apr 24, 10:36 am, MinerJeff<jeff.p.bled...@lmco.comwrote:
Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?
Thanks,
Jeff
Define "Panel activity"
I mean all the text that is written to the panel: operator prompts,
entries by the operator, and results.

You description is still pretty ambiguous.
On one hand a "panel" could be some UI element of a particular
application, on the other you might be referring to the text that
appears in your console. In the former case, it depends on your UI
library and is most likely something specific to your appliciation. In
the latter case you can use pipes (at least in a *nix based system,
not sure if the cmd window in Windows supports pipes). You can google
"Piping IO". You could also, if your application is simple, copy
everything that streams to cout, to an fstream.
I had inherited the code and hadn't noticed that a logfile (containing
the contents of the console) was already being created. Thanks for the
input.

Jeff
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company...
2
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company...
0
by: Ghada Ayed via DotNetMonster.com | last post by:
hi, is there anybody know how to save the contents of a panel (which contain a mathematical graph) as a bitmap image file. plz it is very important to me, i need a quick help waiting for...
7
by: mike | last post by:
Hi, I am having difficulty in creating a thread using pthread_create. It seems that pthread_create does not execute 'program', and returns -1; I have checked the API but I am not sure why this...
2
by: DaWoE | last post by:
Hi all, I'm fairly new to ASP.NET. What i want to do is creat a online registration form. On the first step is getting the users details and the number of people he wants to register. Based on...
6
by: Sushil Prasad | last post by:
I am having problem in displaying the compiled help file. In asp.net app I have link button labeled help. On the users click of this button i do the respose.redirect to the url of the .chm file....
0
by: .nu | last post by:
#!/usr/bin/env python # -*- coding: utf-8 -*- # Name: Sleepy Hollow # Author: .nu import wx import os import sys
0
by: linuxos | last post by:
I'm newbie in C# . I need some help: 1. i want to save the contents (lines, circles, other) of a panel to a bmp/jpg file in C#. 2. i want to print the contents of that panel i'm drawing on that...
2
by: Reggie | last post by:
Hi and TIA! I have a class file located in my root directory with all me web pages. I call/use the class and it works fine. I have no imports statements aspx or codebehind. My question is why? ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.