hicksi
Board Regular
- Joined
- Mar 5, 2012
- Messages
- 203
Oh JOY. My laptop, which had served me faithfully for years, dropped its' Hard Drive. Yes, IT was running 64-bit, but I suspect my Office wasn't.
Anyway, I got this brand-spanking-new toy, 64-bit operating system, and then 'persuaded' a local dealer to sell me a single-user/single-payment copy of Office 2019 PRO. Like, everything, Outlook included!!!
But then came the crunch. It's ALSO 64-bit, and right now I'm not even sure if I'm licensed in that, or somehow still connected to Office 365 (that pay-by-the-year-forever version).
And LO, all my Excel Workbooks crashed (once I had recovered them from Backup, that is).
I have overcome the conditional compile problem (partially) so those old calls to user32 and its fellows now has the ptrsafe option. At least that compiles.
BUT (here comes the questions):
1: I saw a bit of code on a page I was reading where some TYPE-constructs also needed differences (long vs longptr). Is there a document/page somewhere that describes what and why this is, and more particularly lists those types that need to also be conditional-compiled?
The code I saw was on the page Compatibility between the 32-bit and 64-bit versions of Office
and a snippet of the code involved BROWSEINFO:
2: Good old DTPicker is no more. But my users love it... They love to know that 14th February is a Tuesday, and they hate when the form doesn't properly validate a date and a calculation goes awry
I have been able to create a popup calendar form that seems to be working (including being able to clear a date, which has always been a difficult form-based operation).
Moderator, I'll be happy to turn this into a demo if you can tell me where to post it
3: MSCOMCTL.OCX. And probably others that I haven't uncovered as yet. It 'appears' that the UserForms are somehow coping with this anomaly. but in Development mode, it's REALLY BUGGING ME.
I have an ImageList full of icons (16x16 images) that change depending on the condition of the data or enablement of sections of the form. They are changing as expected when running, but the 'Custom Properties' when developing raises the following error:
From Project References, it shows that Microsoft Windows Common Controls 6.0 is in C:\Windows\System32\MSCOMCTL.OCX.
Which was a problem as the installed version is in SysWOW64.
HOW do I move it and register it (if I need to/should do)?
or HOW do I get Excel to go find the one in SysWOW64?
And just to make this all-too-complex, the workbooks that I create may be placed on computers running an older Excel version than 2019 and may still be running 32-bit Excel. So any solution needs to be downward-compatible
Anyway, I got this brand-spanking-new toy, 64-bit operating system, and then 'persuaded' a local dealer to sell me a single-user/single-payment copy of Office 2019 PRO. Like, everything, Outlook included!!!
But then came the crunch. It's ALSO 64-bit, and right now I'm not even sure if I'm licensed in that, or somehow still connected to Office 365 (that pay-by-the-year-forever version).
And LO, all my Excel Workbooks crashed (once I had recovered them from Backup, that is).
I have overcome the conditional compile problem (partially) so those old calls to user32 and its fellows now has the ptrsafe option. At least that compiles.
BUT (here comes the questions):
1: I saw a bit of code on a page I was reading where some TYPE-constructs also needed differences (long vs longptr). Is there a document/page somewhere that describes what and why this is, and more particularly lists those types that need to also be conditional-compiled?
The code I saw was on the page Compatibility between the 32-bit and 64-bit versions of Office
and a snippet of the code involved BROWSEINFO:
VBA Code:
Declare Function SHBrowseForFolder Lib "shell32.dll" _
Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long
Public Type BROWSEINFO
hOwner As Long
pidlRoot As Long
2: Good old DTPicker is no more. But my users love it... They love to know that 14th February is a Tuesday, and they hate when the form doesn't properly validate a date and a calculation goes awry
I have been able to create a popup calendar form that seems to be working (including being able to clear a date, which has always been a difficult form-based operation).
Moderator, I'll be happy to turn this into a demo if you can tell me where to post it
3: MSCOMCTL.OCX. And probably others that I haven't uncovered as yet. It 'appears' that the UserForms are somehow coping with this anomaly. but in Development mode, it's REALLY BUGGING ME.
I have an ImageList full of icons (16x16 images) that change depending on the condition of the data or enablement of sections of the form. They are changing as expected when running, but the 'Custom Properties' when developing raises the following error:
From Project References, it shows that Microsoft Windows Common Controls 6.0 is in C:\Windows\System32\MSCOMCTL.OCX.
Which was a problem as the installed version is in SysWOW64.
HOW do I move it and register it (if I need to/should do)?
or HOW do I get Excel to go find the one in SysWOW64?
And just to make this all-too-complex, the workbooks that I create may be placed on computers running an older Excel version than 2019 and may still be running 32-bit Excel. So any solution needs to be downward-compatible