Click here to Skip to main content
15,902,492 members
Home / Discussions / C#
   

C#

 
GeneralRe: Amazon API and C# Pin
tonyonlinux2-Jul-10 18:39
tonyonlinux2-Jul-10 18:39 
QuestionChange Row background color based by cell value Pin
grmihel22-Jul-10 5:14
grmihel22-Jul-10 5:14 
AnswerRe: Change Row background color based by cell value Pin
Henry Minute2-Jul-10 7:07
Henry Minute2-Jul-10 7:07 
AnswerRe: Change Row background color based by cell value Pin
Henry Minute2-Jul-10 8:37
Henry Minute2-Jul-10 8:37 
GeneralRe: Change Row background color based by cell value [modified] Pin
grmihel25-Jul-10 0:43
grmihel25-Jul-10 0:43 
GeneralRe: Change Row background color based by cell value Pin
Henry Minute5-Jul-10 3:34
Henry Minute5-Jul-10 3:34 
GeneralRe: Change Row background color based by cell value Pin
grmihel26-Jul-10 3:27
grmihel26-Jul-10 3:27 
QuestionI want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 5:03
professionalNagy Vilmos2-Jul-10 5:03 
We have a utility that we use for analysing log files created by our app.
As it works currently, there is a list of log items and based on a filter [not important] we want to display them.

I use a string builder to populate a rich text box, something like this:
StringBuilder sb = new sb();
foreach (LogItem item in logFile)
{
  if (item.Show(filter))
  {
    sb.Append(item.FullDescription);
  }
}
rtf.Text = sb.ToString();
}


I now need a bit more than just text. I'm thinking along the lines of using some rtf markup (can I?) to annotate the text so that when the user clicks on somewhere in the displayed text, I can retrieve the message number. This is to support some extended things[tm] where I need access to the underlying item from the file.

I'm using rtf so that we can copy the text easily into other documents and I don't really want to loose that ability. It may also be worth noting that some of these files can get rather large ~200MB and the displayed text gets rebuilt regularly - or with a bit of fudging it could be amended.

Any help and I'll send you a free badger!


Panic, Chaos, Destruction.
My work here is done.


or "Drink. Get drunk. Fall over." - P O'H

AnswerRe: I want a Clever Text Display Pin
R. Giskard Reventlov2-Jul-10 5:12
R. Giskard Reventlov2-Jul-10 5:12 
AnswerRe: I want a Clever Text Display Pin
OriginalGriff2-Jul-10 5:32
mveOriginalGriff2-Jul-10 5:32 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 5:46
professionalNagy Vilmos2-Jul-10 5:46 
AnswerRe: I want a Clever Text Display Pin
OriginalGriff2-Jul-10 5:33
mveOriginalGriff2-Jul-10 5:33 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 5:47
professionalNagy Vilmos2-Jul-10 5:47 
GeneralRe: I want a Clever Text Display Pin
OriginalGriff2-Jul-10 5:54
mveOriginalGriff2-Jul-10 5:54 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 7:14
professionalNagy Vilmos2-Jul-10 7:14 
AnswerRe: I want a Clever Text Display Pin
Luc Pattyn2-Jul-10 7:03
sitebuilderLuc Pattyn2-Jul-10 7:03 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 7:12
professionalNagy Vilmos2-Jul-10 7:12 
GeneralRe: I want a Clever Text Display Pin
Luc Pattyn2-Jul-10 7:20
sitebuilderLuc Pattyn2-Jul-10 7:20 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 10:53
professionalNagy Vilmos2-Jul-10 10:53 
GeneralRe: I want a Clever Text Display Pin
Luc Pattyn2-Jul-10 11:31
sitebuilderLuc Pattyn2-Jul-10 11:31 
GeneralRe: I want a Clever Text Display Pin
Nagy Vilmos2-Jul-10 21:44
professionalNagy Vilmos2-Jul-10 21:44 
GeneralRe: I want a Clever Text Display Pin
Mycroft Holmes2-Jul-10 22:31
professionalMycroft Holmes2-Jul-10 22:31 
QuestionCross Platform C#.NET Application Development [modified] Pin
LazyDragonfist2-Jul-10 5:02
LazyDragonfist2-Jul-10 5:02 
AnswerRe: Cross Platform C#.NET Application Development Pin
Richard MacCutchan2-Jul-10 5:09
mveRichard MacCutchan2-Jul-10 5:09 
GeneralRe: Cross Platform C#.NET Application Development Pin
LazyDragonfist2-Jul-10 5:38
LazyDragonfist2-Jul-10 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.