Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to force a COMRETURN ERROR
Message
 
À
24/02/2005 20:16:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00990304
Message ID:
00990395
Vues:
26
>>Since there is no client side "on error" service - would I need to implement a COMRETURNERROR inside the COM's error method?. It seems the error procedure (in the COM) would be enough for a reset and an alert notification?
>>
>>IOW - a browser COM does not require COMRETURNERROR?
>
>What is the process a communication between the client and the COM? Is this a URL in the browser someone is typing?

In some cases, the browser will fire the URL (a request for service from foxISAPI/MTDLL). The action could be a FORM ACTION (GET/POST) or javascript "onclick" function (GET).

Sometimes the COM will return script (to set states) with a URL included in an onload that requests an HTML file:
* This init function sets a button state and then tagets the HTML "file" to
* load at a specific frame
[function Init(){]+CR+;
[window.parent.frames("LMSFrame").document.forms("buttonform").next.disabled=false]+CR+;
[window.parent.frames("Content").document.location="]+lcReturnURL+["}]+CR+;
[window.onload=Init;]+CR+
Thanks
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform