3 Attachment(s)
Re: [VB6] - WinRT Interfaces & XAML Islands TypeLibs for VB6/VBA x86 and VBA7 x64
Quote:
Originally Posted by
VanGoghGaming
I am more interested why exactly it produced Type mismatch only for @cliv above. Maybe it's an issue with SP6 not being installed or more likely an outdated TypeLib, either way it should work correctly all the time.
Attachment 196049Attachment 196050Attachment 196051
Re: [VB6] - WinRT Interfaces & XAML Islands TypeLibs for VB6/VBA x86 and VBA7 x64
That's interesting, my VB6 doesn't display "Forms3: 12.0.4518.101" in the bottom-right corner. The rest of numbers are the same, Version 9782 and VBA: Retail 6.0.9782. Wondering what's up with that Forms3 stuff?
Re: [VB6] - WinRT Interfaces & XAML Islands TypeLibs for VB6/VBA x86 and VBA7 x64
Quote:
Originally Posted by
VanGoghGaming
That's interesting, my VB6 doesn't display "Forms3: 12.0.4518.101"
...because i have i installed Microsoft Access 2007 for old database and Microsoft Office LTSC Professional Plus 2021
Edit (Copilot):
Forms3: 12.0.4518.101 is the version of the Microsoft Forms 2.0 ActiveX library (FM20.DLL) that Visual Basic 6.0 is using on your system. Forms3 is the internal name used by Microsoft for the third?generation MSForms library, which provides the controls used in VB6 and VBA UserForms. Forms3 corresponds to the DLL: FM20.DLL
This DLL is installed with Microsoft Office, not with VB6 itself.
The version you see: 12.0.4518.101 corresponds to Office 2007 (Office 12).
1 Attachment(s)
Re: [VB6] - WinRT Interfaces & XAML Islands TypeLibs for VB6/VBA x86 and VBA7 x64
Even AI is stumped by this comparison conundrum! :D
Attachment 196052
I've finally managed to reproduce the error eventually by deleting the registry key entirely. It turns out vbNullString is not a valid comparison value for an integer! :bigyello:
Re: [VB6] - WinRT Interfaces & XAML Islands TypeLibs for VB6/VBA x86 and VBA7 x64
Quote:
Originally Posted by
VanGoghGaming
I've finally managed to reproduce the error eventually by deleting the registry key entirely. It turns out vbNullString is not a valid comparison value for an integer! :bigyello:
With "Option Strict On" this would never have happened. :D Just kidding. CStr(APITRUE) is enough to solve the problem. :)
Re: [VB6] - WinRT Interfaces & XAML Islands TypeLibs for VB6/VBA x86 and VBA7 x64
> With "Option Strict On" this would never have happened
Too bad the option is not available in MIDL :-))
cheers,
</wqw>
1 Attachment(s)
Re: [VB6] - WinRT Interfaces & XAML Islands TypeLibs for VB6/VBA x86 and VBA7 x64
Quote:
Originally Posted by
VanGoghGaming
It turns out vbNullString is not a valid comparison value for an integer! :bigyello:
Fixed this bug and uploaded the new samples collection archive. This version also includes the BindableRecordset project which is an Access MDB Database editor using a WinRT XAML ListView control bound to an ADODB Recordset.
This project focuses on editing the Customers table from the classic Northwind.mdb database while bridging technologies several decades apart:
- a classic ADODB Recordset is used to open the table
- a modern XAML ListView control is bound to this Recordset with an implementation of the IBindableVector interface
The binding is set to two-way mode and triggered on PropertyChanged so that every change is recorded in real time and saved to the database.
Attachment 196113