anonymous Log in
Search
Recents:
v3.0
csharp-l
GXSelFile y GXNewFile no funciona en .Net Framework 4
04/10/19 14:48

aminetti

Replies: 0

Estimados,
tenemos una aplicación C#, ambiente Windows desarrollada en Evo1, que
necesitamos compilarla en .Net Framework 4, manteniendo el ambiente Windows.
Al invocar la función GXSelFile o GXNewFile la aplicación se cierra.
Cosa que no sucede con la aplicación compilada en Framework 2.
Lo mismo ocurre con la Evo3.
Debajo pego el error del visor de eventos.
Agradezco de antemano su ayuda.
Application: uiniciopv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeAccessException
   at com.ms.wfc.ui.Screen.GetMonitorInfo(Int32, MONITORINFO)
   at com.ms.wfc.ui.Screen..ctor(Int32)
   at com.ms.wfc.ui.Screen.fromPoint(com.ms.wfc.ui.Point)
   at com.ms.wfc.ui.Screen.getWorkingArea(com.ms.wfc.ui.Point)
   at com.ms.wfc.ui.CommonDialog.moveToScreenCenter(Int32)
   at com.ms.wfc.ui.FileDialog.hookProc(Int32, Int32, Int32, Int32)
   at com.ms.wfc.ui.CommonDialog+HookProc.callback(Int32, Int32, Int32,
Int32)
   at
com.ms.wfc.win32.Windows.GetSaveFileName<PInvokeHelper>comdlg32_dll(OPENFILENAME_IHelper)
   at com.ms.wfc.win32.Windows.GetSaveFileName(com.ms.win32.OPENFILENAME_I)
   at
com.ms.wfc.ui.SaveFileDialog.runFileDialog(com.ms.win32.OPENFILENAME_I)
   at com.ms.wfc.ui.FileDialog.runDialog(Int32, Int32)
   at com.ms.wfc.ui.CommonDialog.showDialog()
   at
com.genexus.uifactory.wfc.WFCCommonDialogs.gxnewfile(System.String[],
System.String, System.String, System.String, System.String)
   at com.genexus.uifactory.wfc.WFCUIFactory.gxnewfile(System.String[],
System.String, System.String, System.String, System.String)
   at com.genexus.uifactory.UIFactory.gxnewfile(System.String[],
System.String, System.String, System.String, System.String)
   at com.genexus.ui.GXCommonDialogs.gxnewfile(System.String[],
System.String, System.String, System.String, System.String)
   at GeneXus.Windows.GxNewFileDialog.Execute()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,
System.Threading.ContextCallback, System.Object, Boolean)
   at
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,
System.Threading.ContextCallback, System.Object, Boolean)
   at
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,
System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()
Slds
Alvaro Minetti
-----------------------------------------
Para Suscribirse/Desuscribirse:
http://www.gxtechnical.com/cgi-bin/hforum.exe?2,3,30,11
Por consultas owner-csharp-l@gxtech.com.uy


Back to csharp-l