Cannot save code changes on a form anymore ( Win7 Prof 64 Bi

The place for peer-to-peer support for developing client-server applications with VPME 9.1.

Cannot save code changes on a form anymore ( Win7 Prof 64 Bi

Postby rg400005 » Fri Dec 16, 2016 5:15 pm

Hi,
since some days I cannot edit and save a form anymore.
-tempfile .... to big... when I click it away I get cannot load ole.dll.
Also I cannot build anymore : VFP seg fault.

System is Win7 Prof 64 Bit.
I didnt change anything, but may one of those Win7 updates.

Anybody seen this before...
I can open the form, but when I change a line or a control I get temp..... too big----
HD has enough space. SCX is ok: I have opened it as a table.

BR Rainer
rg400005
 
Posts: 72
Joined: Fri May 04, 2012 6:52 am

Re: Cannot save code changes on a form anymore ( Win7 Prof 6

Postby Bob » Sat Dec 17, 2016 6:14 am

I wonder if you have Activity Tracking and/or Audit Trails turned on in the VPME development environment. These files can get quite large ...
Bob
 
Posts: 718
Joined: Mon Jun 14, 2010 6:53 am
Location: Near Albany, NY

Re: Cannot save code changes on a form anymore ( Win7 Prof )

Postby rg400005 » Sat Dec 17, 2016 7:33 am

Hi Bob,
Thx for the fast feedback.
Not at Runtime....
Development : i Open a Form and add a line or control.
Then try to save it...
Error Tmp to large
Is there a location I can install vfp , avoiding agents and UAC ?
Now its at a location excluded from a virus scanner .
Whats happening behind the scenes when saving the form inside a vpme environment ?
Should i place the code of the form in a seperate prg ?
If yes : how do I get the form values inside a ext prog without refactoring everything to classes and avoiding a lot of params in the method call?
-now I can use thisform....

BR

Rainer



.
rg400005
 
Posts: 72
Joined: Fri May 04, 2012 6:52 am

Re: Cannot save code changes on a form anymore ( Win7 Prof 6

Postby stecenko » Sat Dec 17, 2016 3:07 pm

I think you have a corrupted memo file for that form.

You could try Stonefield to repair it or try an older backup.
Richard Stecenko
Interactive Computer Services Inc.
Victoria, British Columbia
204.453.2052
stecenko
 
Posts: 822
Joined: Mon Jun 21, 2010 8:06 pm
Location: Saanich, British Columbia

Re: Cannot save code changes on a form anymore ( Win7 Prof 6

Postby rg400005 » Sat Dec 17, 2016 7:36 pm

Hello Richard, if the solution is so simple, this is my best christmas gift ever.
Mans many thx :D
Rainer
rg400005
 
Posts: 72
Joined: Fri May 04, 2012 6:52 am

Re: Cannot save code changes on a form anymore ( Win7 Prof 6

Postby rg400005 » Mon Dec 19, 2016 11:17 am

Update : restored my backup. Same story
Open ,edit something ( even code snippets) press save, error, tmp... to big.....
Must have something to do with updated registry setting, as system update or a agent.
I have reinstalled vfx and vfp, do now a full scan, and will install vfp and vfx again.
Also I will try it on my Win10 machine.

Thx for all the support.

Rainer
rg400005
 
Posts: 72
Joined: Fri May 04, 2012 6:52 am

Re: Cannot save code changes on a form anymore ( Win7 Prof 6

Postby stecenko » Mon Dec 19, 2016 2:22 pm

If you want to, email me the form. If I can open it and save it then that might indicate what the problem is.

stecenko@interact.mb.ca
Richard Stecenko
Interactive Computer Services Inc.
Victoria, British Columbia
204.453.2052
stecenko
 
Posts: 822
Joined: Mon Jun 21, 2010 8:06 pm
Location: Saanich, British Columbia

Re: Cannot save code changes on a form anymore ( Win7 Prof 6

Postby Bob » Tue Dec 20, 2016 6:36 am

A few more questions ...

Do you get a VFP error number?
Anything in the VPME error log?
What does SYS(2023) return?
Bob
 
Posts: 718
Joined: Mon Jun 14, 2010 6:53 am
Location: Near Albany, NY

Re: Cannot save code changes on a form anymore ( Win7 Prof 6

Postby rg400005 » Thu Dec 22, 2016 5:09 am

Hello Bob,
sorry for the late answer.
At the end I found a backup and I can open the form also with memo, but save and even copy and paste is impossible.
What I saw is, the header of one method was missing .
Return ....
code
return

instead of

Return ....
func header
code
return

What I have learned from that.

1. do more backups.
2. simplify forms
3. make a hardcopy
4. put out the code of the form, even it is very convenient for rapid prototyping.

Q: how do I handle form values outside of a form in a separate prg.
As there is no thisform... and I don't want write procs with a lot of params

If I have saved the values of the form
can I use alias.name to access the data outside of the form ?
BR Rainer
Many many thanks for the support....
VPME / VFP rocks....
rg400005
 
Posts: 72
Joined: Fri May 04, 2012 6:52 am

Re: Cannot save code changes on a form anymore ( Win7 Prof 6

Postby Bob » Thu Dec 22, 2016 7:23 am

What do you mean by form values? The value of form controls, ie textbox.value or value of a field in a table/cursor in the form's data environment? Both are fairly easy, but you may need to account for saved or unsaved values.

Quite common to validate the content of user's value before allowing the cursor to leave a field, or possibly, before closing a form.

Can you be more specific about what you are trying to accomplish?
Bob
 
Posts: 718
Joined: Mon Jun 14, 2010 6:53 am
Location: Near Albany, NY

Next

Return to VPM Enterprise 9.1 - Client Server

Who is online

Users browsing this forum: No registered users and 1 guest

cron