Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jim Hawkins
  Where is Jim Hawkins?
 Douglas, Isle of Man
 United Kingdom
 Jim Hawkins
 To: Ammar Hadi
  Where is Ammar Hadi?
 Al-Samawah
 Iraq
 Ammar Hadi
 Tags
Subject: RE: Failure to run twice
Thread ID: 228627 Message ID: 228634 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: Reports and Printers
Date: Wednesday, May 20, 2009 11:37:36 AM         
   


> > A user of one of my apps which has been in use for years has just found a strange bug.
> > One of the reports will only run once. If she selects it again from the reports submenu, nothing happens - she has to reboot and restart the app to be able to run it again. She can select and run all the other reports except that one and a very similar one, which runs but crashes due to failure to recognize a progress bar class. That similar report runs fine when it's run first, it only crashes when it's run immediately after the other one..
> > The report routines all finish by closing all files and releasing all variables.
> >
> > Can anyone suggest what's happening ?
> >
> > Jim Hawkins
>
> Hi Jim,
> You said: "runs but crashes due to failure to recognize a progress bar class"
> A progress bar class? .. this is to be placed on a form not on a report.
> If you have other users, try to let them use the same reports that caused the bug. If they run smooth, then most possibly this is an issue related to the installed copy of your app in the first user machine. So, try a re-installation and see.
> MS Progress bar object is present in MSCOMCTL.OCX objects library that I used to include in my installation package to avoid such errors.
>
> Ammar Hadi ................IRAQ
>
> My Foxite Weblog
>
> ---------------
> I I I really love foxite
> ___________________________

The progress bar is not in the report itself, but in the program that generates the cursors used by the report.

The bug isn't due to a faulty copy of the app, I have reproduced it on an office PC and confirmed it still occurs after recompiling.


Jim Hawkins

ENTIRE THREAD

Failure to run twice Posted by Jim Hawkins @ 5/20/2009 11:09:23 AM
RE: Failure to run twice Posted by Ammar Hadi @ 5/20/2009 11:24:30 AM
RE: Failure to run twice Posted by Jim Hawkins @ 5/20/2009 11:37:36 AM
RE: Failure to run twice Posted by Ammar Hadi @ 5/20/2009 11:52:58 AM
RE: Failure to run twice Posted by Stefan Wuebbe @ 5/20/2009 11:39:23 AM
RE: Failure to run twice Posted by Ammar Hadi @ 5/20/2009 11:47:55 AM
RE: Failure to run twice Posted by Stefan Wuebbe @ 5/20/2009 11:55:35 AM
RE: Failure to run twice Posted by tushar @ 5/20/2009 12:11:50 PM
RE: Failure to run twice Posted by Jim Hawkins @ 5/20/2009 1:39:23 PM