blah blah blah is here! blah blah » Close

0
votes
1 answers

Has anyone seen this before, serial port oddity...

GlennP
329

Hi All, Someone left under a cloud and is now on the missing list he left me with a C# project that I have to use and maintain. 1st Rant 'why is it 2010 Express and not 2008' mutter, mutter. 2nd Rant 'How is he setting and controlling a ...

0
votes
1 answers

Anybody any experice with WinCE6??

GlennP
329

Hi All, Bit of an oddity but I have got to develope on an Embedded platform for a project using CE6 Anybody know of a good site with some info on 6 as Microsoft want you to use 7 now...

0
votes
1 answers

What is the actual difference between String.Clone(); & a stright =??

GlennP
329

Hi All, Another odd one. Been playing and found the string .Clone() method but this appears to the same as = ie: [code] TempA = (String)Temp.Clone(); MessageBox.Show(TempA); [/code] produces the same as: ...

0
votes
1 answers

Vis Studio 2008 Question C# question

GlennP
329

Hi All, Bit of an odd question, been playing today with Vis Studio 2008 and the [code] Form1.ActiveForm.BackColor = Color.Red; [/code] to change the color of the back ground of a form. If I put this into the Form1_Load() function n ...

0
votes
2 answers

Mouse Location...

GlennP
329

Hi All, I'm trying to track the mouse pointer on the screen. The below code works for detecting clicks and mouse location on the form. However only when the mouse is clicked and you are over the form. [code] private void For ...

0
votes
1 answers

Display of text in list boxes....

GlennP
329

Hi, I am trying to recreate a bit of VB code from long ago, it took a string read from the hard disk and split it into idividual lines in a list box. The method I have come with is to read the file with a while loop check for \n\r this ...

0
votes
2 answers

Sorry if this is repost but....Help with C# comms emulating hyperterm send strings

GlennP
329

Hi All, (For the third time!) Sorry if this a repost but we have issues at this end(!) I have sucessfully integrated the following into my code [code] private void rtbOutgoing_KeyPress(object sender, KeyPressEventArgs e) { ...

1
votes
1 answers

Is there a major difference in grouping if()/using a switch??

GlennP
329

Hi, My continuing lack of knowlege as to how Windows/C# handles things comes up again. I have several ifs [code] if (Gold1 < Value1) { decrementPWM1(); } if (Gold1 > Va ...

1
votes
0 answers

Is the best way....

GlennP
329

Hi All, In my [b]continuing[/b] quest with this app I am writing, I am now trying to read a piece of data back from the com port this bit of code is in Write_DUT() function. What I am trying to do is wait for there to be a string starti ...

0
votes
1 answers

SerialDataReceivedEventHandler tripping with no data

GlennP
329

Hi All, Can the SerialDataReceivedEventHandler be tripped when there is no data to read? It seem some test code I have written is tripping the SerialDataReceivedEventHandler when it has no data and is falling flat on its face, its th ...

0
votes
2 answers

Does any know what the Vshost is with a windoes app in 2008

GlennP
329

Hi All, I am battling with an app that does not seem to close/exit properly the Taskmanager is the only way to kill it. Application.Exit(); does seem to kill it, also it appears to run a second program with the same name but with an ext ...

0
votes
1 answers

Is there any way an if() can't fire?

GlennP
329

Hi All, I'm reading in some values (via a Serial Port) I have had some issues which it looks like I have solved (many coffees!) it now seems that an [code]if (Tolerance3 == false)[/code] is not firing when compare to the other two condit ...

0
votes
0 answers

How can my code perform a message box click without the message box?

GlennP
329

Hi All, The title is a little confusing but what I'm after is duplicating the behavour of a message box with only an OK button. This I have found cures one problem I am seeing with some code in that it allows some activity such as updati ...

0
votes
0 answers

What is _COMPlusExceptionCode = 0xe0434f4d

GlennP
329

Hi All, Working on some ATE code I have come across a problem that generates _COMPlusExceptionCode = 0xe0434f4d Firstly what?, secondly how? & thirdly why? The code I wrote has been altered by a third party to use Threading to open t ...

0
votes
2 answers

How do you copy values between forms...

GlennP
329

Hi All, Quick stupid qestion but how do you get values back and forth between forms. I will create the form on a button click enter/caluate three values exit the form. I need then to send the values back to first form (which will be disa ...

Feedback