blah blah blah is here! blah blah » Close

0
votes
1 answers

Button Click Priority

GlennP
125

Hi, I have an application running using serial comms & timers etc. I need a stop now button. At the moment I am using a standard button which when clicked gets over taken by other events. Is there a way changing the order which the b ...

0
votes
3 answers

What does "Object reference not set to an instance of an Object" mean?

GlennP
125

Hi all, I have a weird message coming back from an Exe I wrote an am now debugging, stream lining etc. It returns some message boxes which I would expect and then "Object reference not set to an instance of an Object" in a me ...

0
votes
1 answers

Different color for each listbox item

Howdy, Please help me. I wonder how to give a different color for each listbox item. I've try to make a short line of code to handle that but it was failed. [code] if(this.listBox1.InvokeRequired==true){ this.listB ...

0
votes
0 answers

So I guess the real question is... How do I convince my IT department that 64bit development machines are ok?

My IT department is run by a bunch of Apple and Linux heads.... Not that I don't like either ... But I don't like it when there is a noticeable bias aginst my windows environment... Let me enplane... First let me break down the os ...

0
votes
0 answers

.exe file to read Access Forms

I have a Microsfot Access database I have created some forms to display some fields and the appropiate data. I need to create a .exe that is going to read the forms off a server that has the database on and will then display these forms ...

0
votes
1 answers

suggest a tutorial to learn creating Windows-service using C#

I tried searching with google, but couldn't get enough resources to learn Windows service. I am eager to learn it, so that I can control my desktop processes. [as like automatically stopping a particular process, when another particular pro ...

0
votes
1 answers

Process.Start() ......

I'm using VS 2008 Express edition..... [code]string filename; private void button3_Click(object sender, EventArgs e) { Form3 f3 = (Form3)Application.OpenForms["Form3"]; ComboBox cb1 ...

0
votes
1 answers

Reading text files

Hi, Can anyone help me? i have a text file that has this: Company name Date Address some data here how do i read only the company name when the 1st line is space delimited ...

0
votes
1 answers

Getting a error when Opening excel sheet on C#

Hi..... I am using MS office 2003 and Visual studio 2008 .I have added a reference to Microsoft.Office.Interop.Excel 11.0 library . Added the following code: private void button1_Click(object sender, EventArgs e) { ...

0
votes
2 answers

Why this happens?

sanjib
156

Whenever I connect GridView control to my local database and make AllowPaging property "True" the error coemes like this: " The GridView 'GridView2' fired event PageIndexChanging which wasn't handled. " But when I ...

0
votes
4 answers

Why i cannot access members throught reference?

Hi friend, here i have written a sample code for the client to access a class members in the BLL through another class: [code] namespace WindowsFormsApplication18 { public partial class Form1 : Form { A ...

0
votes
0 answers

Does anyone know how to programmically write results to the Visual Studio Results Window?

Hello I am using VS 2010 pre-release. I have written an application that reads/ writes to an Excel spreadsheet using the interop library. Each one of my rows is a test case. For each row there is a PASS FAIL result. How do I p ...

1
votes
2 answers

Console Questions

Hi Everybody, I am looking for ways to implements simple Qbasic features into C Sharp Console namely: 1. The use of blinking color in Console. 2. Delimit Clear Screen as from Row 5 Downward so as to leave the first five row of the Co ...

0
votes
3 answers

Terminating a thread

When I run my c# application (I am using Visual studio, compact framework) I create a thread that constantly moves files from one folder to the other [code]public static class Program { [MTAThread] public static ...

1
votes
1 answers

Serial Port connection

Anyone who can help me understand this would be much appreciated. I'm trying to connect to a Marconi 2945 to control it over the RS232 connection. I am trying to get my head around how to use the following data in the manual: The fol ...

Feedback