Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Feb 2001
    Jackson, Mississippi, USA
    Thanked 0 Times in 0 Posts

    Set Focus; SR1-A and VBE6.dll (VB6 )


    I have a form with a list box , text boxes and a command button used to add items to the listbox . In VB5 (Word 97), I use a set focus back the first text box after successfully adding an item to the listbox.

    The set focus does not work on my form when it runs under VB6.

    I found Q237863 in MSN Knowledge Base that says this is a problem with VBA, and to install the SR-1/SR-1a service pack.

    My network administrator is reluctant to do so.

    In the MS documentation detailing fixes under Office 2000 Service Releases, an entry under Visual Basic 'description' says "Forms3 setfocus works with modal userforms as expected" and references the vbe6.dll as file affected.

    My vbe6.dll file is dated 3-11-99. Is there a newer version installed under SR1-A? If so, do you think my setfocus problem could be solved by replacing only the vbe6.dll file in lieu of installing the service pack?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 94 Times in 90 Posts

    Re: Set Focus; SR1-A and VBE6.dll (VB6 )

    I'm not sure swapping the file is a good idea, since there may be some unknown dependencies. On the other hand, if you save your work frequently, a VB6 crash is not the end of the world.

    Perhaps, though, you should remind your network administrator that ALL recent security patches for Office REQUIRE at least SR-1a, and that is a good reason to roll it out. At least to you.

Posting Permissions

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