Information générale
Catégorie:
Code, syntaxe and commandes
>Hi All:
>
>Is it possible to use the .NET command window interactively the same way as VFP and if so, what's the syntax and where do the results display?
>
>Luke
Luke,
The .NET command window is really a DOS command prompt with the PATHs preset to make it easy to use the .NET external tools. VB.NET, C#, J#, etc. are all compiled languages, so there really is no way to run ad-hoc commands without compiling them first.
A work-around to this limitation is to add a console project to whatever solution you are working in. Console projects are lightweight enough that you can quickly write and execute top-down code for things like pre-loading a database or isolating and testing sections of code.
Unfortunately, there is no way to interrupt program execution and execute ad-hoc commands within the context of the interrupted program.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement