Date:  09/08/2009 11:44:37 AM Msg ID:  004020
From:  Ali Koumaiha Thread:  004020
Subject:  Hiding core codes in a .app?

I have a client where im developing a web application for him that uses FoxWeb server 4.3

what i want to do, is move my "core" codes from the scripts and i want to put them in a non-visible to the eye type format.

so, i created a class, i called it PortalClass, put it in a prg and all is working fine now still.

In the fwx:

oPortal = CreateObject("PortalClass")
oPortal.CustNo = "CDS100"
.... fwx script goes here...

however, PortalClass.prg is visible to him, and i do not want them to see it. 

can I turn PortalClass.prg into a, or just an fxp?

Then, how can i call/init my classes inside the from his fwx scripts without exposing my codes?

i hope i made sense in this post.