API femap visual basic createobject premature close
API femap visual basic createobject premature close
(OP)
Does anyone know how to open a femap v8.3 application in visual basic 6 without the femap window closing immediately after I open it. I see the femap application open very quickly and it quickly closes. My code is:
Dim femap As femap.model
Dim rc As Long
Sub Main()
set femap.CreateObject("femap.model")
rc = femap.feAppVisible(True)
End Sub
Dim femap As femap.model
Dim rc As Long
Sub Main()
set femap.CreateObject("femap.model")
rc = femap.feAppVisible(True)
End Sub





RE: API femap visual basic createobject premature close
the link below is to an excellent VB6 forum....if you sign up there you can search on whatever topics you have interest in.
i looked through my code listings but cannot fine an example right now, but i know i have used these commands....just cant find the code now.
http://www.tek-tips.com/gthreadminder.cfm/lev2/4/lev3/32/pid/222
daveleo