Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp.project.count is invalid
Message
From
06/02/2023 00:36:09
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
05/02/2023 22:53:48
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
01686124
Message ID:
01686125
Views:
52
Hi John,
GoFish is of latest Version, 5.1.009?

What happens if you issue ?_vfp.projects.count on command line?
Do you have more then one project open?
If, can you close projects one by one?
What is the return if no project is open?

Looking up the GoFish code I'm puzzled what code you are running. The only occurrence of .projects.count so far will not be reached, because I don't see a call for the method. Can you give the location of the error?

Lutz

>Hoping somebody can assist:
>
>A weird error cropped up today affecting Gofish 5 and my own automated builder.
>
>Issus is that when GoFish or my builder attempts to access _VFP.projects.count , the count property is invalid.
>
>"OLE error code 0x8002801d: Library not registered."
>
>In the debugger Window, _vfp.projects is an object with a count property, but count shows "Expression cannot be evaluated" whether a project is open or not.
>
>_VFP.activeproject appears normal and reflects the open project.
>
>This error happens in both VFP9SP2 and VFPA.
>
>As it's a sudden weird error, I deleted foxuser.* and foxtask.*, without success.
>
>Any ideas?! I have worked around it using activeproject, but Gofish returns a slew of errors every time it starts.
>
>I am unaware of any other changes today that might explain this, so any ideas appreciated!
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform