blah blah blah is here! blah blah » Close

0
votes
2 answers

Button Click Priority

GlennP
344

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
344

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 ...

1
votes
1 answers

Doing DOS commands....

GlennP
344

Hi All, I'm trying to run call a program via a DOS command. I was using the batch file "Test" and running with [code] System.Diagnostics.Process.Start(@"Test.bat"); [\code] this worked great but I think to mak ...

1
votes
2 answers

How is Random created??

GlennP
344

Hi, I'm a little new to Random numbers in the .NET frame work. Does anybody know how the [code] Random rand = new Random(); [/code] values are calculated I need some random numbers for testing and for the report it would be nice to ...

0
votes
2 answers

How do I keep my forms textboxes alive!

GlennP
344

Hi, I am having trouble with an application I am writing, if the form gets deselected the textBoxes are emptied an the program appears to halt if it's selected at the front of the screen all is well it completes a test. Once I had a simil ...

-1
votes
1 answers

Why Does My Form Loose textBox.Text text but keep Richtext Box.

GlennP
344

I am writing an App that stores stuff in Text boxes and then writes the data to a file using the text boxes. I have made them Read Only to prevent the data being altered however when the form gets obscured by another form/screen saver it lo ...

0
votes
1 answers

"Splash" Screen is it just a form?

GlennP
344

Hi, I am wishing to add a splash screen to an app to show some thing while the ini is loading etc. Can I just add another form to the project show it and then close it or is there a special secret to Splash?? Glenn

0
votes
1 answers

Does Convert.ToSingle create a float???

GlennP
344

Hi, Does Convert.ToSingle() create a float, as I was using Convert.ToDouble() and think this might be the cause a delay in my program when it converts 4096 fine big delay when 4095.99 is converted, this might be the double floating point ...

0
votes
1 answers

Serial Port Delegates....

GlennP
344

Hi, This is related to the other posts I have been making lately, I need to get data that has come into the serial port as soon as it has arrived. I have tried to attach various delegates with some success however I need to be sure that ...

0
votes
1 answers

Serial Ports Events & Timers....

GlennP
344

Hi, This is related to some previous posts I made about serial ports and control of software talking to hardware. I was asked to design a test rig for certain devices, I have elected to use C# in Vis Studio 2008. I was not there for th ...

1
votes
1 answers

Is There a Quick & Easy Flush Method for Serial Ports??

GlennP
344

Hi all, My continuing battle with serial ports has left me with this question there must be a simple way to flush the buffer as I thought closing the port would clear it but I have found a reply from an instrument waiting for me is there ...

0
votes
2 answers

Serial Port Events Panic

GlennP
344

Hi, I need to know if the Serial Port Class can be made to generate and interrupt when data is recieved. SerialDataReceivedEventArgs does not quite work in the way I was expecting or I am not using it correctly (more likely). I need the ...

0
votes
1 answers

Serial Port: public event SerialPinChangedEventHandler Pin Changed Part 2

GlennP
344

Hi, This is a continuation of a question partially asked and partially answered yesterday public event SerialPinChangedEventHandler Pin Changed. The board has been changed so I have made a couple of mistakes Vulpes was helping. The ...

2
votes
1 answers

Serial Port: public event SerialPinChangedEventHandler PinChanged

GlennP
344

Hi, Can the public event SerialPinChangedEventHandler PinChanged be used to see if a device has replied via the RX pin. What I am trying to do is send a command, device recieves it processes it sends it back so [code]while (WasteTime ...

Feedback