Announcement

Collapse
No announcement yet.

PBForms 1.5 - PBres error

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

  • PBForms 1.5 - PBres error

    I am getting an error message from PBres ( Ver 1.61.0.0 ) when trying to save a dialog that has been re-opened ( save,exit forms and re-open ) and subsequently modified ( say, add button ).
    OS is XP Pro, error message is "error creating .BPR resource"
    Attempting "Save As" shows same error.

    Any Ideas ?

    ------------------

  • #2
    Please .ZIP your files and send them to mailto:[email protected][email protected]</A> so we can have a look.

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Comment


    • #3
      Hi Brad,

      I have got the same problem. So we can be sure that it is not
      our code what is wrong.

      I tried it with several new forms: create, close, reopen, add or
      change something, than no save is possible.

      I think it is a bug in PBForms!

      By the way I tried to contact the support on this problem.

      Peter

      ------------------

      Comment


      • #4
        Guys, if you add an icon to a dialog in the project, does PBRES still GPF when you save the project?

        Also, if you have dual-boot PC's or more than one PC running a different O/S, does the problem occur there too?

        Thanks!


        ------------------
        Lance
        PowerBASIC Support
        mailto:[email protected][email protected]</A>
        Lance
        mailto:[email protected]

        Comment


        • #5
          Hi Lance,

          now some more information.

          I am using Windows 2000 on a pentium 3 (single cpu), no network.
          And hier are the steps to the error:

          - open PBForms
          - New Dialog
          - adding a button
          - save
          - closing PB Forms
          - open PBForms
          - loading last dialog automatically
          - adding a button again
          Now trying to save causes that error.

          Peter


          ------------------


          [This message has been edited by Peter Schlueter (edited January 14, 2004).]

          Comment


          • #6
            ...and if you add a dialog icon?

            ------------------
            Lance
            PowerBASIC Support
            mailto:[email protected][email protected]</A>
            Lance
            mailto:[email protected]

            Comment


            • #7
              Sorry Lance,

              i think i did not read everything of your answer.

              Adding a dialog icon makes it possible to save a modified
              form. Now it works but still is a bug.

              But now i wonder why i cannot see the icon i had to add!

              Do Í have to add anything else - - to see the icon ?


              Peter


              ------------------

              Comment


              • #8
                My test says that if you add an Icon to a new form and then click
                APPLY then OK the Icon reverts to NO Icon.

                If I add an Icon and just click OK everything is fine.

                (The APPLY BUTTON removes the Icon.)

                The ID Editor shows the proper Icon.

                ------------------
                Trento Castricone
                http://www.raineyday.com
                mailto:[email protected][email protected]</A>

                [This message has been edited by Trento Castricone (edited January 14, 2004).]
                Trento Castricone
                www.fileraptor.com
                [email protected]

                Comment


                • #9
                  Hi Trento,

                  My test says that if you add an Icon to a new form and then click
                  APPLY then OK the Icon reverts to NO Icon.

                  If I add an Icon and just click OK everything is fine.

                  (The APPLY BUTTON removes the Icon.)

                  [/QUOTE]

                  that is right and sure it is another bug in PBForms 1.5,
                  but my fault was that i forgot to set the %WS_SYSMENU property.

                  Peter


                  ------------------

                  Comment


                  • #10
                    I never understood what the APPLY button was for anyway.
                    NOT a bug, just to many buttons.

                    ------------------
                    Trento Castricone
                    http://www.raineyday.com
                    mailto:[email protected][email protected]</A>
                    Trento Castricone
                    www.fileraptor.com
                    [email protected]

                    Comment


                    • #11
                      Lance,
                      Just adding say, an image control to the work dialog still resulted in the GPF.
                      Selecting an icon for the image control and the problem dissappeared => no GPF.


                      ------------------

                      Comment


                      • #12
                        Ok, it looks like there is a problem on *some* versions of Windows when the RC file is effectively void of content.

                        I'll have to ask R&D to determine if this is a PBRES or a PBFORMS issue.

                        In the mean time, try adding a version resource to the project instead of an icon.

                        Moving right along, I'll see if I can duplicate the icon issue here. Thanks folks!

                        ------------------
                        Lance
                        PowerBASIC Support
                        mailto:[email protected][email protected]</A>
                        Lance
                        mailto:[email protected]

                        Comment


                        • #13
                          And certainly, adding an icon to the dialog ( OK , not APPLY to keep it visible ) also clears the problem.

                          ------------------

                          Comment

                          Working...
                          X