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

My application close itself after I open it

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

    #31
    Re: My application close itself after I open it

    search your file system for "*.aex" The .aex is missing from the download you gave. I have no idea yet what the name is though. Your app is not using the alpha security.

    Your menus, scripts, functions and other are in there.
    Dave Mason
    [email protected]
    Skype is dave.mason46

    Comment


      #32
      Re: My application close itself after I open it

      I browsed both Zip Files i gave you and I found it.

      there is a file called CRM.aex in the following path ( /CRMSYS/CRM.aex ) of both Zip.

      Double check !!


      Use wilcard to do specific kind of search to locate text or extension on Windows or any other OS.
      https://support.office.com/en-gb/art...rs=en-GB&ad=GB
      Last edited by freesix; 03-09-2016, 12:53 PM.

      Comment


        #33
        Re: My application close itself after I open it

        Originally posted by freesix View Post
        Anyway, let me suggest an idea.

        I tried to comment that "Init_System()" with a ( ' ) in the OnInit Event, of Main Form,
        and when I run it, it didn't display that login/password window. (That's great !!!)
        So the login window that was blocking was bypassed.

        If we can write a new one, I mean a new login/password window to replace we could solve the problem instead of trying to look for that aex source.


        It's just a suggestion !!!
        There is a lot more going on in the init_system() UDF then just the log in. Things like dimming variables and such. I am not saying it is impossible to recreate it or another one to take its place but you would need to keep changing it, running, catching errors, trying to fix them. It would be a daunting task.

        Just for grins, take a look in your C:\Program Files (x86)\a5V11\Addins_installed and see what is in there.

        You could also search the development computer for all CRM.adb files and see if you can find some hidden out somewhere. If you do, you should also find the other CRM.??? files. Backup what you have now before replacing with any that you find.

        Comment


          #34
          Re: My application close itself after I open it

          Good day guys,


          ...any feeback?
          Last edited by freesix; 03-10-2016, 08:03 AM.

          Comment


            #35
            Re: My application close itself after I open it

            Originally posted by freesix View Post
            Good day guys,


            ...any feeback?
            At this point, since you are not able to find the source CRM.??? files and apparently do not have a backup of the app before it crashed it leaves you with 3 choices.
            1. Contact the original developer and see if he has a backup
            2. Try and rewrite all the necessary scripts and UDF's needed to get the app going again
            3. Hire someone to rewrite the application to use the current data tables and sets.

            Comment


              #36
              Re: My application close itself after I open it

              Best for number 1

              Number 2 and three will be time consuming and expensive. Expensive in either hours or money spent.

              You may also check the system for larger zip files where he may have backed up the app that way.
              Dave Mason
              [email protected]
              Skype is dave.mason46

              Comment


                #37
                Re: My application close itself after I open it

                Thanks.

                Unfortunately Number 1 is IMPOSSIBLE to take that way as he did not leave us any of his contact details.
                I even know i tried to contact him 2 weeks after his departure but i could not reach him.
                So forget about that !!!


                DaveM talked about Backup.
                There is a backup folder in each of the zip I sent in the following path : ( \CRMSYS\backup ). I don't know if it could help !!!
                and its full of zip files.
                I tried to unzip two of them and it comes out with .a5bak extension. (I guess its a backup file!!!)
                now how to open it please???



                Question :
                1. Why doesn't the login/password window accept the correct password???

                2. Why does it close itself when I supply the correct password???
                but when I supply the wrong one, it knows that is wrong and ask me again !!! (So It can differentiate a wrong and a correct one. STRANGE !!! )

                3. Where the .aex file is supposed to be once the App is in production??

                because I'm reading alpha five manual (this one)
                on page 116, they tried to explain "Addin Manager".
                but when I run that App, there's no "plugin" in "Addin Manager".

                I read that page and found like we need to put ".aex" file in "C:\Program Files\a5V11\addins_installed"
                I put it in there and I run the App again and found a CRM in "Addin Manager".


                Maybe because .aex file is not included in the CRM when the App start that's why it doesn't accept the correct password.




                4. Please can someone explain me the purpose of Addin Manager???
                Last edited by freesix; 03-10-2016, 01:32 PM.

                Comment


                  #38
                  Re: My application close itself after I open it

                  DaveM talked about Backup.
                  There is a backup folder in each of the zip I sent in the following path : ( \CRMSYS\backup ). I don't know if it could help !!! ' These are created by alpha an virtually no use for the problem
                  and its full of zip files.
                  I tried to unzip two of them and it comes out with .a5bak extension. (I guess its a backup file!!!) ' No it is not
                  now how to open it please???



                  Question :
                  1. Why doesn't the login/password window accept the correct password??? ' All the answers to that are in the missing .aex file

                  2. Why does it close itself when I supply the correct password??? 'It has no password in there to check against
                  but when I supply the wrong one, it knows that is wrong and ask me again !!! (So It can differentiate a wrong and a correct one. STRANGE !!! )

                  3. Where the .aex file is supposed to be once the App is in production?? because I'm reading alpha five manual (this one)
                  on page 116, they tried to explain "Addin Manager".
                  but when I run that App, there's no "plugin" in "Addin Manager".

                  I read that page and found like we need to put ".aex" file in "C:\Program Files\a5V11\addins_installed" ' but it is not there?
                  I put it in there and I run the App again and found a CRM in "Addin Manager".


                  Maybe because .aex file is not included in the CRM when the App start that's why it doesn't accept the correct password. ' Now you got it
                  Dave Mason
                  [email protected]
                  Skype is dave.mason46

                  Comment


                    #39
                    Re: My application close itself after I open it

                    Last look - No password needed - no login form -
                    Other is I bet you have a corrupted adb.
                    I fixed the adb - but have no idea what the log in is to see what happens. I do not like a full page image, but....

                    see this image?

                    crmtabs.png

                    Auto exec is in aex file and it is encrypted. There is much more in the aex as well. YES, I found it
                    Last edited by DaveM; 03-10-2016, 03:20 PM.
                    Dave Mason
                    [email protected]
                    Skype is dave.mason46

                    Comment


                      #40
                      Re: My application close itself after I open it

                      See the SMALL image - I found the aex. No help because it is encrypted. I tried opening with several possible programs.

                      crmtabs.png
                      Last edited by DaveM; 03-10-2016, 03:14 PM.
                      Dave Mason
                      [email protected]
                      Skype is dave.mason46

                      Comment


                        #41
                        Re: My application close itself after I open it

                        Originally posted by DaveM View Post
                        Last look - No password needed - no login form -
                        Other is I bet you have a corrupted adb.

                        Dave,

                        The adb is not corrupted. It contains all the tables, sets, forms, reports, operations and code except for any scripts and UDF's.
                        The aex is there.
                        I also noticed a CRM.dll file. Not sure how the original developer used it in the app.

                        The attached contains his CRM files.
                        Attached Files

                        Comment


                          #42
                          Re: My application close itself after I open it

                          Originally posted by freesix View Post
                          Thanks.

                          Question :
                          1. Why doesn't the login/password window accept the correct password??? It is accepting it.

                          2. Why does it close itself when I supply the correct password??? Something in the init_system() UDF is forcing a shutdown on login.
                          but when I supply the wrong one, it knows that is wrong and ask me again !!! (So It can differentiate a wrong and a correct one. STRANGE !!! ) No, that is telling you that it is working up to the point of accepting the password and then attempting to finish the login.

                          3. Where the .aex file is supposed to be once the App is in production?? In the same folder with the application

                          because I'm reading alpha five manual (this one)
                          on page 116, they tried to explain "Addin Manager".
                          but when I run that App, there's no "plugin" in "Addin Manager".

                          I read that page and found like we need to put ".aex" file in "C:\Program Files\a5V11\addins_installed" This is where you put Add-Ins that enhance or add features that can be used in developing your app. It is not where you put the aex files for the application.
                          I put it in there and I run the App again and found a CRM in "Addin Manager".


                          Maybe because .aex file is not included in the CRM when the App start that's why it doesn't accept the correct password. The aex is included. It is not specified in your apps "compiled Libraries" but this should not affect operation as long as the aex is in the application folder.




                          4. Please can someone explain me the purpose of Addin Manager??? It just shows you what Addins are installed

                          Comment


                            #43
                            Re: My application close itself after I open it

                            @ Preston,
                            The one I have had a corrupted adb. Fortunately it is resolved.
                            I found what looked like users and passwords, but none work. crm aex is where his stuff is. It is encrypted and I have no idea what with ( word)

                            Suggest he maybe able to get alpha help and just maybe get all those back into the code tab. It may cost some money, but way cheaper if it can be done.

                            I found reference to a number of scripts and other to be 90% sure of what I just said.
                            Dave Mason
                            [email protected]
                            Skype is dave.mason46

                            Comment


                              #44
                              Re: My application close itself after I open it

                              Freesix,
                              Question. Do you have access to a computer named mzanzi-pc? Is so, see if you can find a folder mzanazicrm\crmsys and see if there is any thing in there.

                              Comment


                                #45
                                Re: My application close itself after I open it

                                Originally posted by DaveM View Post
                                @ Preston,

                                Suggest he maybe able to get alpha help and just maybe get all those back into the code tab. It may cost some money, but way cheaper if it can be done.
                                It may be worth a try but I am not sure they have away to decrypt an aex. If they do then they have never told anyone that I am aware of. If they can decrypt it they will probably tell him he must buy a subscription to the latest version of Alpha but that would still be cheaper then the other options.

                                Comment

                                Working...
                                X