Basic4ppc has stopped working error

Discussion in 'Questions (Windows Mobile)' started by rlkummer, Jan 8, 2009.

  1. rlkummer

    rlkummer Member Licensed User

    Hi,

    I installed a new hardrive on my laptop and I now get the "Basic4ppc has stopped working" error whenever I run my program. Not sure what I am missing when I reinstall Basic4ppc.

    TIA,


    Ron:confused:
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Please go to Control Panel - Add/Remove Programs and remove all instances of Basic4ppc Desktop.
    Afterward reinstall the latest version and it should work fine.
     
  3. rlkummer

    rlkummer Member Licensed User

    Hi Erel,

    The error only seems to occur with programs that I have written, not with any samples or downloaded examples. Even if my programs are in the same folder with the other software, I still get the error.

    I have uninstalled and reinstalled twice.

    Ron
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Please post some code that demonstrates this error.
    One possible "popular" error is calling AppClose within sub Form_Close.
    AppClose closes the form which again raises Form_Close...
     
  5. rlkummer

    rlkummer Member Licensed User

    Erel,

    I don't think the error is in my code because it all worked on my old harddrive. Something must be different in my setup of Vista or Basic4ppc on the new harddrive.

    Ron
     
  6. agraham

    agraham Expert Licensed User

    What do you mean by "run my program"? As source in the desktop and/or device IDE? As an exe optimised or legacy compiled by your previous installation? As an exe optimised or legacy compiled by your new installation? Which of these do work, if any? We really need more detail to even guess what might be wrong.
     
  7. rlkummer

    rlkummer Member Licensed User

    Sorry for the confusion.

    I am writing programs on my laptop (desktop IDE) using Vers 6.50. I plan to transfer the programs to my pda. My code is under construction, but worked fine on my old harddrive with Vista. I would click the RUN icon from the desktop IDE and the program would execute.

    After installing my new drive with Vista on it, when I click RUN from the desktop IDE I get the "Basic4ppc has stopped working" error (Vista error).

    Since the code worked before, there must be something in my Vista setup that is different, but I am not sure where to start looking.

    This applies to any program that I wrote on my old drive that I copied to my new harddrive.

    Neither my old Vista installation or my new installation has the UAC active.

    I have run Vista SFC and all is well.

    Any help would be appreciated!

    Thanks,

    Ron:sign0085:
     
  8. agraham

    agraham Expert Licensed User

    Does this apply to ALL the programs you wrote before? What about new programs? What happens with an empty app such as


    Code:
    Sub Globals
       
    'Declare the global variables here.
    End Sub

    Sub App_Start
       
    End Sub
     
  9. rlkummer

    rlkummer Member Licensed User

    Agraham,

    Yes, this error occurs on All of my programs that I copied to my new drive. No, the code you sent does NOT generate the error.

    I used forms, modules, and editable table in my programs.

    Ron
     
  10. agraham

    agraham Expert Licensed User

    Does more complicated code that is freshly written on your new system run? Add a Form to the code and Show it. Does it work now? Add some controls, then event code etc. and see how it goes.

    How did you copy the old programs to the new drive? If you want to post one of your old programs that doesn't run I can see if I can run it on my Vista system.

    Also you could try loading the simplest program (in terms of number of forms and controls) that doesn't run into the IDE. Select the source and copy it to the clipboard. Do a File->New and paste the source back. Rebuild the Forms(s) and controls in the Designer and see if it works then. If so open the two sources, old and new, in WordPad and see if there are any differences in the first part of the file before the Globals Sub is declared. Then report back.
     
  11. rlkummer

    rlkummer Member Licensed User

    Simple new programs work OK. If I add a table to a form, however, I get the Windows error "Basic4ppc has stopped working" error.

    Programs were copied by cutting and pasting to portable drive then to the new drive from the portable drive.

    I am not sure what all the codes mean in the at the beginning mean. I can't get one of my copied programs to work, so I can't compare.

    It still seems that I must have something configured differently on this Vista install versus my old Vista. Things worked fine there, but not here.

    I downloaded Basic4ppc again and reinstalled, same error.

    Ron:confused:
     
  12. rlkummer

    rlkummer Member Licensed User

    Here is a sample with a form with a table.
     
  13. agraham

    agraham Expert Licensed User

    I'm afraid to say that works OK here. From what you say it looks like something to do with tables. Perhaps Erel will have an idea :confused:
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    Can you compile your application? Does it run fine?
    Try to run Basic4ppc as an administrator by right clicking on Dbasic.exe and choosing Run As Administrator. See if it helps.
     
  15. rlkummer

    rlkummer Member Licensed User

    Erel,

    The code will compile OK, but I get the same error when the exe file is executed.

    Running as an administrator did not solve the problem.

    I am going to try a repair install of Vista to see if that helps.

    Ron
     
  16. rlkummer

    rlkummer Member Licensed User

    I ran the repair Vista option and it errored out with a corrupt registry error. Not sure how that happened, but it is new install with no restore points, so I guess I will have to do another clean install. Ouch!

    Thanks to all for your efforts!

    Ron
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice