Added Separate Window Preference
Added error handling for External Transitions to deleted Procedure. Added File extension parameter to Make Document DB Command Line Parameter now supports server name and ItemIDs. Added Separate Window Preference Added capability to Update Format and then close. Command Line Parameter /P= with no IDs shutsdown immediately. Changed code so that the Anotation panels stay expanded. Added Console Writeline output when Formats are updated. Attached Console Output to Parent. This allows the Console output to be output to a command window when a Batch FIle is used to Update Formats.
This commit is contained in:
@@ -8,7 +8,9 @@ namespace VEPROMS
|
||||
static class Program
|
||||
{
|
||||
private static readonly log4net.ILog _log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
/// <summary>
|
||||
[System.Runtime.InteropServices.DllImport("KERNEL32.DLL")]
|
||||
static extern bool AttachConsole(int dwProcessId);
|
||||
private const int ATTACH_PARENT_PROCESS = -1; /// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
@@ -16,6 +18,8 @@ namespace VEPROMS
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
// Attach to the parent process via AttachConsole SDK call
|
||||
AttachConsole(ATTACH_PARENT_PROCESS);
|
||||
if (System.Diagnostics.Process.GetCurrentProcess().ProcessName.ToLower().EndsWith("vshost"))
|
||||
{
|
||||
Application.Run(new frmVEPROMS());
|
||||
|
Reference in New Issue
Block a user