|
-
Jul 1st, 2005, 04:23 AM
#1
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
-
Jul 1st, 2005, 12:08 PM
#2
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jul 4th, 2005, 03:21 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|