+ Reply to Thread
Results 1 to 2 of 2

Show Inputbox characters as starts

  1. #1
    Forum Contributor
    Join Date
    11-07-2005
    Posts
    280

    Show Inputbox characters as starts

    Hi everyone,

    I have th following code to show InputBox characters as stars and it works perfectly.

    However, when we use the same code with Application.inputbox instead of the normal InputBox, the code doesn't work and doesn't give an error!!!

    Any suggestions for that?

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Thank you,
    Attached Files Attached Files

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Show Inputbox characters as starts

    There are 3 problems there:
    1. The Application.Inputbox dialog class is not "#32770", it's "bosa_sdm_XL9"
    2. The editbox control on the dialog is class "EDTBX", not "Edit"
    3. Most importantly, I can't find a way of getting the dialog to recognise the EM_SETPASSWORDCHAR message. It may be that it simply won't work. However, since you are using it as a password dialog, why don't you just use the VBA.Inputbox instead?
    Remember what the dormouse said
    Feed your head

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1