richtextbox selbullet problem

Posted on 2005-04-29
Last Modified: 2007-12-19
Hi experts
When i save a rtb with a bulleted list everything is fine until i reopen this file.
when i reopen i have a few very small bullets on the next line after the bulleted list.
What are these? And do i remove thwm?
Thank you
Question by:isnoend2001
    LVL 7

    Accepted Solution

    We have been unable to come up with a solution thus far:


    Author Comment

    Thganks for your reply Burbble
     used part of your code and think i have come up with a descent hack

    Dim lPos As Long
    lPos = InStrRev(rtbMain.Text, vbCrLf) 'This procedure selects the last line in rtb
          If lPos > 0 Then lPos = lPos + 1
            rtbMain.SelStart = lPos
            rtbMain.SelLength = Len(rtbMain.Text) - lPos
            rtbMain.SelText = Replace(rtbMain.SelText, Chr$(183) & Chr$(9), "")
            rtbMain.SelStart = Len(rtbMain.Text)
    need to test

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
    When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now