Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XFRX Problem
Message
 
 
À
28/06/2020 12:34:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
01675039
Message ID:
01675043
Vues:
50
>>>>Hi,
>>>>
>>>>I am creating a small program which is called from the ASP.NET app. This VFP 9 program is designed to convert a report into a PDF. I copied a code that does pretty much the same, from my main VFP 9 application (and works well), in the small program.
>>>>Below is the code:
>>>>
>>>>loSession = XFRX("XFRX#INIT")
>>>>lcOutputFile = "mytest" 
>>>>llPreview = .F.
>>>>lcOutputType = "PDF"
>>>>lnRetVal = loSession.SetParams(lcOutputFile, ,Not llPreview, , , , lcOutputType)
>>>>loSession.ProcessReport(tcReportFrxName,,, "NEXT 1")
>>>>
>>>>
>>>>I added some test code and check that the loSession is created. And it is an object.
>>>>But then on the line Set.Params, I get this error:
>>>>
>>>>“allowed DO nesting or expression evaluation level exceeded”
>>>>
>>>>So, the code does not even get to the line .ProcessReport but chokes on the SetParams.
>>>>
>>>>Could anyone suggest to what I am maybe missing?
>>>>
>>>>TIA
>>>
>>>I don't do ASP.net, but I know that it doesn't use .T. or .F., instead it uses true and false.
>>
>>The code above is all in the VFP 9 program. All that ASP.NET does is calls this .EXE (created in VFP 9). And I have done it before, calling a VFP 9 EXE from this ASP.NET
>
>OK, sorry for my confusion.

Any input could lead to a solution :) Thanks.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform