Bug? Or something I'm doing wrong?

You need some new stunning features ? Tell us here.
deanathpc
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Feb 23, 2014 12:17 am

Bug? Or something I'm doing wrong?

Post 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
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Bug? Or something I'm doing wrong?

Post by skywalk »

Truly, you must back up more often than daily. :idea:
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. :wink:
I do not use the built-in IDE history function due to its resource load and no interest in a 3rd method of backup.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Bug? Or something I'm doing wrong?

Post by Polo »

If you cannot give any precise error I'm afraid I can't help!
deanathpc
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Feb 23, 2014 12:17 am

Re: Bug? Or something I'm doing wrong?

Post by deanathpc »

skywalk wrote:Truly, you must back up more often than daily. :idea:
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. :wink:
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!
deanathpc
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Feb 23, 2014 12:17 am

Re: Bug? Or something I'm doing wrong?

Post 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!
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Bug? Or something I'm doing wrong?

Post by skywalk »

Shift+PrintScreen
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Lothar Schirm
User
User
Posts: 54
Joined: Mon Nov 26, 2012 4:57 pm

Re: Bug? Or something I'm doing wrong?

Post 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.
deanathpc
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Feb 23, 2014 12:17 am

Re: Bug? Or something I'm doing wrong?

Post 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'
Lothar Schirm
User
User
Posts: 54
Joined: Mon Nov 26, 2012 4:57 pm

Re: Bug? Or something I'm doing wrong?

Post 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.
deanathpc
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Feb 23, 2014 12:17 am

Re: Bug? Or something I'm doing wrong?

Post 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
Post Reply