Activex error for one user
Activex error for one user
VLF-WIN, we use VA_WORD from shipped examples to work with MS Word. One user started getting the errors below when using one component that uses VA_WORD. Other components are fine.
I've tried recompiling the components that use VA_WORD but he's still getting the same errors. Line 813 in my component is the SET_REF to VA_WORD.
Thanks for any info
I've tried recompiling the components that use VA_WORD but he's still getting the same errors. Line 813 in my component is the SET_REF to VA_WORD.
Thanks for any info
Last edited by atostaine on Fri Feb 07, 2020 8:03 am, edited 1 time in total.
Art Tostaine
Re: Activex error for one user
The version of Word on the deployed computer must be the same as the version registered in the Active X.
Re: Activex error for one user
It looks like maybe there is a mismatch. I go into the IDE and open the activeX component. When I click to update the ProgID the IDE crashes. When I click typeLibId I can't see the latest version of Word activex there.
Art
Art
Art Tostaine
Re: Activex error for one user

Here is what I use. This is under "Other Components" when looking at the ActiveX Component Browser.
Hope it helps.
Chad
Re: Activex error for one user
Thanks Chad. I was able to type that in manually somehow. Waiting for testing results.
Art Tostaine
Re: Activex error for one user
Regarding this bit "When I click to update the ProgID the IDE crashes."
Check out this https://www.lansa.com/support/notes/p0463.htm
ActiveX crash in Visual LANSA editor after applying Windows 10 update
I know there has been a round of Windows updates recently so this is a distinct possibility.
Check out this https://www.lansa.com/support/notes/p0463.htm
ActiveX crash in Visual LANSA editor after applying Windows 10 update
I know there has been a round of Windows updates recently so this is a distinct possibility.
Re: Activex error for one user
This worked. Thanksbark wrote: Wed Jul 31, 2019 10:57 am Regarding this bit "When I click to update the ProgID the IDE crashes."
Check out this https://www.lansa.com/support/notes/p0463.htm
ActiveX crash in Visual LANSA editor after applying Windows 10 update
I know there has been a round of Windows updates recently so this is a distinct possibility.
Art Tostaine
Re: Activex error for one user
Can we mark this one as resolved?
Re: Activex error for one user (RESOLVED)
Need to revisit this
Here is what my DEV pc shows when I'm trying to select the Word activex component. Notice the "FF" in the type id.
When I click on the typelib ID to add that, I go to the microsoft word component, select it and it brings in a different typelibid. The FF is what the end users have on their systems.
Any users who deploy the latest application from DEV are all failing when using word. The get that the progid needs a type id specified.
We have Office 2016 installed on all PC's.
Any ideas? Thanks
Here is what my DEV pc shows when I'm trying to select the Word activex component. Notice the "FF" in the type id.
When I click on the typelib ID to add that, I go to the microsoft word component, select it and it brings in a different typelibid. The FF is what the end users have on their systems.
Code: Select all
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_MCCO) Progid('Word.Application.16') Typelibid('{00020905-0000-0000-C000-000000000046}8.7,0')
End_Com
We have Office 2016 installed on all PC's.
Any ideas? Thanks
Art Tostaine
Re: Activex error for one user (RESOLVED)
I think what you are saying is that the end users still have the same version of MS Word but the TypeLibID on your own dev PC has changed so when you build and deploy, it fails for the users. Correct?
So what has changed on your PC since this was last OK? Did you get a new update of Office 2016? Have you moved to 64-bit MS Office (and Word)? Can you type it in manually?
So what has changed on your PC since this was last OK? Did you get a new update of Office 2016? Have you moved to 64-bit MS Office (and Word)? Can you type it in manually?
Re: Activex error for one user (RESOLVED)
Several users had upgraded to Office 2019 and this problem started. So we put DEV and all PC's on Office 2016 so they all match.
Something is wrong when I select the Activex the typelibid doesn't show what I double clicked on.
Something is wrong when I select the Activex the typelibid doesn't show what I double clicked on.
Art Tostaine
Re: Activex error for one user
We submitted an incident to support in USA. Does anyone think the fact that I click one activex that after selecting it shows a different type lib id could be an IDE problem?
Art Tostaine
Re: Activex error for one user
I used Regedit to remove Word activex entries for older versions. In fact I deleted all of them and then did a repair in programs and features. This solved my problem.
Art Tostaine