Search Results - VBForums

Search:

Type: Posts; User: 2ndmessiah

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    171

    Re: using GSM modem to send SMS

    Your code is opening COM23. In your last post you said it is COM24.
    A minor oversight that might be causing you a problem.
  2. Replies
    5
    Views
    171

    Re: using GSM modem to send SMS

    looking at your code



    'sending AT commands
    SMSPort.WriteLine("AT")
    SMSPort.WriteLine("AT+CMGF=1" & vbCrLf) 'set command message format to text mode(1)...
  3. VS 2010 Re: How do you send and capture keystrokes?

    I had a quick look at the link and on the packaging of the device written in bad English it says
    "Supply API function for dll win OS".
    That suggests there is a dll you could use to interface with...
  4. VS 2010 Re: reading x amount of bytes from a networkstream.

    Thats great. Thanks.
    Just to clarify, this is part of a .dll used for handling tcpclients. When i send data over a tcp connection, I first send 4 bytes (an integer converted to a byte array, which...
  5. VS 2010 reading x amount of bytes from a networkstream.

    I have this.

    Private Function GetXAmountBytes(ByVal amount As Integer) As Byte()
    Dim buffer(amount - 1) As Byte
    Dim BytesRead As Integer = 0
    Dim offset As Integer = 0
    ...
  6. VS 2010 Re: Request for comments on my class which inherits the Tcplistener class

    As long as I don't actually catch fish, it might just be the thing.

    OK now that the IDisposable question has been answered, Is there anything else needed doing. As I said error handling needs...
  7. VS 2010 Request for comments on my class which inherits the Tcplistener class

    I know this needs more work but any comments on what I need to add, to change, to improve would be helpful. I know the error handling has to be improved drastically.


    Imports System.Net
    Imports...
  8. Replies
    2
    Views
    2,436

    Re: Endreceive when Formclosing is intiated

    I feel/think you are misunderstanding the purpose of socket.endreceive.
    see this link
    http://msdn.microsoft.com/en-us/library/w7wtt64b.aspx

    Try closing the socket in the Formclosing method. This...
  9. VS 2010 Re: Need Help : Enable SMS Sending & Receiving on PC through Dongle

    As a very wild guess, because you have not supplied any details of the dongle and if you can treat the dongle as a modem that accepts AT commands look at this link.
    ...
  10. Re: Running long term data grab from separate thread

    BackgroundWorker maybe?
  11. Replies
    2
    Views
    201

    Re: human body detection and mapping

    This looks interesting

    http://news.techeye.net/hardware/company-comes-up-with-ultra-accurate-kinect-alternative
  12. Should I use the BackGroundWorker Class to handle a NetworkStream asychronously.

    I know a Networkstream has BeginRead method (readAsync in .net 4.5 as well) for asychronous operation. I am also aware I can create my own thread to handle this but a backGroundWorker appears to be...
  13. Re: [RESOLVED] Drawing/Placing a "circle" or Image on a button (Like a notification i

    Dang I see this thread is resolved.

    Oh well.... Here is my amateurish try at a button like this. Not quite how I was going to do it but hey! here you go.
  14. Re: Drawing/Placing a "circle" or Image on a button (Like a notification in iOS)

    I am sure Dunfiddlin solution is the correct way, but it occurs to me you could always create your own control which inherits the button class. Make the backcolor transparent. Move the button text to...
  15. VS 2012 Re: Sending GUIDs and a byte array over LAN.

    Thanks for the reply. Yes, the byte array size can vary so I will probaby go for the class method.
  16. VS 2012 [RESOLVED] Sending GUIDs and a byte array over LAN.

    I need to send a couple of GUIDs and a byte array over a LAN.

    I thought about creating a serializable Class containing the GUIDs and byte array as properties. Then binary serialize it into a...
  17. Replies
    1
    Views
    1,388

    Re: Reading Data From Device With IP Address?

    What have you tried?
  18. Replies
    11
    Views
    427

    VS 2010 Re: Detect last character of a TextBox

    post removed.
  19. Replies
    11
    Views
    427

    VS 2010 Re: Detect last character of a TextBox

    Yes I'm sure for desktop, tablets, phones, pretty much any modern computing equipment Unicode is how it is. In the 21st century we still have to deal with a lot of 20th century technology. The "ASCII...
  20. Replies
    21
    Views
    1,018

    VS 2010 Re: Socket Comms

    You could use the TcpListener class and
    the tcpclient class.

    These help simplify the use of sockets. There are examples in these link but it would be wise to google other examples.
  21. Re: A question about TcpClient.GetStream method.

    I did as Niya suggested, sorry you lost your bet. It does return the same stream.
    Thank you everyone for taking the time to reply and the information I asked for. All I have to do now is remember...
  22. [RESOLVED] A question about TcpClient.GetStream method.

    MSND states.

    GetStream returns a NetworkStream that you can use to send and receive data.

    Ok, good.

    Now the question.

    Everytime I useTcpClient.GetStream (on the same TcpClient), does it...
  23. Replies
    0
    Views
    217

    VS 2010 Is NetworkStream.CanRead accurate?

    Can I rely on the .CanRead Property to confirm that a there is a client connection?
    I normally dont bother with it and use a try/catch block to handle an exceptions such as IOException.
  24. Re: Question about serialport component.

    One thought comes to mind. If your Hand shaking is set to XOn/Xoff. Does it matter if the RTS pin is raised if the pin isnt actually connected to anything. As long as the appropriate flow control...
  25. Re: Question about serialport component.

    I am no expert, but have you read this. ( I am sure you have)

    http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.handshake.aspx

    and this bit about handshaking.
    ...
  26. Replies
    14
    Views
    416

    Re: Command Console

    Seems like an opportunity to build a GUI with drop down boxes etc to allow the user to build the query, then a big buton to send it and a Rich text box to display the output.
    It seems to me also...
  27. Replies
    3
    Views
    205

    VS 2010 Re: Create Service

    In saying that....

    http://msdn.microsoft.com/en-us/library/y817hyb6(v=vs.100).aspx
  28. Replies
    3
    Views
    205

    VS 2010 Re: Create Service

    With a lot of reading/study and hardwork generally.
  29. Replies
    3
    Views
    1,034

    Re: Serial port delay

    The SerialPort Class has an event that is triggered when data is received.
    http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.datareceived.aspx
    There is an example in the link...
  30. Re: Have I become intolerant of new forum members?

    How about we get the forums modified to have



    and maybe
  31. Re: Have I become intolerant of new forum members?

    Its seems I have hit a nerve with quite a few people on these forums.

    Between this place (Vbforums) and the MSDN I have learned a lot. With the help of jmcilhinney and other like him, I have...
  32. Re: Have I become intolerant of new forum members?

    NightWalker83,
    I take it that was a gentle hint in my direction. After reading my initial post, I have noticed many grammatical,spelling and syntactic errors. I have no excuses, just laziness on...
  33. Have I become intolerant of new forum members?

    I have been, on and off, a user of these forums since 2008. I have come into contact with many intelligent helpful people who have enabled me to progress in my hobby/pastime/part time job as a vb...
  34. Replies
    3
    Views
    199

    Re: main form lagging

    Are you doing everything in the UI thread?
    How big are the packets?

    Please post your code. Give us something to work with. There are a lot of experienced people on this forum but I doubt any of...
  35. Replies
    12
    Views
    1,479

    VS 2010 Re: TCP connection on Dot NET

    I agree whole heartily with Thomas's sentiment. Peoples lack of effort to actually read and make an effort frustrate me.
    I also understand the other side of the coin. It can be overwhelming to try...
  36. Replies
    12
    Views
    1,479

    VS 2010 Re: TCP connection on Dot NET

    Deleted......
  37. Replies
    12
    Views
    1,479

    VS 2010 Re: TCP connection on Dot NET

    Oh Im sorry, I didnt realise you wanted us to write the code for you.
    I foolishly assumed you had some idea of what you were asking.
  38. Replies
    12
    Views
    1,479

    VS 2010 Re: TCP connection on Dot NET

    How about this to get you started.

    http://msdn.microsoft.com/en-us/library/sb27wehh
  39. Thread: TCP chat

    by 2ndmessiah
    Replies
    8
    Views
    553

    VS 2008 Re: TCP chat

    I see someone more eminately qualified has taken up your question. So hopefully a resolution will present itself. Tcp client / tcp listener do exactlty what they are meant to do. If you need to...
  40. Thread: TCP chat

    by 2ndmessiah
    Replies
    8
    Views
    553

    VS 2008 Re: TCP chat

    Once I finish work I will take your code and try it at home.
    Why not use TcpClient. My understanding it is a wrapper for sockets.

    Is this vb 6 code?
    Why are you using " On Error Resume Next "?...
Results 1 to 40 of 144
Page 1 of 4 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.