Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Automation server
Message
De
18/07/1997 13:02:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00040466
Message ID:
00040613
Vues:
33
Brent FOA I would suggest instantiating and releasing objects in the global.asa instead of any single page (this uses less resources and its faster) as for your problem look at the foxisapi example that ships with VFP btw I am familiar with ASP (s) - take a look at www.vfug.org Arnon > >Thanks for the tip but I'm still confused. If your not familiar with the >Active server scripting, the code between the <% and %> runs on the server. > Point the browser to this page will generate the table >(c:\bds\sampleJudge.dbf) but it stops before the HTML code " Did it >work???" is returned. IE nothing is being returned by IIS. The >abbreviated code is below. > >Also, is there a way to manually kill a DLL in NT 4.0? > > >Thanks for the help, >Brent > >******* VFP Class******************************************* >*-- Class: createcursor (c:\bds\brent.vcx) >*-- ParentClass: custom >*-- BaseClass: custom >* >DEFINE CLASS createcursor AS custom OLEPUBLIC > Name = "createcursor" > PROCEDURE buildit > use c:\tcms20\data\judge > sele * from judge INTO TABLE c:\bds\sampleJudge > clos all > ENDPROC > *-- release from memeory > PROCEDURE terminate > RELE (THIS) > ENDPROC >ENDDEFINE >*-- EndDefine: createcursor > >******* Active Server Script ********************************* ><%@ LANGUAGE="VBSCRIPT" %> > > > > > >Document Title > > > ><% Dim bds > Set bds = Server.CreateObject("myserver.createCursor") > bds.BuildIt > > bds.terminate >%> > > Did it work??? > > > > >>doing foo=nothing clears the referenc in the ASP pages it does not >release >>the object >>call a method that will do that in the automation server >> >>Arnon > >
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform