CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    Jul 2003
    Posts
    5

    Angry Return line number from text box

    Hello to everyone,

    This is my first post so please bear with me. I am trying to return the 'correct' line number from a textbox. I have seen several examples in forums but the nearly all do not work quite right. i.e when the user scrolls up and down the lines with the cursor keys there is inconsistent line number values.

    The only one I have seen that works superbly is from the microsoft support website - Microsoft Knowledge Base Article - 186271 (HOWTO: Manipulate Text Box Contents). It works fine, BUT (there is always a but isn't there?) when the program exits, most of the time you get an Application Error...arrrgghhh!!!

    The article is at:

    http://support.microsoft.com/default...NoWebContent=1

    Please, please does someone know how to code this line number problem (properly) or know where the knowledge base article error lies. I am using VB6, under Windows 2000.

    Thanks,

    David.
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured