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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. adi316

    Converting a hex value contained in a string to integer

    Hi. I have a string which contains a hex value. I want to somehow convert this value to an int. how is it possible? TIA
  2. adi316

    Locking text box auto scroll?

    DrJavaJoe That works but it does the same thing as txtbox.SelStart=Len(txtbox), still scrolls up and than back down. i am beginning to think there is no way to eliminate the screen flikering, its horrible and im running out of ideas. thanks for the help.
  3. adi316

    Locking text box auto scroll?

    DrJavaJoe using ur code stuff gets added to the window, the scrollbar still goes to the 1st line but then comes up to the last place it was not to all the way down to the bottom. so it is the same as using selstart but it doenst scroll all the way down, which is not what i need.(i have to go...
  4. adi316

    Locking text box auto scroll?

    thanks for the replys ok perhaps i dindnt explain in detail enough what i am doing. i need a multline txtbox because i got a two way terminal basically and i need the user to be able to scroll back to whatever point they want at any time. now when stuff comes in it gets added to the bottom of...
  5. adi316

    Locking text box auto scroll?

    is it possible to stop a text box from auto scrolling up when something is added to it? what i do is txtbox = txtbox + newtext and it scrolls up, and then i have to scroll it back down with txtbox.SelStart=Len(txtbox). considering that i am logging data from the serial port into this text box...
  6. adi316

    How can i make msg boxes that have buttons other than the standard

    thanks i was hoping there was a way to have the buttons say whatever i want using th standard msg box but ig uess ill have to build my own
  7. adi316

    How can i make msg boxes that have buttons other than the standard

    how can i make the msg box say yes/cancel as opposed to yes/no (vbYesNo) to be more specific. TIA
  8. adi316

    Radio buttons question

    hi i got like 15 radio buttons on a form, is there a way to specify a default one when the form is loaded?
  9. adi316

    Can anyone plz look at this?

    MichaelRed -- i tried using ur code and still getting same problem. i'm lost [ponder]
  10. adi316

    Scrollbars question

    is there any way to make the scrollbar automatically go to the bottom most position, other than something like txtBox.SelStart = Len(txtBox) every time i add new data? TIA
  11. adi316

    Can anyone plz look at this?

    lionelhill: well i am expecting a message which is more or less a fixed format. basically every minute i get a header msg and then around 30 lines of output. Each line had an end of line character (however sometimes it is CR + LF and sometimes LF + CR, which i can do nothing about, but i have to...
  12. adi316

    Can anyone plz look at this?

    MichaelRed thanks a lot for the post! i will test it out today.
  13. adi316

    Can anyone plz look at this?

    yes i am trying to add the current line i got from the port into the textbox (i am keeping a log of data from the parallel port) i will try that thanks (howver as i said the prog does work for maybe 24 hours before it unexpectedly get that error) so i am thinking maybe it is from a message it...
  14. adi316

    Can anyone plz look at this?

    hi, this function gives an "overflow" error 6 at random times, and i have no idea why!! plz give me some ideas Private Sub MSComm1_OnComm() If FlStart = True Then 'Button "Start" pressed If MSComm1.InBufferCount >= 1 Then 'Input buffer is not empty...
  15. adi316

    can i parse an int from a string?

    o sorry i guess is hould have mentioned im writting c++, and the <string> class. that code gives me an error: error C2664: 'atoi' : cannot convert parameter 1 from 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' to 'const char *'
  16. adi316

    can i parse an int from a string?

    if so can you tell me the procedure?
  17. adi316

    can i parse an int from a string?

    if so can u tell me the procedure?
  18. adi316

    Problem with string manipulation

    why is it that when i do this: output = line.substr(line.find(&quot;V&quot;),line.find(&quot;/&quot;)) + &quot; &quot;; line.erase(0,line.find(&quot;//&quot;)+3); output+=line; on this line for example: line = 27009V234288/27008G00000000/270008// 14 2707 08 234288 032022 i get this: output...
  19. adi316

    How do i find out the index im on in a listbox

    i need to have an ok button that returns what index i am on in a listbox. anyone know how to do it? tia

Part and Inventory Search

Back
Top