Click here to Skip to main content
15,890,506 members
Home / Discussions / C#
   

C#

 
GeneralString output in C# from a C++ dll Pin
vinayakdl4-Jan-05 12:29
vinayakdl4-Jan-05 12:29 
GeneralRe: String output in C# from a C++ dll Pin
Heath Stewart4-Jan-05 13:34
protectorHeath Stewart4-Jan-05 13:34 
GeneralRe: String output in C# from a C++ dll Pin
vinayakdl5-Jan-05 4:53
vinayakdl5-Jan-05 4:53 
GeneralRe: String output in C# from a C++ dll Pin
Heath Stewart5-Jan-05 7:04
protectorHeath Stewart5-Jan-05 7:04 
GeneralRe: String output in C# from a C++ dll Pin
vinayakdl6-Jan-05 9:55
vinayakdl6-Jan-05 9:55 
GeneralRe: String output in C# from a C++ dll Pin
Heath Stewart6-Jan-05 12:04
protectorHeath Stewart6-Jan-05 12:04 
GeneralHELP! Web secuirty ... Pin
mrwonkothesane424-Jan-05 11:38
mrwonkothesane424-Jan-05 11:38 
GeneralReplacing text Pin
Christer Claesson4-Jan-05 11:35
Christer Claesson4-Jan-05 11:35 
I have some documents stored on a server, I want to use these as a template and populate them with some infromation from a database.

At first I thought of automating Word, this worked nicely on my local machine when I tried it out as a normal winform. But then when I tried it on the webpage I got a "The message filter indicated that the application is busy" when I tried using it. I've looked around alot and found no solution for this, so I'm more or less ready to drop all the work I've done so far regarding this.(Iterated through bookmarks and replaced the text)

Now I've been thinking that Word 2003 is saved as XML, so perhaps I could replace text in that instead. In the Word file I have certain keywords I want to replace, for example User = @usr then I would like to replace @usr with something from the database.

Problem I have is that XML is a very big subject and I have problem figuring out if this is possible or not. I dont want to spend more days(wasted alot of days on learning how to automate word)if it is not possible(In a easy way).

So, anyone have any tips how I can do or tips on what I should read up on.

Or is it possible to use any other way of searching the text and replacing instances like that in a easier way?(We are talking about Word 2003 documents only, or if it is easy 2000 documents too)

GeneralSpecial Keyboard keys Pin
BertGo4-Jan-05 10:25
BertGo4-Jan-05 10:25 
GeneralRe: Special Keyboard keys Pin
Heath Stewart4-Jan-05 11:12
protectorHeath Stewart4-Jan-05 11:12 
GeneralRe: Special Keyboard keys Pin
BertGo4-Jan-05 13:00
BertGo4-Jan-05 13:00 
GeneralRe: Special Keyboard keys Pin
Heath Stewart4-Jan-05 13:29
protectorHeath Stewart4-Jan-05 13:29 
Generalstopping service via WMI Pin
thespiff4-Jan-05 8:36
thespiff4-Jan-05 8:36 
GeneralRe: stopping service via WMI Pin
Heath Stewart4-Jan-05 10:51
protectorHeath Stewart4-Jan-05 10:51 
GeneralRe: stopping service via WMI Pin
thespiff5-Jan-05 1:03
thespiff5-Jan-05 1:03 
GeneralRe: stopping service via WMI Pin
Heath Stewart5-Jan-05 4:50
protectorHeath Stewart5-Jan-05 4:50 
GeneralRe: stopping service via WMI Pin
thespiff6-Jan-05 2:19
thespiff6-Jan-05 2:19 
GeneralImplementing mouse panning functionality Pin
Andres Coder4-Jan-05 7:55
Andres Coder4-Jan-05 7:55 
GeneralRe: Implementing mouse panning functionality Pin
Heath Stewart4-Jan-05 11:30
protectorHeath Stewart4-Jan-05 11:30 
GeneralIs this acceptable practice Pin
Wayne Phipps4-Jan-05 7:54
Wayne Phipps4-Jan-05 7:54 
GeneralRe: Is this acceptable practice Pin
perlmunger4-Jan-05 8:41
perlmunger4-Jan-05 8:41 
QuestionHow To Serialize Multiples Refereces to The Same Object? Pin
fmarcos4-Jan-05 7:18
fmarcos4-Jan-05 7:18 
AnswerRe: How To Serialize Multiples Refereces to The Same Object? Pin
Matt Gerrans4-Jan-05 8:03
Matt Gerrans4-Jan-05 8:03 
GeneralLaunching Forms Dynamically Pin
SignMan3594-Jan-05 6:14
SignMan3594-Jan-05 6:14 
GeneralRe: Launching Forms Dynamically Pin
Nick Parker4-Jan-05 7:23
protectorNick Parker4-Jan-05 7:23 

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.