Search:

Type: Posts; User: dbasnett

Page 1 of 13 1 2 3 4

Search: Search took 0.18 seconds.

  1. Replies
    18
    Views
    212

    Re: ReadTimeout not Working?

    Lets say that you send 3 characters, say 'abc', followed by the newline character, and that the DataReceived event fires for every character.

    When the 'a' is received and the event fires you post...
  2. Replies
    18
    Views
    212

    Re: ReadTimeout not Working?

    Timeout errors are an indication that a mistake has occurred, it is not part of a protocol. It should be used to catch errors and nothing more. It is just a little bit harder to write code that...
  3. Replies
    18
    Views
    212

    Re: ReadTimeout not Working?

    FYI. I tested this:



    Public Delegate Sub mydelegate(ByVal a_string As String)

    Private Sub SerialPort_DataReceived(ByVal sender As Object, ByVal e As...
  4. Replies
    4
    Views
    92

    VS 2010 Re: Control mobile phone via bluetooth

    From what I can find by Googling, Apple doesn't support this. Apparently even Audio is difficult. So glad I have a Samsung!
  5. Re: Maximize an External Application which is minimized in the system tray using VB.N

    Don't you want Me.Show instead of FormName.Show.
  6. VS 2008 Re: how to control the order of the message boxes that show

    Dim order As String = "312"
    For Each c As Char In order
    MessageBox.Show("Hello World " & c)
    Next
  7. Replies
    4
    Views
    92

    VS 2010 Re: Control mobile phone via bluetooth

    What have you tried? Is the phone creating a virtual serial port on the PC?
  8. VS 2008 Re: how to control the order of the message boxes that show

    Change the order.
  9. Replies
    18
    Views
    212

    Re: ReadTimeout not Working?

    What about the "breakpoint in the DataReceive handler and the programhttp://images.intellitxt.com/ast/adTypes/icon1.png isn't stepping into this block"??? Are you still having the timeouts?
  10. Replies
    18
    Views
    212

    Re: ReadTimeout not Working?

    I'd suggest starting over with no shortcuts.
  11. VS 2008 Re: When saving file and the power lost file is lost too?

    Isn't the real question about why is the file corrupted? If you have the file open but are not manipulating it and the power goes out why is it corrupted?

    @i00 - they have changed the rate this...
  12. Re: How to read a Line in a CSV File twice - Please help

    It is not clear why you need to re-read? Why not just make a copy and use that.
  13. Replies
    18
    Views
    212

    Re: ReadTimeout not Working?

    I'd start a new project and copy and paste just the code you have(don't copy the files). Make sure you create the controls and components before you copy the code.
  14. Replies
    18
    Views
    212

    Re: ReadTimeout not Working?

    Below the active configuration is the project configuration. Is it set to debug also? What version of vb are you using?

    Is the GPS attached via a cable or is this a virtual serialport via...
  15. Replies
    18
    Views
    212

    Re: ReadTimeout not Working?

    Are you running the code with the Release Configuration? I think it is under Build / Configuration Manager. Set it to Debug if it isn't.

    "If the ReadLine method is blocking, can a re-entrance...
  16. Re: how to get specific string from unpredicted input messages?

    Take a look at this


    Dim smplText As String = "asfdssadadamyname: blablabla asadsdasghfhgfhfghfgfhgfgfga"
    Dim strToFind As String = "blablabla"
    Dim idx As Integer =...
  17. Replies
    18
    Views
    212

    Re: ReadTimeout not Working?

    Change your Catch to this


    Catch ex As TimeoutException
    Debug.WriteLine(ex.Message)
    Debug.WriteLine(myArray(1))
    timeout = True
    Beep()
  18. Re: How to obtain the name of the dynamically created label your clicking on

    Agreed. There is a link in my signature that might interest you. Actually there are a couple ;)
  19. Replies
    4
    Views
    125

    Re: auto run code based on time

    Ian brings up a good point. Based on your example of 10PM, do you mean 10:00:00.000, or would 10PM plus or minus a few seconds be good?
  20. Replies
    4
    Views
    125

    Re: auto run code based on time

    Have you thought of using the Task Scheduler?
  21. Re: How to obtain the name of the dynamically created label your clicking on

    If ODID has the name of a control then



    Me.Controls(ODID).BackColor = Color.Red
  22. VS 2008 Re: Mix Of Uppercase And LowerCase

    Is it called TitleCase. Here is a link for the documentation
    http://msdn.microsoft.com/en-us/library/system.globalization.textinfo.totitlecase.asp


    Dim myString As String = "wAr aNd...
  23. Thread: Text on form!

    by dbasnett
    Replies
    2
    Views
    104

    VS 2010 Re: Text on form!

    Try


    Me.Text = "Text to display"
  24. Replies
    6
    Views
    109

    Re: Adding a through controls.add?

    Look at your question. Do we know what controls is or should we assume something? "VB doesn't seem to like it" doesn't mean much.

    What are you trying to accomplish?
  25. VS 2010 Re: running plink with user input interaction from vb.net

    Are you telnetting using putty?
  26. VS 2010 Re: running plink with user input interaction from vb.net

    Is plink a media thing or a gene thing?
  27. Replies
    51
    Views
    838

    Re: Forum Upgrade - May 9, 2013

    I don't know how hard it is, but I would gladly sacrifice the wrap quote tags button for code tags.
    I wouldn't think it would be hard. Easy for me to say :bigyello:
  28. VS 2008 Re: Visual basic is not installing getting error message please help.

    What OS is your laptop running. I googled the error and there were a lot of hits. Here is one of them

    http://support.microsoft.com/kb/315346
  29. Replies
    3
    Views
    132

    VS 2010 Re: How to connect rfid with vb10

    I am guessing one of these
    ...
  30. Replies
    3
    Views
    132

    VS 2010 Re: How to connect rfid with vb10

    This device has an SDK on the Motorola web site.
  31. Replies
    9
    Views
    184

    VS 2010 Re: problem using delimiter

    Just do a readline and your own split on the delimiter.

    OT - is the forum slow?
  32. Thread: Slow

    by dbasnett
    Replies
    5
    Views
    147

    Slow

    The forum seems much slower today.
  33. Replies
    8
    Views
    186

    VS 2010 Re: New Day Event?

    Something like this I think



    Dim aTimer As System.Timers.Timer

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    aTimer = New...
  34. Replies
    51
    Views
    838

    Re: Forum Upgrade - May 9, 2013

    Edvard Munch I believe.
  35. Re: Running long term data grab from separate thread

    What is high-speed?
  36. VS 2010 Re: [RESOLVED] Don't quite understand this warning; Access of shared member....

    I'd suggest not bothering with it at all. Whatever your code is really doing has to be wrapped in a Try-Catch right?



    Gimmick is correct.
  37. VS 2010 Re: [RESOLVED] Don't quite understand this warning; Access of shared member....

    What do you mean by the above statement? Your code checks to see if a name can be resolved. What if it is resolved by the DNS Resolver running on the local PC?

    You are also assuming that...
  38. VS 2010 Re: [RESOLVED] Don't quite understand this warning; Access of shared member....

    Why do you think that it is necessary to check if the internet is available? A better question is what is internet availability? It looks like you have defined it to mean that a hostname can be...
  39. Replies
    51
    Views
    838

    Re: Forum Upgrade - May 9, 2013

    I'd also like to see those buttons on the Quick Reply.
  40. Replies
    10
    Views
    219

    Re: Forum Software Updates

    Was that a hint? I can't rep you again. BTW - where is the list of people you rep'ed?

    Overall I think the upgrade went well.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4