|
-
Aug 11th, 2006, 02:04 PM
#1
Thread Starter
New Member
[RESOLVED] runtime error 7 out of memory
hello all
I'm new here and having a problem with my vb6 code .
i have 2 forms in the project one of them containing msflexgrid .
the project works fine in my computer , but in my second computer i'm getting runtime error 7 out of memory when the program loads the form with the msflexgrid ,
when i'm remove the flexgrid from the form it works with no errors .
any idea what can i do to solve it ?
thanks
-
Aug 11th, 2006, 02:45 PM
#2
Re: runtime error 7 out of memory
 Originally Posted by kennyw
... but in my second computer i'm getting runtime error 7 out of memory when the program loads the form with the msflexgrid...
Does that happen at runtime or in design? If first then is there chance to see what you do when form loads?
-
Aug 11th, 2006, 02:55 PM
#3
Re: runtime error 7 out of memory
Are you actually installing the program on your friend's computer or did you merely copy forms, etc.?
-
Aug 11th, 2006, 02:56 PM
#4
Re: runtime error 7 out of memory
BTW
-
Aug 11th, 2006, 03:14 PM
#5
Thread Starter
New Member
Re: runtime error 7 out of memory
 Originally Posted by RhinoBull
Does that happen at runtime or in design? If first then is there chance to see what you do when form loads?
it's happen in run time only - when the program loads the form with the grid ( the other form running fine ) ,
when i'm removing the grid it's running fine and the form loads .
when the form loads i'm just initialize some variables .
-
Aug 11th, 2006, 03:17 PM
#6
Thread Starter
New Member
Re: runtime error 7 out of memory
 Originally Posted by MartinLiss
Are you actually installing the program on your friend's computer or did you merely copy forms, etc.?
i'm running the exe of the project ,
both computers has windows xp but only my computer has visual studio installed .
-
Aug 11th, 2006, 03:20 PM
#7
Re: runtime error 7 out of memory
You can't do that with VB - you must make an installation package and install the program on the other computer.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Aug 11th, 2006, 03:21 PM
#8
Re: runtime error 7 out of memory
I've moved this to here because 99% of the time you need to create a set of setup files and install them on the other computer. To do that you can use the P&D Wizard that comes with VB, Inno, or any of several other programs.
-
Aug 11th, 2006, 03:32 PM
#9
Thread Starter
New Member
Re: runtime error 7 out of memory
 Originally Posted by MartinLiss
I've moved this to here because 99% of the time you need to create a set of setup files and install them on the other computer. To do that you can use the P&D Wizard that comes with VB, Inno, or any of several other programs.
can you please give me links how to create setup with vb ?
thanks
-
Aug 12th, 2006, 01:57 PM
#10
Re: runtime error 7 out of memory
to use the Package & Deployment wizard, comes with Visual Studio, goto;
Add-Ins Menu->Add-In manager.
double click the Package & Deployment Wizard. It will show Loaded on its right...
umm, this will take long time. Please check the Distributing your Application page on MSDN. Explained using VB 6 as reference.
to use Inno Setup compiler, download the Inno Setup and a script writers from the Third party files. most of the script writers are free. it also includes a step-by-step instruction manual on how to use Inno.
there also NSIS Install system by Nullsoft. it is another hassle-free packaging system.
post back if you face any problem.
-
Aug 13th, 2006, 12:15 PM
#11
Re: runtime error 7 out of memory
-
Aug 15th, 2006, 03:40 AM
#12
Thread Starter
New Member
Re: runtime error 7 out of memory
 Originally Posted by Harsh Gupta
to use the Package & Deployment wizard, comes with Visual Studio, goto;
Add-Ins Menu->Add-In manager.
double click the Package & Deployment Wizard. It will show Loaded on its right...
umm, this will take long time. Please check the Distributing your Application page on MSDN. Explained using VB 6 as reference.
to use Inno Setup compiler, download the Inno Setup and a script writers from the Third party files. most of the script writers are free. it also includes a step-by-step instruction manual on how to use Inno.
there also NSIS Install system by Nullsoft. it is another hassle-free packaging system.
post back if you face any problem.
thanks
the Package & Deployment Wizard worked fine , and my my program running fine now .
-
Aug 15th, 2006, 09:07 AM
#13
Re: runtime error 7 out of memory
Now that we've helped you, you can help us by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button which will let everyone know that you have your answer.
-
Aug 15th, 2006, 10:16 AM
#14
Thread Starter
New Member
Re: runtime error 7 out of memory
 Originally Posted by MartinLiss
Now that we've helped you, you can help us by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button which will let everyone know that you have your answer.
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
|