Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an executable
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01338423
Message ID:
01338494
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
>OK. That makes sense but I have tried this and I am still getting an error and I believe it is because the database connection has not been established as I am getting an object null reference.
>

You need to initialize the framework first. I don't have the code handy here at home but take a look at a MM.NET WinForm app, inside of the startup program - there is some code there that starts up the App object. There is also a help topic about using MM.NET with NUnit, which is basically the same idea.

The code you need to use is something like:
public static OakLeaf.MM.Main.mmAppBase App;
// You may have a different (subclassed) App object.
App.Factory = new AppBase();
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform