David, I have gone through Continuum documentation and created below VB.Net Code and it works fine. C# code is still not working. This code to open Manufacturing Component Transaction screen. I need to schedule it every 10 second to open this screen. in AddIn folder Posting button push event is called which post transactions. But it open one time and second time I get following error And If I re ran my .Net Application it get following error- How can I avoid it? I think I need to close screen once posting is done. Can you please guide on same. Below is code for your reference.- Private Sub OpenGPMFGComponentScreen() Try Dim Err_Num As Integer Dim ErrorMsg As String GPApp.CurrentProductID = 346 Err_Num = GPApp.ExecuteSanscript( _ "open form MOP_Component_Trx_Entry;", ErrorMsg) If Err_Num <> 0 Then 'A compiler error occurred. Display the error. MsgBox(ErrorMsg) End If Catch ex As Exception MessageBox.Show(ex.ToString()) Finally End Try End Sub
↧