Search results for query: *

  1. B

    Get a distinct list of values from a one property in a List (Of T)

    Thanks jmcilhinney! That is perfect for what I need (y)
  2. B

    Get a distinct list of values from a one property in a List (Of T)

    The code below, specifically Sub Button1_Click, creates a distinct list (distinctList) of values from the List(Of MainObject). My question is - even though it produces the exact results I'm looking for, the logic seems cluttered. Anyone know of a cleaner or more direct way to create this...
  3. B

    How to bind TextBox.Text property to a List (Of Type)?

    The BindingSource works very well! Thanks! I added bindings like TextBox1.Control.DataBindings.Add("Text", BindingSource, "Stuff") to my Text controls. Now I am able to use the BindingSource.MovePrevious() and BindingSource.MoveNext() and the data in my Text controls reflect the value of...
  4. B

    Question SerialPort.Write more than 64 bytes

    One of the best ways I know to troubleshoot or test serial communications is to (if your PC has two serial ports) use a null modem cable. Connect the null modem cable to each of the two ports on your PC and then test I've coded and played around with serial communications using vb.net and a...
  5. B

    How to bind TextBox.Text property to a List (Of Type)?

    Can anyone point me the right direction? I'm trying to bind a TextBox.Text property to a property in a list of objects. Does anyone know where I can read or see examples of binding a Text property to a property in a List Of Type?
  6. B

    Set VS 2017's Task List's (Token List) back to defaults?

    Thanks for that idea. I've exported the (Task List Options) only from my PC at work. I will import them into VS where my problem is (at Home) this evening. This looks promising as I can indeed see the Default Task List Tokens in the exported file. Thanks again!
  7. B

    Set VS 2017's Task List's (Token List) back to defaults?

    In Visual Studio 2017 I edited existing Task List Tokens via the Tools | Options | Environment | Task List dialog I deleted the (HACK) and (UnresolvedMergeConflict) Tokens and Added new Tokens. My question is . . . Is there a way to set the Task List's (Token List) back to defaults? I want...
  8. B

    Resolved Debugging: Step Into (F8) Not Working

    Make sure you project's Compile Configuration is set to 'Debug'. if it's set to 'Release' it might cause the IDE to skip over many of the Debug features
  9. B

    How to get ASCII Dec value from a single character?

    I took JohnH's 'Char variable' suggestion, played around with it a bit. It helped me find a faster way to get the Ascii decimal values. I'm still not sure what I'm doing though. I'm assuming there are faster ways to do this? Private Sub Button1_Click(sender As Object, e As EventArgs)...
  10. B

    How to get ASCII Dec value from a single character?

    Thank you so much for the Char variable information. It has helped me quite a bit. I think I asked the original question wrong. Please let me ask again. Does anyone know what would be the fastest way, in VB.NET, to write the one line in the loop below? ie: Get the Ascii decimal values from a...
  11. B

    How to get ASCII Dec value from a single character?

    Visual Studio 2012 VB.NET Framework 3.5 I have also unchecked the Microsoft.VisualBasic from the Imported Namespaces I have two examples below. Does anyone know if the line that uses the ASCII.GetBytes is an acceptable / reliable way to get an ASCII decimal value from a single alphabet...
Back
Top