Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use bytes in bytes buffer? Pin
Member 474292224-Jul-09 1:14
Member 474292224-Jul-09 1:14 
AnswerRe: How to use bytes in bytes buffer? Pin
0x3c024-Jul-09 0:39
0x3c024-Jul-09 0:39 
AnswerRe: How to use bytes in bytes buffer? Pin
Luc Pattyn24-Jul-09 0:49
sitebuilderLuc Pattyn24-Jul-09 0:49 
QuestionHow to make a Component like MSN status label? Pin
Don.Y23-Jul-09 23:19
Don.Y23-Jul-09 23:19 
AnswerRe: How to make a Component like MSN status label? Pin
DaveyM6923-Jul-09 23:21
professionalDaveyM6923-Jul-09 23:21 
AnswerRe: How to make a Component like MSN status label? Pin
Muhammad Mazhar23-Jul-09 23:38
Muhammad Mazhar23-Jul-09 23:38 
AnswerRe: How to make a Component like MSN status label? Pin
Tamer Oz24-Jul-09 0:21
Tamer Oz24-Jul-09 0:21 
Questiona strange problem with windows service Pin
saeidfarahi23-Jul-09 22:53
saeidfarahi23-Jul-09 22:53 
this question is a mixture of sql and c# windows services...
i have a windows service which connects to COM1 port(serial port) and writes the data into a sql db. i have an installer which installs the service and run it immidiatly after setup is completed , but stops very soon because of this error which appears in event log :
provide : named pipes provider . error 40 - could not connect to sql server
i have installed sql server 2005 (not express ed) and the connection string
in my service is :
Confused | :confused:
string _connectionstring =
"server=" + Environment.MachineName +";Initial Catalog=myDatabase;"+
"user id=myLogin;password=myPassword;trusted_connection = true;";

i have tested this connection string in a simple windows form and it works!
please notice that this sql server and windows service are working on local computer , not a network. OMG | :OMG:
AnswerRe: a strange problem with windows service Pin
musefan23-Jul-09 23:17
musefan23-Jul-09 23:17 
AnswerRe: a strange problem with windows service Pin
DoctorMick23-Jul-09 23:38
DoctorMick23-Jul-09 23:38 
GeneralRe: a strange problem with windows service Pin
musefan23-Jul-09 23:42
musefan23-Jul-09 23:42 
GeneralRe: a strange problem with windows service Pin
DoctorMick24-Jul-09 0:11
DoctorMick24-Jul-09 0:11 
GeneralRe: a strange problem with windows service Pin
musefan24-Jul-09 0:16
musefan24-Jul-09 0:16 
QuestionACOS3-24 smart card write operation C# Pin
GauravKP23-Jul-09 22:39
professionalGauravKP23-Jul-09 22:39 
AnswerRe: ACOS3-24 smart card write operation C# Pin
Nagy Vilmos23-Jul-09 23:27
professionalNagy Vilmos23-Jul-09 23:27 
AnswerRe: ACOS3-24 smart card write operation C# Pin
stancrm24-Jul-09 0:07
stancrm24-Jul-09 0:07 
QuestionIntPtr to Image ? Pin
Mohammad Dayyan23-Jul-09 22:38
Mohammad Dayyan23-Jul-09 22:38 
AnswerRe: IntPtr to Image ? Pin
stancrm23-Jul-09 22:55
stancrm23-Jul-09 22:55 
QuestionPatching classes/codes Pin
Member 143923423-Jul-09 21:20
Member 143923423-Jul-09 21:20 
AnswerRe: Patching classes/codes Pin
Christian Graus23-Jul-09 21:36
protectorChristian Graus23-Jul-09 21:36 
GeneralRe: Patching classes/codes Pin
Member 143923423-Jul-09 22:48
Member 143923423-Jul-09 22:48 
AnswerRe: Patching classes/codes Pin
Tamer Oz23-Jul-09 21:48
Tamer Oz23-Jul-09 21:48 
GeneralRe: Patching classes/codes Pin
Member 143923423-Jul-09 22:47
Member 143923423-Jul-09 22:47 
GeneralRe: Patching classes/codes Pin
Tamer Oz23-Jul-09 22:49
Tamer Oz23-Jul-09 22:49 
GeneralRe: Patching classes/codes Pin
Member 143923423-Jul-09 23:11
Member 143923423-Jul-09 23:11 

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.