Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to switch the whole DataGridView Left-To-right? Pin
Mycroft Holmes5-Nov-20 10:50
professionalMycroft Holmes5-Nov-20 10:50 
QuestionMoving VS 2019 solution from on-premise to cloud Pin
Member 144746074-Nov-20 7:27
Member 144746074-Nov-20 7:27 
AnswerRe: Moving VS 2019 solution from on-premise to cloud Pin
Richard Andrew x644-Nov-20 14:05
professionalRichard Andrew x644-Nov-20 14:05 
QuestionWinForm - Localize DataGridView with automatical generated columns Pin
Mc_Topaz3-Nov-20 23:08
Mc_Topaz3-Nov-20 23:08 
AnswerRe: WinForm - Localize DataGridView with automatical generated columns Pin
BillWoodruff4-Nov-20 2:35
professionalBillWoodruff4-Nov-20 2:35 
QuestionCsharp InTheHand.Net read bluetooth data on received event Pin
nowis773-Nov-20 8:07
nowis773-Nov-20 8:07 
AnswerRe: Csharp InTheHand.Net read bluetooth data on received event Pin
jsc423-Nov-20 10:33
professionaljsc423-Nov-20 10:33 
GeneralRe: Csharp InTheHand.Net read bluetooth data on received event Pin
nowis7710-Nov-20 21:01
nowis7710-Nov-20 21:01 
Hello,

I got it working by using the read and try command.
And this in a loop that I can put later into a thread:

C#
byte[] buffer = new byte[3];
Stream mStream = FormManager.bluetoothClient.GetStream();

while (FormManager.bluetoothClient.Connected)
{
   try
      {
        mStream.Read(buffer, 0, buffer.Length);
        System.Diagnostics.Debug.WriteLine("read status "+buffer[0] + " " + buffer[1] + " " + buffer[2] + " -->  Status " + FinalResultBT);
      }
   catch
      {
        System.Diagnostics.Debug.WriteLine("read status fail ");
      }
}

QuestionBusiness Layer Question Pin
Kevin Marois2-Nov-20 6:31
professionalKevin Marois2-Nov-20 6:31 
AnswerRe: Business Layer Question Pin
Richard Deeming2-Nov-20 6:45
mveRichard Deeming2-Nov-20 6:45 
GeneralRe: Business Layer Question Pin
Kevin Marois2-Nov-20 7:27
professionalKevin Marois2-Nov-20 7:27 
Questionuse connection from login form in other forms Pin
Newkid on the block31-Oct-20 5:43
Newkid on the block31-Oct-20 5:43 
AnswerRe: use connection from login form in other forms Pin
OriginalGriff31-Oct-20 5:57
mveOriginalGriff31-Oct-20 5:57 
GeneralRe: use connection from login form in other forms Pin
Newkid on the block31-Oct-20 10:21
Newkid on the block31-Oct-20 10:21 
GeneralRe: use connection from login form in other forms Pin
Dave Kreskowiak31-Oct-20 11:26
mveDave Kreskowiak31-Oct-20 11:26 
AnswerRe: use connection from login form in other forms Pin
Dave Kreskowiak31-Oct-20 6:30
mveDave Kreskowiak31-Oct-20 6:30 
AnswerRe: use connection from login form in other forms Pin
BillWoodruff1-Nov-20 15:12
professionalBillWoodruff1-Nov-20 15:12 
GeneralRe: use connection from login form in other forms Pin
Newkid on the block3-Nov-20 5:45
Newkid on the block3-Nov-20 5:45 
GeneralRe: use connection from login form in other forms Pin
BillWoodruff3-Nov-20 14:46
professionalBillWoodruff3-Nov-20 14:46 
QuestionCrystal reports and datagridviews Pin
Damir Djordjevic31-Oct-20 4:39
Damir Djordjevic31-Oct-20 4:39 
AnswerRe: Crystal reports and datagridviews Pin
Gerry Schmitz31-Oct-20 5:15
mveGerry Schmitz31-Oct-20 5:15 
QuestionIF Else statement on background colour of label. Pin
Member 1497767230-Oct-20 2:29
Member 1497767230-Oct-20 2:29 
SuggestionRe: IF Else statement on background colour of label. Pin
Richard MacCutchan30-Oct-20 2:36
mveRichard MacCutchan30-Oct-20 2:36 
GeneralRe: IF Else statement on background colour of label. Pin
Member 1497767230-Oct-20 2:47
Member 1497767230-Oct-20 2:47 
GeneralRe: IF Else statement on background colour of label. Pin
OriginalGriff30-Oct-20 2:52
mveOriginalGriff30-Oct-20 2:52 

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.