Solved

Using XMS with VB dos ver 1.0 pro edition

Posted on 1998-09-27
5
294 Views
Last Modified: 2012-06-27
how do i compile/link programs in VB for dos ver 1.0 professional edition to use XMS memory ?
i encountered this problem because when running my compiled application and loading two forms i get an out-of-memmory error in module X.my compiled program is over 530k!
0
Comment
Question by:asaf_koren
[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
  • 2
5 Comments
 

Author Comment

by:asaf_koren
ID: 1436837
Edited text of question
0
 

Author Comment

by:asaf_koren
ID: 1436838
Adjusted points to 240
0
 

Author Comment

by:asaf_koren
ID: 1436839
Adjusted points to 250
0
 
LVL 2

Expert Comment

by:kswinney
ID: 1436840
I tried to do what you're trying to do several years ago.  Unfortunately, because of the way VB-DOS handles memory (or rather, doesn't handle it) it won't use XMS or EMS for its own storage.  You can, however, use XMS or EMS for storing your own data, freeing up conventional memory for VB-DOS.

Sorry, but I'm afraid there's not much you can do about it.
0
 
LVL 2

Accepted Solution

by:
kswinney earned 250 total points
ID: 1436841
... however, if you design it to use "Chain" to switch back and forth between different forms, you can effectively reduce the amount of RAM being used at any given time.

You can't design apps in VB for DOS like you can in VB for Windows.  You can't have one big EXE that holds all the forms.

You need to modularize and use "Chain" to move between them.

HTH,

Ken.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 - Convert HH:MM into Decimal 8 76
clicking a shape in a frame array vb6 3 55
Export Data to Different .csv Files 27 133
Get the Y value of a line at X in a chart in VBA 28 74
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

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