Submitted by 218156 on Sun, 02/28/2021 - 23:08
Forums:
Hi,
I am Using NX11 and Visual studio 2012 and I have created .exe using windows form application, when I am running this exe in NX (control + U then selecting exe file) I am getting ufuser error, can you please help me to resolve this issue, Thanks In advance
Thanks
re: UFuser error
What is the text of the error?
I am getting below error,
I am getting below error,
Failed to load image - see log file for details
File name: D:\xyz.exe
Function name: ufuser
can you please help me to resolve the above issue
Thanks
re: UFuser error
What programming language are you using? C/C++ tends to be very picky about the compiler version, it must match what is listed in the programming docs.
Hi
Hi
I am using Visual Basic
Thanks
re: UFuser error
http://nxjournaling.com/content/using-winforms-journals
The tutorial above shows how to use a winform with a journal; is your code similar?
I don't currently have an author license, so I'm not familiar with all the errors that can happen during compilation. I know there can be issues when trying to run the "debug" version of the compiler output. Are you using sub Main as an entry point, or something else?
Hi
Hi
Thanks for reply, there is no sub main function it is creating in windows form application, it has created 2 .vb files as follows
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
MsgBox("Hi, Welcome to wondows form application")
End Sub
End Class
_
Partial Class Form1
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
_
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
_
Private Sub InitializeComponent()
Me.Button1 = New System.Windows.Forms.Button()
Me.SuspendLayout()
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(72, 100)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(75, 23)
Me.Button1.TabIndex = 0
Me.Button1.Text = "Button1"
Me.Button1.UseVisualStyleBackColor = True
'
'Form1
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(284, 261)
Me.Controls.Add(Me.Button1)
Me.Name = "Form1"
Me.Text = "Form1"
Me.ResumeLayout(False)
End Sub
Friend WithEvents Button1 As System.Windows.Forms.Button
End Class