Click here to Skip to main content
15,888,133 members
Home / Discussions / C#
   

C#

 
GeneralRe: StreamReader timeout? Pin
Ravi Bhavnani2-Jan-06 12:22
professionalRavi Bhavnani2-Jan-06 12:22 
GeneralRe: StreamReader timeout? Pin
Dave Kreskowiak2-Jan-06 14:59
mveDave Kreskowiak2-Jan-06 14:59 
GeneralRe: StreamReader timeout? Pin
Ravi Bhavnani2-Jan-06 15:05
professionalRavi Bhavnani2-Jan-06 15:05 
GeneralRe: StreamReader timeout? Pin
Dave Kreskowiak2-Jan-06 16:52
mveDave Kreskowiak2-Jan-06 16:52 
GeneralRe: StreamReader timeout? Pin
Ravi Bhavnani2-Jan-06 16:56
professionalRavi Bhavnani2-Jan-06 16:56 
QuestionExecute shell command in c# Pin
jbu202-Jan-06 7:01
jbu202-Jan-06 7:01 
AnswerRe: Execute shell command in c# Pin
Ravi Bhavnani2-Jan-06 9:40
professionalRavi Bhavnani2-Jan-06 9:40 
QuestionCustomizing A Setup Project Pin
TofuBug242-Jan-06 6:15
TofuBug242-Jan-06 6:15 
I've got (what I think is a simple) problem.
To which (I fear is not so simple) to fix.

Currently I am trying to configure a setup project for my current solution (written using VS 2005 TS) now my solution consists of two or more projects (not including the setup project of course) I say two or more projects because my solution houses at the moment 2 VSTO designed word documents that are coded to pull information from a database fill in the blanks and print out the resulting document and close word automatically, I still have several Excel spreadsheets to code so the project list will grow.

Now to access each of the word "documents" the Main project has a Process object that has it's properties set to point to the required word document. the program simply runs the process and each document handles closing itself and word automaticaly. right now the two documents full path locations including the document file name are stored in two string constants in the main programs .config file.

under VS each of the two string constants are pointing to the ..\bin\release\"Document".doc under each word document's project folder

Now my setup project at the moment has all the outputs from each project installed into the same folder under Program Files (which is just fine by me it's not that complicated to warrant sub folders)

Now the problem lies in the fact that now the required document are no longer located where the .config file constants say they should be (they will be in the installion folder). Now I understand that any .config file under .net is XML and as such reading and writing to it should be as simple as reading and righting to a DB table my problem is how do I get my setup project to change the .config file's constants to point to the installed documents new locations.



Ryan

Data error reading Common Sense
Abort,Retry,Ignore,Fail?iiiiiiii
AnswerRe: Customizing A Setup Project Pin
S. Akif Kamal2-Jan-06 19:46
S. Akif Kamal2-Jan-06 19:46 
GeneralRe: Customizing A Setup Project Pin
TofuBug244-Jan-06 21:30
TofuBug244-Jan-06 21:30 
QuestionProblems with crystal report in vs2005? Pin
Joseph Robert2-Jan-06 5:45
Joseph Robert2-Jan-06 5:45 
QuestionFinding the changed subkey under a particular registrykey Pin
rakesh_nits2-Jan-06 4:04
rakesh_nits2-Jan-06 4:04 
QuestionSecurity Exception Pin
zt.Prog2-Jan-06 2:09
zt.Prog2-Jan-06 2:09 
AnswerRe: Security Exception Pin
Colin Angus Mackay2-Jan-06 4:14
Colin Angus Mackay2-Jan-06 4:14 
QuestionEmail Notification Pin
MalikRizwan2-Jan-06 1:10
MalikRizwan2-Jan-06 1:10 
AnswerRe: Email Notification Pin
PrakashBhaskar2-Jan-06 1:23
PrakashBhaskar2-Jan-06 1:23 
GeneralRe: Email Notification Pin
MalikRizwan2-Jan-06 1:36
MalikRizwan2-Jan-06 1:36 
GeneralRe: Email Notification Pin
PrakashBhaskar2-Jan-06 1:41
PrakashBhaskar2-Jan-06 1:41 
GeneralRe: Email Notification Pin
MalikRizwan2-Jan-06 1:46
MalikRizwan2-Jan-06 1:46 
GeneralRe: Email Notification Pin
PrakashBhaskar2-Jan-06 1:53
PrakashBhaskar2-Jan-06 1:53 
GeneralRe: Email Notification Pin
MalikRizwan2-Jan-06 2:03
MalikRizwan2-Jan-06 2:03 
AnswerRe: Email Notification Pin
S. Senthil Kumar2-Jan-06 4:19
S. Senthil Kumar2-Jan-06 4:19 
QuestionReading Config File in .Net 2.0 Pin
rnvrnv2-Jan-06 1:06
rnvrnv2-Jan-06 1:06 
AnswerRe: Reading Config File in .Net 2.0 Pin
Guffa2-Jan-06 1:17
Guffa2-Jan-06 1:17 
GeneralRe: Reading Config File in .Net 2.0 Pin
rnvrnv2-Jan-06 1:24
rnvrnv2-Jan-06 1:24 

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.