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

jay121Asked:
Who is Participating?
 
ee_autoConnect With a Mentor Commented:
Question PAQ'd, 500 points refunded, and stored in the solution database.
0
 
GrahamSkanRetiredCommented:
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.
0
 
3_SCommented:
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?
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
jay121Author Commented:
Hi

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

jay
0
 
3_SCommented:
What is the OS your are running on? Version of Just Basic?
0
 
jay121Author Commented:
It  jbwin101.exe running on XP pro
0
 
3_SCommented:
Do you have local admin rights when you start jbwin101.exe. This is needed to start jbwin101.exe after default installation
0
 
jay121Author Commented:
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.
0
 
3_SCommented:
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.)
0
 
jay121Author Commented:
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
0
 
3_SCommented:
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.)
0
 
jay121Author Commented:
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
0
 
3_SCommented:
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?
0
 
jay121Author Commented:
HI 3_S,

Thanks for the link,

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

jay
0
 
jay121Author Commented:
Please close this question

Thanks to all who contributed

Jay
0
 
jay121Author Commented:
Is there a way to give power user UAC on a appliction/ program to a user instead of to the user on the system
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.