|
-
Aug 5th, 2004, 12:46 PM
#1
Thread Starter
Lively Member
Error:"Out of Memory" in VB6. {RESOLVED}
Hello Everyone,
When i opend my application in vb6.0, it gives messge
"Out of memory" . I do not see any problem. My app contains atleast 15 forms, 30 classes and 6 modules. But that shoul not be problem.
Does anybody has any idea or same experince? Plase provide your feedback.
Thanks in advance
Hdave
Last edited by hdave; Aug 6th, 2004 at 01:56 PM.
~~~......Hope never dies. one has to work for it to make it reality.......~~~
-
Aug 5th, 2004, 12:53 PM
#2
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 
-
Aug 6th, 2004, 09:01 AM
#3
Thread Starter
Lively Member
I tried to reinstall Visual Basic 6.0. Still it is gives same error:
"Runt time error: 7
"Out of Memory"
I do not have any clue. Why it is doing? What could be problem? is it anything related with database interface or connectivity or use of COM or OLE automation?
I do not see any problem. But i am not able to run my application.
Please, help me out. I have trying since two days. Provide your feedback.
Thanks lot.
Hdave
~~~......Hope never dies. one has to work for it to make it reality.......~~~
-
Aug 6th, 2004, 10:24 AM
#4
Does it only happen on this one project?
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 
-
Aug 6th, 2004, 10:54 AM
#5
Just thought about if it is only one project, then you may be able
to get around it by re-creating the .vbp file. Sometimes they get
corrupted even though they look ok when you open them with
notepad. I ran into something like this, but it wouldnt compile
only crash during compile. So I created a new .vbp by creating a
new project, then adding all the references, forms, modules, and
classes. Then I saved it as the original file name (all this in a
different folder, copy all the forms,etc to this new folder). Tested
and it worked. Maybe this will work for you too?
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 
-
Aug 6th, 2004, 11:18 AM
#6
Thread Starter
Lively Member
I am trying your way. Let us see. I will send you reply.
Thanks man.
HDave
~~~......Hope never dies. one has to work for it to make it reality.......~~~
-
Aug 6th, 2004, 12:43 PM
#7
Thread Starter
Lively Member
thumb:
Thanks very much man!!! Now it is working. But i do not see any reason why .vbp file got corrupted?
Hdave
~~~......Hope never dies. one has to work for it to make it reality.......~~~
-
Aug 6th, 2004, 01:02 PM
#8
No prob.
As long as its working now, guess that is what really matters.
Dont forget to resolve both threads.
Later.
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 
-
Aug 26th, 2004, 12:58 AM
#9
Junior Member
hello
ur vb6 some dll muzt me currupted
first remove (uninstall) vb6 completly
and then install it as a new .................
-
Aug 26th, 2004, 12:42 PM
#10
Originally posted by hdave
thumb:
Thanks very much man!!! Now it is working. But i do not see any reason why .vbp file got corrupted?
Hdave
vaishu999, did you read this post?
Only on one project so it's not a corrupted vb dll. Probably
happens when vb crashed or the project was closed down
incorrectly.
{RESOLVED}
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 
-
Aug 26th, 2004, 11:20 PM
#11
Junior Member
Hi RobDog888
yes i saw this u r right this error is due to project not close properly or when any project run somtimes we not close no. of recordsets and connections command objects that why it creats
lot of temp files it slows vb and when too much load created then its currepts dlls so vb can't open single project due to no. of temp files in memory
thanks RobDog888
vaishu
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
|