Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating an executable
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01338423
Message ID:
01338494
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform