Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access Denied C0000005 error in VFP5
Message
 
To
30/12/1998 10:21:09
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, California, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00171005
Message ID:
00171781
Views:
39
George,
Please note that this has NOT been tested completely!!

We found the problem occurred when I used a grid based on the VMF grdPickList or grdDataEntry classes. If we entered code to programmatically set the controls source property it would bomb IF we entered a line for each column. In other words, if I was using 6 columns and had six lines:
this.column1.controlsource = 'chnum'
...
this.column6.controlsource = 'Description'
then I had a problem. If I added a seventh column, leaving the controlsource, header, etc. blank I had no problem. Cheesy solution: Add an extra column to my grids.

I've tested this by removing code lines one by one. It's definitely the line corresponding to the 'last' column that's causing the problem. We've repeated it on 3 machines, 2 OS and about 6 forms, so it is consistent and repeatable.
The code was moved from the 'SetColumnControlSources' method to the 'ShellAdditionalInit' method but still caused the same problem. It's grid-based, not method-based.

HTH
Barbara

>Can you be more specific about the problem and your work around. We are also using MaxFrame. I would really appreciate it.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform