Solved

VB6 PROGRAM GETTING TO LARGE ???

Posted on 2007-03-30
6
154 Views
Last Modified: 2010-04-30
Using VB6 writing a program wich is growing, and keeps growing, and still adding code.
As a 'old' dos-programmers I was used to the fact someday its big, to big. Then I had to split my progam in pieces and chain them.
Now I don't have clue how VB handles memory, ny program runs on a 1 giga mem. system, will I run in a problem some day that the
program will be to big?. If so I have allready to start considering now to split, like qbasic-dos.
I do use (offcourse) a lot off forms with all their work and functions, wich are called by the user from the main-form/module.
Can I go on adding forms to the main-program?,  or run in error?
So I like to know how VB6 handles this, and if this ok to do.
0
Comment
Question by:BIAPRO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 500 total points
ID: 18824996
These days I don't think you have much to worry about. Just how big is the EXE file?

Kevin
0
 

Author Comment

by:BIAPRO
ID: 18825035
1.17 MB and still growing
Jack
0
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 18825076
That is not big at all. When you get to around 10 or 20 MB we can talk.

The only "memory" issues I have ever run into (and I have built some large apps) are recursive calls - before you know it you have blown the stack. But you will see that right away.

No worries, mate! Code away!

Kevin
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:BIAPRO
ID: 18825114
Ok,  by recusive calls you mean like in Qbasic gosub/return??,  or just call from a private sub another private sub?
Jack
0
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 18825202
A recursive call is when you call the same routine from within that routine. This technique is often used in sort routines or routines that parse directories. It can also occur if an event handler generates more events that trigger that same event hander.

Kevin
0
 

Author Comment

by:BIAPRO
ID: 18825388
Ok thats not happening a lot,
thanks for the lessons
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question