General information
Category:
Coding, syntax and commands
>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only