Login to reply

2 posts


by aktionline 3 months ago
run compiled app with manifest as admin
if not accept to give admin at UAC, then whole korduene crashes with:
System.ComponentModel.Win32Exception (0x80004005): The operation was canceled by the user
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Korduene.Compilers.WinFormsCompiler.CompileAndRun(CodeDomProvider compiler, CompilerParameters parameters, String code, String outputpath, Boolean run)
at Korduene.Compilers.WinFormsCompiler.Compile(ProjectBase project, Boolean modify, Boolean run)
at Korduene.Project.WinForms.WinFormsProject.Compile(Boolean modify, Boolean run)
at Korduene.MainWindow.RunProject(Boolean modify, Boolean run)
at Korduene.MainWindow.menuRun_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripSplitButton.OnButtonClick(EventArgs e)
at System.Windows.Forms.ToolStripSplitButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Korduene.Program.Main(String[] args)

by Rebin 3 months ago
Couldn't replicate, since your app is requires admin rights, maybe try to run Korduene as administrator as well.

Korduene Developer
Login to reply
;