Click here to Skip to main content
15,889,931 members
Home / Discussions / C#
   

C#

 
GeneralRe: Insert Command and access database Pin
Mbah Dhaim14-Sep-08 11:56
Mbah Dhaim14-Sep-08 11:56 
GeneralRe: Insert Command and access database Pin
Sourie21-Sep-08 8:49
Sourie21-Sep-08 8:49 
Questioncreating real time graphical line chart Pin
yefeng_law13-Sep-08 6:59
yefeng_law13-Sep-08 6:59 
AnswerRe: creating real time graphical line chart Pin
zafersavas13-Sep-08 8:05
zafersavas13-Sep-08 8:05 
QuestionSetting tooltip location Pin
dan!sh 13-Sep-08 6:16
professional dan!sh 13-Sep-08 6:16 
AnswerRe: Setting tooltip location Pin
Mohammad Dayyan13-Sep-08 12:35
Mohammad Dayyan13-Sep-08 12:35 
GeneralRe: Setting tooltip location Pin
CSharpByDesign6-Dec-10 11:28
CSharpByDesign6-Dec-10 11:28 
QuestionMade a functional program - just not for friends Pin
Uri9113-Sep-08 5:40
Uri9113-Sep-08 5:40 
Hello,

I've made a chat program, inspired by the WPF/WCF chat tutorial here.
The program is complete, and works well, but when I give it to other friends it doesn't work. I'm hoping that by explaining the simptoms someone could help me:

1) For 2 people, the program won't even load, it will show an error "0xc0000135". Maybe .Net framework 3.5 is not installed? Can I check that before loading?

2) For one guy, the program manages to catch the exception, saying "Object reference not set to an instance of an object", on the following lines of code:
TcpClient connection = new TcpClient();

ChatRoom chat = new ChatRoom(connection, boxName.Text);
            
chat.Show();
           
this.Close();

Meaning I didn't initialize "connection", but I just did!

3) For another guy, the program terminates also after these 3 lines, but without managing to catch the exception, saying the program had to close.

4) For someone else, the program first shows the ChatRoom window, and then shuts down. I've put everything I could in a try/catch block and it doesn't help.

What bothers me is that I get none of these problems.

Thanks!
AnswerRe: Made a functional program - just not for friends Pin
Steven A. Lowe13-Sep-08 16:06
Steven A. Lowe13-Sep-08 16:06 
GeneralRe: Made a functional program - just not for friends Pin
Uri9113-Sep-08 22:14
Uri9113-Sep-08 22:14 
GeneralRe: Made a functional program - just not for friends Pin
Anthony Mushrow14-Sep-08 0:49
professionalAnthony Mushrow14-Sep-08 0:49 
GeneralRe: Made a functional program - just not for friends Pin
Uri9114-Sep-08 8:12
Uri9114-Sep-08 8:12 
QuestionWhat is persistent object and transient object ? Pin
dataminers13-Sep-08 5:40
dataminers13-Sep-08 5:40 
AnswerRe: What is persistent object and transient object ? Pin
Mbah Dhaim13-Sep-08 7:20
Mbah Dhaim13-Sep-08 7:20 
Questionto read word document with images and tables and paste it in a string control Pin
sshakti13-Sep-08 4:28
sshakti13-Sep-08 4:28 
AnswerRe: to read word document with images and tables and paste it in a string control Pin
Dave Kreskowiak13-Sep-08 5:21
mveDave Kreskowiak13-Sep-08 5:21 
AnswerRe: to read word document with images and tables and paste it in a string control Pin
Mohammad Dayyan13-Sep-08 12:43
Mohammad Dayyan13-Sep-08 12:43 
QuestionQuestion System.StackOverflowException problem. Pin
hdv21213-Sep-08 3:32
hdv21213-Sep-08 3:32 
AnswerRe: Question System.StackOverflowException problem. Pin
Dave Kreskowiak13-Sep-08 5:20
mveDave Kreskowiak13-Sep-08 5:20 
GeneralRe: Question System.StackOverflowException problem. [modified] Pin
hdv21213-Sep-08 6:16
hdv21213-Sep-08 6:16 
GeneralRe: Question System.StackOverflowException problem. Pin
Dave Kreskowiak13-Sep-08 7:13
mveDave Kreskowiak13-Sep-08 7:13 
GeneralRe: Question System.StackOverflowException problem. Pin
hdv21213-Sep-08 7:24
hdv21213-Sep-08 7:24 
GeneralRe: Question System.StackOverflowException problem. Pin
S. Senthil Kumar13-Sep-08 9:23
S. Senthil Kumar13-Sep-08 9:23 
GeneralRe: Question System.StackOverflowException problem. Pin
hdv21213-Sep-08 10:14
hdv21213-Sep-08 10:14 
Questionhow to make icon for file Pin
nmhai8313-Sep-08 3:26
nmhai8313-Sep-08 3:26 

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.