473,772 Members | 3,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Log-display control

I was wondering if someone knew about a control for .NET that allows me
to display log messages from an application while it is running.

The following things are necessary:
- word-wrap
- clickable hyperlinks (preferrably able to send clicks on these to the
application as an event, but if not I can probably make due)
- images (for showing small glyphs for warnings, errors, etc.)
- formatting (like a few colors (red=error, etc.), bold, etc.)
- manage the scrollbar properly (for instance, if I'm vieweing the last
message, and resize the control, it would redraw to still show the last
message and not keep the topmost line visible after the resize)

The following things is on the nice-to-have list:
- display text coming up from the bottom, not start at the top of the screen
- flicker-free
- allow me to change the text for a line and thus replace the line in
the log (to display progress messages with a running status message)

I've looked at using a richtext control but it has a lot of things I
just need to replace, like the scrollbar handling, positioning of caret
(somehow the scroll-to-caret after positioning the caret at the end
after a resize puts the last line below the bottom of the control).

I thought about using the ActiproSoftware syntaxeditor control but of
course this one needs a syntax parser to handle the formatting, which
means that it reacts to visible text, not to hidden formatting codes.

I also thought about using a web browser control but I've yet to figure
out how to replace parts of the webpage and scroll the page to the new
message.

If anyone knows of such a beast, please give me a few pointers, or even
keywords to put into google as none I've tried seems to give me anything
like it.

--
Lasse Vågsæther Karlsen
http://usinglvkblog.blogspot.com/
mailto:la***@vk arlsen.no
PGP KeyID: 0x2A42A1C2
Nov 17 '05 #1
0 1630

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

Similar topics

16
2071
by: syncman | last post by:
In C, I would always make a log() function instead of using printfs, so that I could disable the messages or otherwise process them, all in one place. This worked in 1 line, for constant strings, but not for variable values, as in: char s; sprintf (s, "The value is %d \n", value); log (s); // 3 lines!! In C++, is it really as bad as it was? If I use streams: ostringstream oss;
7
2837
by: hank | last post by:
Hi All In the Circular Logging when the Primary Log file fill up, the database manager will creat a secondary log files for the transaction; when this transaction finished, the secondary log files still allocated in log directory; when all application disconnect from database or database reactive or database restart the secondary log files will be deleted from log directory. For each transaction log request, database manager always...
4
12458
by: hype | last post by:
Hi, How can I find out how much space has been used in the log file and how much of it is free or yet to be used ? Thanks, Hype
13
3576
by: Lew | last post by:
Hi, I am a bit confused about what I'm seeing on my systems. I am trying to develop a script that will determine what percentage of the total log space is being used. If it is too high (80%) the on-call DBA will be paged. First some system information: get db cfg for ip0 First active log file = S0055850.LOG
2
4108
by: nek | last post by:
Greetings, I tried to implement log shipping using PULL method as described in 'The Basics of DB2 Log Shipping' by Dale McInnis, but found the subsequent "rollforward" did not go beyond the first log. Here is what I did: 2 machines: Primary and standby servers both W2K SP4 running DB2 8.2. Both have logretain (YES) and USEREXIT (ON) set.
0
1848
by: mqsash | last post by:
Hi, I have a simple C# assembly ( .dll ) which I deployed through an HTML.The complete assembly is as simple as this using System; using System.Windows.Forms; namespace testAssemblyNS { public class Class1
1
2148
by: Hubert Fröhlich | last post by:
Hi list, when doing a large Insert I get in the logfile: 2004-08-03 07:23:46 LOG: recycled transaction log file "000001BA000000BD" 2004-08-03 07:34:00 LOG: recycled transaction log file "000001BA000000C2" 2004-08-03 07:34:00 LOG: recycled transaction log file "000001BA000000C3" 2004-08-03 07:34:00 LOG: recycled transaction log file "000001BA000000C4" 2004-08-03 07:34:00 LOG: recycled transaction log file "000001BA000000C5"...
4
13224
by: yashgt | last post by:
Hi, We have created a SQL server 2000 database. We observe that the transaction log keeps growing over time. We are now about to run out of space. We have been periodically shrinking the database. Nevertheless the size has increased. I would imagine that a transaction log can be eliminated if we stop the database. Can that be done? Is there a way to completely wipe off the transaction log? Thanks,
0
4444
by: Pratchaya | last post by:
In my.cnf i add these lines ####### log-bin log-slow-queries = /var/log/mysqld-slow.log long_query_time=1 #######
2
10915
by: mezise | last post by:
Posted by Pratchaya: ------------------------------------------------------ MySQL Slow Log ERROR In my.cnf i add these lines ####### log-bin log-slow-queries = /var/log/mysqld-slow.log
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10104
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8934
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7460
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.