Link to home
Start Free TrialLog in
Avatar of jay121
jay121Flag for United States of America

asked on

Virtual Machine Stack Overflow in Just Basic

I receive the error " Virtual Machine Stack Overflow " when trying to run the application. the link
http://justbasic.conforums.com/index.cgi?board=novice&action=display&num=1129367716
 is not helpful in my case. I do not know what to do with the codes.

Thanks for your help

Jay

Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

In Visual Basic the most common cause of a Stack Overflow error is a recursive procedure that has not been controlled properly.

A recursive procedure is one that calls itself. There should be some condition to tell when the recursion has gone deep enough, so that the procedure does not continue indefinitely to call itself.
Avatar of 3_S
3_S

Do you have the source code of the program? Or can you tell something more about the application? Application name?
Or is this when you try to start Just Basic?
Avatar of jay121

ASKER

Hi

There was no error during the installation. The error happens when trying to run JUst BAsic

jay
What is the OS your are running on? Version of Just Basic?
Avatar of jay121

ASKER

It  jbwin101.exe running on XP pro
Do you have local admin rights when you start jbwin101.exe. This is needed to start jbwin101.exe after default installation
Avatar of jay121

ASKER

Is there a way to start without giving the users the local admin rights. What I did as an alternate is to assign the users as power users in the domain to run the application without getting the error.
Normally you should give fiull right to the user on the folder where Just Basic is located and also change registry to give user write rights on the Just Basic entries.  (this is the same as running as power user.)
Avatar of jay121

ASKER

Hi 3_S,

I got the problem solved the old fashioned way. I had to give the user, power user permissions and that got it working. It is better to give rights as power user instead of admin rights.


Thanks
Jay
Yes it's beter to give them power user rights than admin. The power user exists to let older program run on windows NT (2000,XP). (where the security is not implemented correctly)
The best would be to search which files and registry entries are needed to run the program, so the program can be run as default users. (As power user you can damage the OS and install unwanted programs.)
Avatar of jay121

ASKER

Hi 3_s

"The best would be to search which files and registry entries are needed to run the program, so the program can be run as default users"

How to find out which files are required to run the just basic program or any application for that matter.

Thanks for your comment
Jay
Start with using Process explorer
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
Also look at how many time you spent on this and how many users are affected with this. Maybe programmers need to be more than standard users, and all this is just a waste of time.
Can you explain you environment where you want to run just basic and the reason it must run as a restricted user?
Avatar of jay121

ASKER

HI 3_S,

Thanks for the link,

This is a school enviornment. I will play wih Process explorer and let you know.

jay
Avatar of jay121

ASKER

Please close this question

Thanks to all who contributed

Jay
Avatar of jay121

ASKER

Is there a way to give power user UAC on a appliction/ program to a user instead of to the user on the system
ASKER CERTIFIED SOLUTION
Avatar of ee_auto
ee_auto

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial