Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Microsoft Dynamics GP VBA + MsFlexGrid Control

Posted on by 475

Dear all,

Would like to seek advice if anyone know the solution for below issue:-

We have customization package which involved the MsFlexGrid Control.  I'm trying to installed/import the customization on the system Windows 7 32 bit with Office 2007.  A compile error message pop-up saying that "method or data member not found".  

The same issue with previous system (windows XP with Office 2007 and below) could be solved with just re-register the msflxgrd.ocx and re-import the customization packages.

Thank you.

*This post is locked for comments

  • MSGPUser Profile Picture
    MSGPUser 140 on at
    RE: Microsoft Dynamics GP VBA + MsFlexGrid Control

    Hi Tim,

    I am using GP10 sp1,  For my issue  I just copied MSFLXGRD.ocx and MSFLXGRD.oca and MSFLXGRD.dep files from working PC to PC with the problem and after reregister it worked. I think MSFLXGRD.OCA file is not required.

    I got similar error that is not related to FlexGrid  like when reference to any DLL is missing. eg retrieve globals.dll was missing.

    Try adding  vba user form  and add flex grid control run  the form.

    Regards,

    Muhammed

  • Ting Ling Heong Profile Picture
    Ting Ling Heong 475 on at
    RE: Microsoft Dynamics GP VBA + MsFlexGrid Control

    Hi Mr Muhammed,

    Do you mean copying MSFLXGRD.OCX, MSFLXGRD.OCA AND MSFLXGRD.DEP files in windows system32 folder from working PC to the PC with the problem ? May i know what's version of the said file that you use to register? I did tried to copy the MSFLXGRD.OCX to system32 and re-registered it but no luck.  While, I din see the file MSFLXGRD.OCA inside the folder system32 on working PC.

    I'm using GP10 SP5 on Windows 7 32 bit, what version of the said files are comply/work stable with it?

    Thank you!

  • Suggested answer
    MSGPUser Profile Picture
    MSGPUser 140 on at
    RE: Microsoft Dynamics GP VBA + MsFlexGrid Control

    Hi Ting,

    Copying  MSFLXGRD.OCX, MSFLXGRD.OCA  AND MSFLXGRD.DEP  files in windows system32 folder  and reregistering the msflxgrd.ocx fixed the issue for me long time back.

    Regards,

    Muhammed

  • Ting Ling Heong Profile Picture
    Ting Ling Heong 475 on at
    RE: Microsoft Dynamics GP VBA + MsFlexGrid Control

    Thanks Mr Natarajan for your suggestion. However not much related to my case and tried some of the suggestion but no luck.

    Actually I have 2 new PCs with the same spec and software installed.  Applying and troubleshooting with the same steps that i normally do on Windows XP, one of the PC able to run the customized windows (which have MsFlexGrid control added) without problem at the end.  

    But, another PC still have the said problem even after re-format and re-install the GP application.

    Is there any other suggestion?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft Dynamics GP VBA + MsFlexGrid Control

    Hi Ting,

    Please find the attached forum article that may assist you to solve the above case

    forums.codeguru.com/showthread.php

    http://melf.eloxion.com/programming/how-to-use-ms-flexgrid-on-a-windows-764-bit/

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans