To clarify, it's not the WINDOWS OS version that should be the issue it is the OFFICE/Access installation.
In fact, I run OFFICE2013(32bit) installations on my home pc under Windows8.1(64Bi t) and at work under Windows7Enterpr ise(64Bit) without any issues.
The ONLY time I've ever encountered the ""The code in this project must be updated for use on 64-bit systems. (...)"" error message was on a OFFICE 64bit install which we promptly un-installed and re-installed 32bit OFFICE version because the user didn't need the additional features of the 64bit version as described in the link provide in my last post. The reason my friend installed the 64bit OFFICE version was because he thought that because the OS was 64Bit then the Office install should be too, frankly, that was my first thought too until I started researching the issue for him.
Frankly, I would simply alter the api call for the PC name to use the ptrSafe - hasn't caused any issues on my 32bit installations; however, you can use the contional
In fact, I run OFFICE2013(32bit) installations on my home pc under Windows8.1(64Bi t) and at work under Windows7Enterpr ise(64Bit) without any issues.
The ONLY time I've ever encountered the ""The code in this project must be updated for use on 64-bit systems. (...)"" error message was on a OFFICE 64bit install which we promptly un-installed and re-installed 32bit OFFICE version because the user didn't need the additional features of the 64bit version as described in the link provide in my last post. The reason my friend installed the 64bit OFFICE version was because he thought that because the OS was 64Bit then the Office install should be too, frankly, that was my first thought too until I started researching the issue for him.
Frankly, I would simply alter the api call for the PC name to use the ptrSafe - hasn't caused any issues on my 32bit installations; however, you can use the contional
#IF... #END IF construct as shown in the link just to be sure there are no issues.Code:
Private Declare [iCODE]PtrSafe[/iCODE] Function apiGetComputerName Lib "kernel32" Alias _
"GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Comment