Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run console app from Form
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01558782
Message ID:
01558789
Vues:
52
>>Hi All, is it feasible to think I can execute a console app from a Winform and have the app raise events in my form ( purely for a progress report) ?. The reason I ask is. I have a command line exe which I would like to use as a standalone engine ( it basically scans a location on a server for documents and logs them in a database ) but also use it from a gui. It's difficult to put into words but I suppose what I'm saying is can my console app be used from both the command line and from a form.
>
>Why not just encapsulate the functionality in a class and call it from either the form or the console app?

Cheers Viv, why do I always over complicate things :-( ?
Regards,
Peter J. Kane



Pete
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform