Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by atunplatino

  1. atunplatino

    Common Dialog Control SaveAs Question

    Thanks, Droops. That is helpful information that I am a bit surprised I didn't know. I have never read a VB book, I am taught via the great Google, so I guess I miss these things. I do appreciate the info, it will help. -atunplatino
  2. atunplatino

    Common Dialog Control SaveAs Question

    Beautiful. Thank you much; I suspected a flag was available but could not turn up any flag listings/definitions on msdn or google. -Atunplatino
  3. atunplatino

    Common Dialog Control SaveAs Question

    Hello I am using VB6 and am trying to use the Common Dialog control to allow my user to name a file that the program is creating. The trouble is I cannot figure out how to generate an alert to the user if they have selected a filename that is already taken and are thus about to overwrite an...
  4. atunplatino

    MSCOMM Error - Oncomm does not refire after partial retrieval

    Ok I have a working fix to the problem which is this: at the end of my OnComm routine, I simply check mscomm1.InBufferCount and if it has anything in it, I manually Call MsComm1_Oncomm again. Thus I do receive all the data but not neatly in a convenient byte array; in a textbox that I must then...
  5. atunplatino

    MSCOMM Error - Oncomm does not refire after partial retrieval

    Ok; in text mode I do not experience any problems looping back long paragraphs without errors. But here is some of my binary mode code anyway: BTW this code does not include the basic mscomm settings like baud, open port, etc... First the send button Private Sub test1_Click() Dim...
  6. atunplatino

    MSCOMM Error - Oncomm does not refire after partial retrieval

    Thanks for the help George. My RThreshold is indeed set to 1. This is the problem: MsComm fires one time and retrieves all data but 2 bytes. Then if I do a watch on the inbuffer, it still contains 2 bytes of data but MsComm does not fire again despite what MSDN claims. PS: also contrary to...
  7. atunplatino

    MSCOMM Error - Oncomm does not refire after partial retrieval

    I am using VB6's MSCOMM (mode binary) to interface to the serial port. The specific question is; Has anybody else run into a problem where OnComm does not fire when there is data waiting in the receive buffer? Here is my broader application: When attempting a simple loopback test of sending...

Part and Inventory Search

Back
Top