This started happening to me - and lots of other folks as well. The cause was traced to the Visual Source Safe DLL that shipped with SP 3. The solution was to re-insall the older version of VSS.
>Here's a new one. I have some code that is causing VFP to quit without warning. The code that is causing this is:
>
>CovAmountString = PADL(TRANSFORM(CovAmounts[i], "99.99X"),COLUMN_WIDTH)
>
>where CovAmounts[i] contains a Currency value
>($15.1523 for example)
>
>and COLUMN WIDTH is a defined constant with the value of 12
>
>this code does not generate an error, or even a Dr. Watson. It just shuts VFP down cleanly and quickly (no remnants in the task manager). But it doesn't do it every time.
>
>This code causes this in design mode, as well as in the compiled exe, and I can watch it happen in the debugger (and yes, I have verified all values)
>
>I have created many variations of the code:
>test1 = CovAmounts[i]
>intest1 = $ 16.4572
>test3 = TRANSFORM($ 16.4572, "99.99")
>test4 = TRANSFORM(intest1, "99.99")
>intest1 = CovAmounts[i]
>test2 = TRANSFORM(CovAmounts[i], "99.99")
>test4 = PADL(TRANSFORM(intest1, "99.99X"),12)
>test5 = PADL(TRANSFORM(CovAmounts[i], "99.99X"),25)
>test6 = PADL(TRANSFORM(CovAmounts[i], "99.99X"),6)
>
> and some of these cause the error sporadically too. The offending lines are in a tight loop, so it may not fail on the first iteration, but it usually does on one of them.
>
>Probably irrelevant but possibly related info:
>NT 4.0 SP 3, VFP 5.0a
>I recently installed Adobe PDFWriter and Distiller, but this is not present on other machines where the shutdown happens. This app is installed on 10 other machines and 3 so far have seen this behavior.
>
>
>What is going on? Do I need to reinstall VFP?
>
>This code is in a very important and often used routine, so any help will be greatly appreciated.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only