Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

HELP!!! Alpha 5 not releasing on shutdown

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HELP!!! Alpha 5 not releasing on shutdown

    We are running A5V5 on a peer to peer network and have Win2K and also WinXP - We have had trouble with Alpha not releasing memory when we close the program.

    After running Alpha and then closing the program the task manager shows that it is gone but system info shows it still running. Shutting down windows we get the screen that says that Windows is trying to shut down Alpha but it will not respond. In windows the System Information window shows that Alpha is still running and is using 99% of the CPU time. All other programs slow to a snails pace.

    I've downloaded the latest build of Alpha and it has had no effect. This has been happening on both the WinXP and the 2K machine.

    We need to get this resolved as we want to put Alpha Back online here.

    Has anyone else had this problem or a solution to it?

    #2
    RE: HELP!!! Alpha 5 not releasing on shutdown

    Dan

    Normally this problem occurs when something in the code leaves a form or table open. In every case where I have seen the problem, it has been a problem in the code, not Alpha.

    Some areas where you might see this

    Dialog forms opened but not closed explicitly
    Tables opened in xbasic and not closed
    A form left in edit mode
    A user function with an error that doesn't complete the function code and leaves the function open
    A unending loop in the code or a circular process
    Any unresolved error in the code anywhere in the database

    This is not very explicit, but then these problems can be hard to trace. The big problem is that frequently the problem is intermittant. I had one form that would cause this problem if I closed the form before a script on a save button was completed. Depending on how quick the code ran, the problem would come and go.

    Jerry

    Comment


      #3
      RE: HELP!!! Alpha 5 not releasing on shutdown

      Dan,

      To confirm Jerry's on the right track (as ususal) you might try opening and then closing the AlphaSports application... leaving your custom app closed the entire session.

      What does TaskManager report ?

      -- tom

      Comment


        #4
        RE: HELP!!! Alpha 5 not releasing on shutdown

        Task manager reports nothing running. All tasks closed.

        System information however shows A5 running.

        Based on the Jerry's and your response, is there any way to assure everything is shut down before closing A5 ?

        If I go back to the control panel before shutting down and make sure all windows are closed, would that insure that everything was complete? Often times I just hit the big "X" in corner of the main window to leave...maybe this isn't the best way to go?

        I'll try a few things here and see if it makes a difference.

        Dan

        Comment


          #5
          RE: HELP!!! Alpha 5 not releasing on shutdown

          this may or may not apply - but I can't get alpha to work properly when I open a form as a dialog

          this should work:

          f=form.load("someform","dialog")
          f:someobject.value="now is the time"
          f.show()
          f.activate()
          f.close()
          'the form should now be closed - but it isn't
          'the work around I am using is to add:
          if is_object("someform")
          :someform.close()
          end if
          'now it is closed
          'if the form is not closed you may get error messages when trying to close and/or compact the database, etc.
          so if you are opening forms as dialogs - this may be the problem.
          Cole Custom Programming - Terrell, Texas
          972 524 8714
          [email protected]

          ____________________
          "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

          Comment


            #6
            RE: HELP!!! Alpha 5 not releasing on shutdown

            Dan,

            Have you disabled the automatic refresh for the Control Panel ? It's an option in the Advanced section of View / Settings.

            -- tom

            Comment


              #7
              RE: HELP!!! Alpha 5 not releasing on shutdown

              Martin

              I think the problem is in your code syntax. One issue is that it appears the code is placing the form in edit mode but not saving the change.

              f=form.load("someform","dialog")
              f:someobject.value="now is the time"
              ' that line will probably put the form in change mode
              f.show()
              f.activate()
              ' this line shown below should force the form to save
              f.commit()
              f.close()

              I frequently will add a commmit() or cancel() line before the form is closed in xbasic to force the form to do one or the other.

              Also try removing the activate() as it isn't needed. The show() command makes the form visible and stops processing of the script. When the form closes, the activate() command tries to activate it again, leaving the form open. If you want to use the activate(), it should be before the show()

              Dialog forms are very picky about correct syntax. A small error can have big consequences.

              Jerry

              Comment


                #8
                RE: HELP!!! Alpha 5 not releasing on shutdown

                I have a similar problem. I have an application with no code, just forms written by wizards. I close the application and then Alpha V. I am using Windows 2000 and the Task Manager shows nothing. Nevertheless, when I close down, I get a screen saying "Closing Alpha V" followed by another screen saying "Cannot close Alpha V. Terminate application? You may lose unsaved data. Close now? y/n." I say yes and the system shuts down. I repeat the question asked by another, how do I make sure Alpha V is fully closed? Naturally this problem is intermittent. Thanks Ed

                Comment


                  #9
                  RE: HELP!!! Alpha 5 not releasing on shutdown

                  thanks Jerry
                  as soon as did as you suggested, it closes correctly - thanks
                  Cole Custom Programming - Terrell, Texas
                  972 524 8714
                  [email protected]

                  ____________________
                  "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                  Comment


                    #10
                    RE: HELP!!! Alpha 5 not releasing on shutdown

                    Martin

                    Like many users, I struggled with dialog forms until I learned a few simple rules like the ones in my message, and constantly reminded myself to be very exact in syntax. Now I find them very useful and reliable. I use them frequently.

                    Jerry

                    Comment


                      #11
                      RE: HELP!!! Alpha 5 not releasing on shutdown

                      Tom,
                      I will check that on all the computers although one of the problem ones is a runtime version so it just goes right to the menu and gets shut down with the close window "X".

                      I also noted that when I was trying to duplicate the problem on my laptop after getting the input from here I couldn't get it to happen on that computer...go figure huh?

                      Same code but no problem so I will compare settings and give it a go.

                      Dan

                      Comment

                      Working...
                      X