Hi all,
I’m starting to build a RAP5.07 application with VS2005, cause VS2003 is not supporting in RW5.08.
I just made a new project with 2005, add the ABB reference, rebuild it and starts it with VIRC5. That’s not a difficult program, i think. After the FlexPendant starts up, it is showing an error.
System.BadImag**eFormatException:
This is the code:
’ ABB namespaces
Imports ABB.Robotics.Tps.Taf
Imports ABB.Robotics.Controllers
Imports ABB.Robotics.Tps.Windows.Forms
’ Compliance Tool Info
<Assembly: ABB.Robotics.Tps.Taf.TpsView(“TpsViewIRC5App1 application”, “tpu-Operator32.gif”, “tpu-Operator16.gif”, “TpsViewIRC5App1.dll”, _
“TpsViewIRC5App1.TpsViewIRC5App1”, StartPanelLocation.Left, TpsViewType.Dynamic)>
Public Class TpsViewIRC5App1
Inherits TpsControl
Implements ITpsViewSetup, ITpsViewActivation
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If Not IsDisposed Then
If disposing Then
End If
MyBase.Dispose(disposing)
End If
End Sub
'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.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Text = “TpsViewIRC5App1”
End Sub
#End Region
#Region " ITpsViewSetup Members "
Sub Uninstall() Implements ITpsViewSetup.Uninstall
'TODO: Add TpsViewIRC5App1.Uninstall implementation
End Sub
Function Install(ByVal sender As System.Object, ByVal data As System.Object) As Boolean Implements ITpsViewSetup.Install
'TODO: Add TpsViewIRC5App1.Install implementation
Return False
End Function
#End Region
#Region " ITpsViewActivation Members "
Sub Deactivate() Implements ITpsViewActivation.Deactivate
'TODO: TODO: Add TpsViewIRC5App1.Deactivate implementation
End Sub
Sub Activate() Implements ITpsViewActivation.Activate
'TODO: Add TpsViewIRC5App1.Activate implementation
End Sub
#End Region
End Class
What am i doing wrong? Is there also a manual how to program RAP5.07 in VS2005? For instance, GetRapidData is is not supporting in VS2005 anymore.
Thanks