Sudden VS Form Design error: The designer could not be shown for this file ...

We encourage new members to introduce themselves here. Get to know one another and share your interests.
ic2
Posts: 1695
Joined: Sun Feb 28, 2016 11:30 pm

Sudden VS Form Design error: The designer could not be shown for this file ...

Post by ic2 »

Hello Robert,
robert post=26079 userid=253 wrote: -next: started to remove variable declarations ... and BINGO, its the "PUBLIC CONST" declaration! So, I'm going to change my code and use the contemporary "rn" where needed. Note: remember, this compiled and executed just fine.
This is what I still don't understand. If this is the cause, how could it have worked previously and not anymore when restoring the complete backup?

If I had an issue like this and restoring a backup, it was invariably some VS problem. Otherwise restoring a backup solved it.

Dick
User avatar
robert
Posts: 3815
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Sudden VS Form Design error: The designer could not be shown for this file ...

Post by robert »

Dick,
I would love to blame Ms for this, but this was an error in our code...

Robert
XSharp Development Team
The Netherlands
ic2
Posts: 1695
Joined: Sun Feb 28, 2016 11:30 pm

Sudden VS Form Design error: The designer could not be shown for this file ...

Post by ic2 »

Hello Robert,

This you wrote, but that still keeps me wondering how it was possible that the earlier version worked for him, and once he did restore this very same working version from the backup it didn't.

Dick
User avatar
Chris
Posts: 4183
Joined: Thu Oct 08, 2015 7:48 am

Sudden VS Form Design error: The designer could not be shown for this file ...

Post by Chris »

Hi Dick,

I suspect that Roland had restored an earlier version of the form.designer.prg file, but kept the form.prg with the code that caused the problem.

.
Post Reply