Guest_imported
New member
- Jan 1, 1970
- 0
I want to recreate the functionality of a MINT using objects MSQMUI (Mincom Connector).
I’m writing a Visual Basic program :
' Create Objects
Set gobjMIMSx = New MIMSXServer
Set gobjMIMSmui = New MSQMUILib.MimsApplication
' Login MSQmui
gobjMIMSmui.Silent = True
If gobjMIMSmui.Session.Login(gobjMIMSx.MIMSAPIHandle, True) = False Then GoTo ErrorHandle
If gobjMIMSmui.ExecuteMSO("MSO345", "", "", "N", "" = False Then GoTo ErrorHandle
'2. Modificar el Equipment Reference
gobjMIMSmui.MSO.Fields("REFERENCE_NO1I".Value = EquipRef
'Asignar el Component Code
gobjMIMSmui.MSO.Fields("COMP_CODE1I".Value = Comp_Code
'Enviar tecla <Enter>
gobjMIMSmui.MSO.Commands("OK".Execute
The program is executed correctly
but, i have a questions:
1. When I run the programs, I have to close MIMS.
Are there any way to execute the programs without closing MIMS ?
Do you have any example?
Do you know the solutions for this problem?
I’m writing a Visual Basic program :
' Create Objects
Set gobjMIMSx = New MIMSXServer
Set gobjMIMSmui = New MSQMUILib.MimsApplication
' Login MSQmui
gobjMIMSmui.Silent = True
If gobjMIMSmui.Session.Login(gobjMIMSx.MIMSAPIHandle, True) = False Then GoTo ErrorHandle
If gobjMIMSmui.ExecuteMSO("MSO345", "", "", "N", "" = False Then GoTo ErrorHandle
'2. Modificar el Equipment Reference
gobjMIMSmui.MSO.Fields("REFERENCE_NO1I".Value = EquipRef
'Asignar el Component Code
gobjMIMSmui.MSO.Fields("COMP_CODE1I".Value = Comp_Code
'Enviar tecla <Enter>
gobjMIMSmui.MSO.Commands("OK".Execute
The program is executed correctly
but, i have a questions:
1. When I run the programs, I have to close MIMS.
Are there any way to execute the programs without closing MIMS ?
Do you have any example?
Do you know the solutions for this problem?