Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRG vs Methods
Message
 
 
To
06/07/2009 23:26:03
Hong Yew
People Quest
Malaysia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01410452
Message ID:
01410455
Views:
99
>HI all
>
>May I know the difference between using a PRG class and a non visual VCX class?
>
>If I need to write a PRG class to process data, is Session base class the most appropriate?
>
>In my method of my class, is there any difference calling a PRG and calling another method beside inheritance capability?
>
>Your advice much appreciated.
>
>Thanks & Best Regards

Hong,

If you want a class doing some data processing, then, IMHO, Session based class is the best suited for the job. I had PrivateSession class, then BusinessProcess class based on PrivateSession class, then bunch of my process classes based on BusinessProcess class at my previous job. Worked great and was quite flexible.

Using class also provides a lot of flexibility comparing to using the program (not a class) for data processing.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform