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

C#

 
GeneralRe: converting byte[] to string Pin
Christian Graus13-Jun-05 14:47
protectorChristian Graus13-Jun-05 14:47 
GeneralC# Modal Dialog returns too quickly Pin
Glenn E. Lanier II13-Jun-05 11:37
Glenn E. Lanier II13-Jun-05 11:37 
GeneralRe: C# Modal Dialog returns too quickly Pin
Christian Graus13-Jun-05 12:33
protectorChristian Graus13-Jun-05 12:33 
GeneralRe: C# Modal Dialog returns too quickly Pin
Glenn E. Lanier II14-Jun-05 4:38
Glenn E. Lanier II14-Jun-05 4:38 
GeneralRe: C# Modal Dialog returns too quickly Pin
Robert Rohde13-Jun-05 19:39
Robert Rohde13-Jun-05 19:39 
GeneralRe: C# Modal Dialog returns too quickly Pin
Glenn E. Lanier II14-Jun-05 4:40
Glenn E. Lanier II14-Jun-05 4:40 
QuestionCan someone point me to some nice clean search and replace code? Pin
ArchKaine13-Jun-05 11:24
ArchKaine13-Jun-05 11:24 
AnswerRe: Can someone point me to some nice clean search and replace code? Pin
Christian Graus13-Jun-05 12:36
protectorChristian Graus13-Jun-05 12:36 
The string class has search and replace methods, that is, if your text is one big string, you can use the replace method to do search and replace, or you can use other methods to find the strings without replacing.

I'm not sure how to iterate through all documents in an MDI app, but I'm sure google can help here.

The easiest way to do undo is to make a copy of your document in memory before each action and push them on to a stack. If you want to only store the differences between documents to save memory ( no need with text, I would think ), then you need to get a little more complex.


Christian Graus - Microsoft MVP - C++
GeneralRe: Can someone point me to some nice clean search and replace code? Pin
Luis Alonso Ramos13-Jun-05 14:16
Luis Alonso Ramos13-Jun-05 14:16 
GeneralRe: Can someone point me to some nice clean search and replace code? Pin
ArchKaine14-Jun-05 11:42
ArchKaine14-Jun-05 11:42 
GeneralRe: Can someone point me to some nice clean search and replace code? Pin
Luis Alonso Ramos14-Jun-05 12:38
Luis Alonso Ramos14-Jun-05 12:38 
GeneralRe: Can someone point me to some nice clean search and replace code? Pin
ArchKaine14-Jun-05 11:45
ArchKaine14-Jun-05 11:45 
GeneralRe: Can someone point me to some nice clean search and replace code? Pin
Christian Graus14-Jun-05 13:52
protectorChristian Graus14-Jun-05 13:52 
Generalfonts Pin
dizzybinty13-Jun-05 11:17
dizzybinty13-Jun-05 11:17 
GeneralRe: fonts Pin
Werdna13-Jun-05 19:26
Werdna13-Jun-05 19:26 
Questiongetting table schema info in ADO .NET? Pin
Jason Manfield13-Jun-05 11:16
Jason Manfield13-Jun-05 11:16 
AnswerRe: getting table schema info in ADO .NET? Pin
Luis Alonso Ramos13-Jun-05 14:20
Luis Alonso Ramos13-Jun-05 14:20 
QuestionIs there a spawnlp function in c#? Pin
adonisv13-Jun-05 10:26
adonisv13-Jun-05 10:26 
AnswerRe: Is there a spawnlp function in c#? Pin
DavidNohejl13-Jun-05 10:59
DavidNohejl13-Jun-05 10:59 
GeneralRe: Is there a spawnlp function in c#? Pin
adonisv13-Jun-05 11:16
adonisv13-Jun-05 11:16 
GeneralRe: Is there a spawnlp function in c#? Pin
havyck14-Jun-05 9:00
havyck14-Jun-05 9:00 
GeneralOverride Items property in a list view Pin
Bikuni13-Jun-05 10:12
Bikuni13-Jun-05 10:12 
GeneralRe: Override Items property in a list view Pin
Daniel Monzert13-Jun-05 20:52
Daniel Monzert13-Jun-05 20:52 
GeneralRe: Override Items property in a list view Pin
Bikuni14-Jun-05 18:55
Bikuni14-Jun-05 18:55 
GeneralUsing Excel in C# and ASP.NET Pin
dgap13-Jun-05 10:08
dgap13-Jun-05 10:08 

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.