Click here to Skip to main content
15,893,190 members
Home / Discussions / C#
   

C#

 
GeneralRe: Printing any file using Shell Pin
Nader Elshehabi18-May-06 16:22
Nader Elshehabi18-May-06 16:22 
GeneralRe: Printing any file using Shell Pin
emran83418-May-06 16:48
emran83418-May-06 16:48 
GeneralRe: Printing any file using Shell Pin
Nader Elshehabi19-May-06 11:34
Nader Elshehabi19-May-06 11:34 
GeneralRe: Printing any file using Shell Pin
emran83419-May-06 21:52
emran83419-May-06 21:52 
GeneralRe: a question about SQL Pin
emran83420-May-06 20:03
emran83420-May-06 20:03 
GeneralRe: a question about SQL [modified] Pin
Nader Elshehabi21-May-06 11:27
Nader Elshehabi21-May-06 11:27 
GeneralRe: a question about SQL [modified] Pin
emran83425-May-06 13:13
emran83425-May-06 13:13 
AnswerRe: a question about SQL [modified] Pin
Nader Elshehabi28-May-06 5:05
Nader Elshehabi28-May-06 5:05 
I'm sorry I've replied Late, but I hope not too late.Smile | :)

This message appears when there is no connection between your application and SQL server. Not necessarily across a network. You must have realized that you need SQLExpress installed on the user's computer for your application to work. So your deployment project must include an install option to install SQLExpress Before installing your application. To do this, follow these steps:
1- Right click on the name of your deployment project in the Solution explorer
2- Click on the properties
3- Click on the "Prerequisites" Button.
4- Check the check box on top if this dialog, it should say "Create setup program to intstall..."
5- Now, in the list check on
a) Microsoft Data access components
b) .Net framework
c) Windows Installer
d) SQL server 2006 Express Edition
6- You should see three radio buttons in the lower part of the dialog. Check the meddle one.

Now pree OK and SQL express will be installed with your application Only if it's not already installed on the target computer. Notice that It will NOT be uninstalled after uninstalling your application. To do this you have to put it in the custom actions of your setup program.

This will work only if you have Visual Studio 2005. Steps on older versions are more complicated. If this doesn't work for any reason, I'm here for your next post.Smile | :)
GeneralRe: a question about SQL [modified] Pin
emran83428-May-06 18:09
emran83428-May-06 18:09 
AnswerRe: a question about SQL [modified] Pin
Nader Elshehabi29-May-06 13:22
Nader Elshehabi29-May-06 13:22 
QuestionHow to preserve line feed character in C# TextBox ? Pin
TinaQ16-May-06 12:53
TinaQ16-May-06 12:53 
AnswerRe: How to preserve line feed character in C# TextBox ? Pin
Office Lineman16-May-06 13:06
Office Lineman16-May-06 13:06 
AnswerRe: How to preserve line feed character in C# TextBox ? Pin
Christian Graus16-May-06 13:16
protectorChristian Graus16-May-06 13:16 
GeneralRe: How to preserve line feed character in C# TextBox ? Pin
TinaQ16-May-06 13:48
TinaQ16-May-06 13:48 
GeneralRe: How to preserve line feed character in C# TextBox ? Pin
Christian Graus16-May-06 14:00
protectorChristian Graus16-May-06 14:00 
GeneralRe: How to preserve line feed character in C# TextBox ? Pin
TinaQ16-May-06 14:08
TinaQ16-May-06 14:08 
QuestionHow to stop service from being stopped Pin
DUKEMAN16-May-06 11:22
DUKEMAN16-May-06 11:22 
AnswerRe: How to stop service from being stopped Pin
martin_hughes16-May-06 12:26
martin_hughes16-May-06 12:26 
AnswerRe: How to stop service from being stopped Pin
Albert Pascual16-May-06 12:55
sitebuilderAlbert Pascual16-May-06 12:55 
GeneralRe: How to stop service from being stopped Pin
DUKEMAN16-May-06 21:29
DUKEMAN16-May-06 21:29 
GeneralRe: How to stop service from being stopped Pin
thrakazog17-May-06 6:26
thrakazog17-May-06 6:26 
GeneralRe: How to stop service from being stopped Pin
Nader Elshehabi22-May-06 1:31
Nader Elshehabi22-May-06 1:31 
QuestionC# preprocessor variable for CLR version Pin
Rei Miyasaka16-May-06 11:09
Rei Miyasaka16-May-06 11:09 
AnswerRe: C# preprocessor variable for CLR version Pin
Nader Elshehabi16-May-06 11:57
Nader Elshehabi16-May-06 11:57 
GeneralRe: C# preprocessor variable for CLR version Pin
Rei Miyasaka16-May-06 12:01
Rei Miyasaka16-May-06 12:01 

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.