1. Ramesh Govindarajan
  2. PowerBuilder
  3. Monday, 4 January 2021 21:17 PM UTC

We have a old version of the PB Application and its running fine in the production. Its using
mscomm32.ocx control to print labels thru the application. Now we have a newer version of the PB Appeon 2019 R2. When we compile the code and run the newer version then the application is working but the print functionality is NOT WORKING. Getting error  "Error Accessing external object property portopen". Do you have a new version of serial communication control to register for newer version of PB ? Appreciate your response.

Thanks

Ramesh G

 

Attachments (1)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 4 January 2021 21:40 PM UTC
  2. PowerBuilder
  3. # 1

Hi Ramesh;

   That DLL was a control distributed by the long time ago by Microsoft's Visual FoxPro (and later on VB6.0) products...

http://docs.microsoft.com/en-au/previous-versions/troubleshoot/visualstudio/foxpro/send-serial-port-using-mscomm32

  The control was released originally in the W95 / W7 era. Many MS developers are having the same/related issue(s) these days on W10. You may need to ...

1) Download a newer version: http://answers.microsoft.com/en-us/windows/forum/apps_windows_10-winapps-appscat_tools/mscomctlocx-in-windows-10-no-longer-will-load/1804a8cc-3e3e-48c7-87cb-9f3794d94b42

2) Re-register the control:  http://github.com/davidanger/MSCOMM32

Regards ... Chris

 

Comment
  1. Ramesh Govindarajan
  2. Monday, 4 January 2021 22:08 PM UTC
Thanks Chris. I will try this. Appreciate your help.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.