Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange error
Message
De
24/10/2014 04:10:26
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
23/10/2014 08:54:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01609570
Message ID:
01609848
Vues:
97
>>>>>...and let me give it a try with this. Suggesting this reshuffle of code:
>>>>>
>>>>>
SET ASSERTS ON
>>>>>use in select("language")
>>>>>
>>>>>If !File(xlngfile)
>>>>>	Return nesne
>>>>>Endif
>>>>>
>>>>>select 0
>>>>>Use (xlngfile) Alias Language Again Shared //----error occurs at this line
>>>>>
>>>>>Also, is it possible that the file is in exclusive use in another datasession? I know that normally that would cause a different error, but we're already long way from normal.
>>>>
>>>>my error report code sends me list status and list memo too and seem language really used in this datasession and I don't use private datasession with this application. Because it's a POS application. Every time there is one screen, no windows, every file open as exclusive except this file... :)
>>>
>>>OK so what happened with the suggestion to change that alias? Perhaps "language" is something used internally by fox for something. Can you try to call it something else, just to get that off the list of suspects?
>>
>>I gave up...
>>
>>I changed my code, I don't open language table every time anymore. Users should have to exit and reopen application when changed their language than...
>
>That's sad. We where curious what goes wrong. Do you have run any test I've suggested?

I know what are you feeling. When I couldn't find something like that makes me bad. I want to know why like you... :)

But I'm just tired. I don't use a private datasession with this application, so I didn't try your suggested code. Also I stopped all timers with no success... I know there's something wrong, because I use this code my other applications without generate any error (My other applications use private data sessions, I don't know if this's about using private data session)...

This's a simple code, there's no any technical issue like using activex, web service or anything, just pure VFP code. I usually solve VFP code problems with myself. :(
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform