+ Reply to Thread
Results 1 to 7 of 7

USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits

  1. #1
    Registered User
    Join Date
    08-01-2011
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    11

    Exclamation USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits

    hello

    I intend to open a user form, but the error appears: "Compile error: Expected: list or separactor)"

    The liberals are wrong?

    I'm working with 64bit system and excel 2010, windows 7



    Please Login or Register  to view this content.
    Attached Images Attached Images

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits

    Hello Flash_Azul,

    The following API declaration for FindWindowA is incorrect. It should be...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    08-01-2011
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits

    Quote Originally Posted by Leith Ross View Post
    Hello Flash_Azul,

    The following API declaration for FindWindowA is incorrect. It should be...
    Please Login or Register  to view this content.


    thanks, now the library does not already appear in error.

    But I still can not open the form "user form"

    I send the error appears in the annex.
    Attached Images Attached Images

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits

    Hello Flash_Azul,

    Change the data type for HWND and exLong from Long to LongPtr.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-01-2011
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits

    Quote Originally Posted by Leith Ross View Post
    Hello Flash_Azul,

    Change the data type for HWND and exLong from Long to LongPtr.
    Please Login or Register  to view this content.



    Still in error, I am to follow your tips.
    I would appreciate your help
    Attached Images Attached Images

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits

    Hello Flash_Azul,

    The definition for GetWindowLong is incorrect. It should be ...
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-01-2011
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    11

    Thumbs up Re: USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits

    Quote Originally Posted by Leith Ross View Post
    Hello Flash_Azul,

    The definition for GetWindowLong is incorrect. It should be ...
    Please Login or Register  to view this content.

    Thanks for your help. The program is already working. OK

    Flash Azul

+ 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