+ Reply to Thread
Results 1 to 3 of 3

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

    I HAVE A PROBLEM WITH USER FORMS.
    THE COMPUTER COMPANY WHERE WORK HAS 32bit OPERATING SYSTEM WITH WINDOWS XP, HOME HAVE THE OPERATING SYSTEM WITH Widows 7 64Bit. THE USER FORMS USED IN THE WORK THAT DO NOT WORK AT HOME.


    "Compile Error:
    THE CODE IN THIS PROJECT MUST BE UPDATED FOR USE ON 64-BIT sytems. PLEASE REVIEW AND DECLARE UPDATED STATEMENTS AND THEN WITH THE ATTRIBUTE PTRSAFE. "

    Please Login or Register  to view this content.

    THANK YOU,
    FLASH AZUL
    Attached Images Attached Images
    Last edited by Flash_Azul; 09-08-2011 at 06:42 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202

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

    There should be no problem with using the two systems. It may be your API call, but certainly Option Explicit should be before any code at all

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

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

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

    If you have 64bit Office at home as well as 64 bit Windows, then you need to alter the API declarations to (I think):
    Please Login or Register  to view this content.
    and put that in a conditional compilation section using
    Please Login or Register  to view this content.
    with your 32bit declarations in the #Else section.

    MS has released a new WinAPI text file that you can get here.
    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