Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: Adding 2 Zeros after each byte in textbox Pin
harold aptroot16-Feb-10 8:34
harold aptroot16-Feb-10 8:34 
QuestionHow to read bounced mail custom header .net 1.1 (POP3 server) [modified] Pin
cshelva16-Feb-10 0:28
cshelva16-Feb-10 0:28 
QuestionHow to install .Net Framework with my C# application ? Pin
CoderForEver15-Feb-10 23:06
CoderForEver15-Feb-10 23:06 
AnswerRe: How to install .Net Framework with my C# application ? Pin
#realJSOP15-Feb-10 23:13
professional#realJSOP15-Feb-10 23:13 
QuestionRe: How to install .Net Framework with my C# application ? Pin
Wamuti16-Feb-10 0:52
Wamuti16-Feb-10 0:52 
AnswerRe: How to install .Net Framework with my C# application ? Pin
SeMartens16-Feb-10 0:56
SeMartens16-Feb-10 0:56 
AnswerRe: How to install .Net Framework with my C# application ? Pin
#realJSOP16-Feb-10 1:06
professional#realJSOP16-Feb-10 1:06 
GeneralRe: How to install .Net Framework with my C# application ? Pin
Mouldiwarp16-Feb-10 4:56
Mouldiwarp16-Feb-10 4:56 
I just spent a long time getting to the bottom of this one..... Nothing ever seems as simple as it should be.

Here is how I managed to do it,

When you add in the installer project into your solution, in the Solution explorer right click and view properites of the installer project. Take a look down the right hand side of the properties screen pop and you will see a 'Prerequisites' button.

On the pre-req screen you can add in or remove dependencies (I am building to .net 2.0 for some older clients), once you have selected the pre-req's you want check the radio button 'Download pre-req's from the same location as my application' then hit OK, then OK again to close the property page. At this point I save all files for the solution.

If you are installing an older version of .net with your app you also need to take a look at the dependencies under the installation project.

Expand the 'Detected Dependencies' container and double click 'Microsoft .net framework'. In the properties window beneath the solution explorer look at the version informaiton and select the appropriate version for your install (If you dont do this, the setup.exe bootstrap will install the older version of .net as a pre-req but the installer for your application will then error because it is expecting a newer version than has just been installed - the default on my system and I guess other VS 2008 systems is 3.5.21022).

Once you build the solution be sure to install from setup.exe and not the MSI.

I hope this helps, I found it very frustrating. (p.s. sorry if there are any spelling c**k ups... I have yet to install a HTML spellcheck utility on my work machine).
QuestionDisplaying Data in a DataGrid while still reading from the database Pin
hoernchenmeister15-Feb-10 22:41
hoernchenmeister15-Feb-10 22:41 
AnswerRe: Displaying Data in a DataGrid while still reading from the database Pin
OriginalGriff15-Feb-10 23:02
mveOriginalGriff15-Feb-10 23:02 
GeneralRe: Displaying Data in a DataGrid while still reading from the database Pin
hoernchenmeister15-Feb-10 23:15
hoernchenmeister15-Feb-10 23:15 
GeneralRe: Displaying Data in a DataGrid while still reading from the database Pin
OriginalGriff15-Feb-10 23:19
mveOriginalGriff15-Feb-10 23:19 
QuestionWord file read data without having word installed Pin
abcurl15-Feb-10 21:33
abcurl15-Feb-10 21:33 
AnswerRe: Word file read data without having word installed Pin
Richard MacCutchan15-Feb-10 22:11
mveRichard MacCutchan15-Feb-10 22:11 
QuestionRe: Word file read data without having word installed Pin
abcurl15-Feb-10 22:27
abcurl15-Feb-10 22:27 
AnswerMessage Closed Pin
15-Feb-10 22:35
stancrm15-Feb-10 22:35 
GeneralRe: Word file read data without having word installed Pin
abcurl15-Feb-10 22:38
abcurl15-Feb-10 22:38 
AnswerRe: Word file read data without having word installed Pin
Richard MacCutchan15-Feb-10 23:52
mveRichard MacCutchan15-Feb-10 23:52 
QuestionNeed Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
MBGustavo15-Feb-10 19:34
MBGustavo15-Feb-10 19:34 
AnswerRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
#realJSOP15-Feb-10 23:18
professional#realJSOP15-Feb-10 23:18 
GeneralRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
MBGustavo16-Feb-10 9:16
MBGustavo16-Feb-10 9:16 
GeneralRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
darkelv16-Feb-10 15:51
darkelv16-Feb-10 15:51 
AnswerRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
Not Active15-Feb-10 23:38
mentorNot Active15-Feb-10 23:38 
GeneralRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
MBGustavo16-Feb-10 9:20
MBGustavo16-Feb-10 9:20 
GeneralRe: Need Sample: MDI with TreeView loaded from database... check TreeView and open coresponding Form. Pin
MBGustavo16-Feb-10 9:43
MBGustavo16-Feb-10 9:43 

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.