Results 1 to 3 of 3

Thread: Out of memory error importing word form with flexgrid

  1. #1

    Thread Starter
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Out of memory error importing word form with flexgrid

    I've recently programmed a word macro which contains several forms, some of which have flexgrids on them. I've exported all the objects and am now trying to import them onto another users machine.

    However, whenever we try to import one of the forms with a flexgrid on we get an error message: "error during load, refer to log for details" followed by a system error (-2147467259) and a message "out of memory". The form then imports but the flexgrid doesn't show on it. The log reads "line 2: property ole object blob on myForm could not be set." We're both using the same version of the flexgrid control (MSFLXGRD.OCX, v6.0.88.4).

    Can anyone tell me what the problem is here and a possible get around? Thnx

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Out of memory error importing word form with flexgrid

    Are both systems running the same version of Word? Can you post what the property is that the error is from
    when trying to set it?

    How much memory does the other system have?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Out of memory error importing word form with flexgrid

    Hi Rob, thanks for coming back to me.

    Unfortunately I haven't got access to the other machine today so I'm not not sure what versions of word were involved. They are running windows 2000 & windows XP respectively though so it's v. likely they are.

    I'm not sure what your second question meant. The error happens at the point you try to import the form onto the second (w2K) machine but there's nothing to identify any particular property causing the error. I've only narrowed it down to flexgrid because it seemed the likely culprit when it didn't appear on the form after import and a quick test where I removed the grid stopped the error occurring.

    As for the amount of memory available, again I don't have the exact amount at the moment but it's safe to say there's plenty.

    Anyway, in the end I've rewritten it as a vb addin and no longer get the problem. I'd still be curious if anyone else has ever seen this.

    ps - Like the badger! far more amusing than those swirly squares.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width