Gary,
>How can I get this TestBusiness object to work in a console application test program.
>
> public class DTest : ABusinessObject
> {
> public DataSet oDS = new DataSet();
> public DTest()
> {
> this.DatabaseKey = "Gary";
> this.TableName = "BillingTables";
>
> }
> public void Test()
> {
> mmDataAccessBase dao = this.GetDataAccessObject();
>
> this.DataSet(oDS, "BillingTablesSel", CommandType.StoredProcedure);
> }
> }
>the first line in the test method crashes.
>
> add key="Gary\Connection" value="server=Dtdev02;uid=Gary;pwd=Trucking;database=Gary;"
The information you're looking for is in the MM .NET Dev Guide topic "Creating a Windows Service".
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com