Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP Progress Bar Problems

Status
Not open for further replies.

itc1

IS-IT--Management
Sep 18, 2003
65
US
Hi, I have a VFP problem. I have made our FoxPro databases where multiple users can access it at the same time by creating an application. Originally, only one person could access the database at a time. However, the prog bars are not working wben building the application. I am getting vcx errors. Any ideas? Thanks in advance.......
 
itc1,
Are you talking about the progress bar that displays when you compile a project? What kind of .vcx errors are you getting? Have you tried replacing the class(es?) with ones from your backups? (If they are VFP FFC classes, have you tried reinstalling VFP?)

Rick
 
Mike and Rick, we designed the prog bar and got the code from somewhere else. The .vcx error says "unable to find unknown cc_onformdestroy. The error is coming from the Visual Class Library for commcontrol.vcx. Thanks again.
 
Itc1,

Given that it is your own progress bar, it's very difficult for anyone here to debug it. Furthermore, that error message you quoted isn't a standard VFP error (at least, I don't recognise it). I suggest you study the code for the progress bar and see if you can figure out what is going wrong.

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Mike we will look into the progress bar problem. Here's my other problem. We have built .app and when we run the .app we are having trouble referencing the main form from another form within the project .app. The error we get is "object is unknown". Any ideas? Thanks.
 
See my response to the properly started new thread! The "rule" is - a new unreleated question, a new thread.

Rick
 
If the main form is a class in the vcx, and is instantiate using createobject (instead of do form) then the problems could be related. It could be the vcx is corrupt. Remember, the vcx is just a table.

The first thing I would do is backup the current vcx and corresponding vct file. If you have a backup of the vcx/vct files – restore them. If not, you can open it exclusively and pack it.




Jim Osieczonek
Delta Business Group, LLC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top