blah blah blah is here! blah blah » Close

0
votes
1 answers

C# Word Interop Search and Replace clears formatting?

foamy
2499

Hi all, Below is my code to do a search and replace through multiple files using Word Interop. The problem I'm facing is that the formatting (particularly paragraph and line spacing) gets reset when I use this code on my word file. Any h ...

0
votes
1 answers

Search and Replace

Hi guys. I really hope you can help. I would like a script which does the following: Imagine there is an xml file called file_test.xls with 4 columns Column A = contains a path name (example: C:\Desktop\Folder1\file_one.php) Column B = ...

0
votes
1 answers

string.Replace

q12
349

[code]string physicalFile = "a.txt"; string bBegin = "#ON_";//4 string bEnd = "#OFF."; string block1, bOut1; private void buttonLoad_Click(object sender, EventArgs e) { StreamR ...

0
votes
1 answers

Search/replace/remove/etc in an array with multiple items?

Is it possible to accomplish something like this? [code] byte[] bytes = new byte[] { 0x00, 0x01, 0x01, 0x05, 0xa0, 0xa1, 0x01, 0x01, 0x00, 0xa0, 0xa1, 0xa0, 0xa4, 0x00 }; // ...

1
votes
9 answers

ASP.NET Message Box, Replace "Message from webpage" to some other string

in ASP.NET, say we have some code something like this: protected void RasinBread_Button_Click(object sender, EventArgs e) { if (GlobalClass.RemainingStock() == 3) { Response.Write(&q ...

Feedback