Page 1 of 1
Bug? Or something I'm doing wrong?
Posted: Sun Mar 30, 2014 7:21 pm
by deanathpc
Using PB 5.21 LTS (x86)
I have no lost half a day's work on forms multiple times. Today was two forms. I compiled/ran my code numerous times today. Left and came back. Went to run it again and I get a procedure error (don't have the exact wording now as the screen is gone). I look up and two of my three forms are blank!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Again!
Gone. Nothing left. Blank forms. I didn't change the code at all. Just fired up PB to do some coding and ran it to see how things looked again and error box, cleared the error and forms gone.
Not a happy camper. Anyone else having this issue? Or had it? Or is it just me? Thank GAWD I backed up last night but everything I did today is gone. SO now I have to go back through and figure out where I was / what was done so I can run it again.
So very frustrating. Windows XP Professional is the system I'm using. I have others but don't code anywhere near the amount on them as I do on my XP system.
What other info you need from me to assist? As I said I don't have the exact message but it was procedure related. Missing one I think. this is at least the 6th time in a month now.
Dean
Re: Bug? Or something I'm doing wrong?
Posted: Sun Mar 30, 2014 8:56 pm
by skywalk
Truly, you must back up more often than daily.
I back up with a PB program I wrote and I store changes to a fossil (SCM) repository.
The process takes 2 keystrokes. Far less the the number of '!'s you typed above.

I do not use the built-in IDE history function due to its resource load and no interest in a 3rd method of backup.
Re: Bug? Or something I'm doing wrong?
Posted: Sun Mar 30, 2014 9:03 pm
by Polo
If you cannot give any precise error I'm afraid I can't help!
Re: Bug? Or something I'm doing wrong?
Posted: Mon Mar 31, 2014 12:20 am
by deanathpc
skywalk wrote:Truly, you must back up more often than daily.
I back up with a PB program I wrote and I store changes to a fossil (SCM) repository.
The process takes 2 keystrokes. Far less the the number of '!'s you typed above.

I do not use the built-in IDE history function due to its resource load and no interest in a 3rd method of backup.
I haven't dealt with a SCM repository personally. But I do need to back up more. I have started to copy the files over by hand which does help some but it's slow going.
If I had more experience with PB I might be able to come up with a program package to do the same as you have. In time. I do have codecaddy installed right now but still learning how to use that too. Probably an easier way than that too I'm sure.
Thanks for your reply!
Re: Bug? Or something I'm doing wrong?
Posted: Mon Mar 31, 2014 12:21 am
by deanathpc
Polo wrote:If you cannot give any precise error I'm afraid I can't help!
Yup I know and I need to get a screen capture package on here so I can take a snap shot of those errors. Quicker and easier that way. When it happens again I'll be posting what I get!
Re: Bug? Or something I'm doing wrong?
Posted: Mon Mar 31, 2014 12:31 am
by skywalk
Shift+PrintScreen
Re: Bug? Or something I'm doing wrong?
Posted: Mon Mar 31, 2014 3:20 pm
by Lothar Schirm
deanathpc,
I suppose you use Polo's Form Designer which is integrated into the IDE? Did you switch your form from "Design View" to "Code View", and did you edit the code of your form? This would be dangerous, because if you write something into the code which the Form Designer cannot translate, the form will be lost, only a blank form may remain and no code at all.
Re: Bug? Or something I'm doing wrong?
Posted: Mon Mar 31, 2014 10:27 pm
by deanathpc
Lothar Schirm wrote:deanathpc,
I suppose you use Polo's Form Designer which is integrated into the IDE? Did you switch your form from "Design View" to "Code View", and did you edit the code of your form? This would be dangerous, because if you write something into the code which the Form Designer cannot translate, the form will be lost, only a blank form may remain and no code at all.
I do in fact use that Form Designer.
And no I did not switch between and add code. I read the warning that all that would be lost if you did that. So I visually change the form then leave the behind the scenes code alone.
Last error I got was: Line 22: 'EndProcedure' without 'Procedure'
Re: Bug? Or something I'm doing wrong?
Posted: Tue Apr 01, 2014 9:45 am
by Lothar Schirm
I also got this error sometimes. When I switch from design to code view and try to compile again, it works. So I ignore it. But I cannot reproduce it now.
Re: Bug? Or something I'm doing wrong?
Posted: Tue Apr 01, 2014 1:11 pm
by deanathpc
Lothar Schirm wrote:I also got this error sometimes. When I switch from design to code view and try to compile again, it works. So I ignore it. But I cannot reproduce it now.
O.K. At least it's not just me then. I'll try your trick and see if that works.
Thanks!
Dean