leblankenship
Programmer
I'm getting started with Reflection 2014 and the new object model and I'm running into an issue when trying to open a new terminal session. Right now I'm just playing around to get comfortable with the new model so I can start doing some actual work.
[pre]
'I open the current Application object and frame
Set m_oApp = GetObject(, "Attachmate_Reflection_Objects_Framework.ApplicationObject")
Set m_oFrame = m_oApp.GetObject("Frame")
'I create a terminal from my default session file
Set m_oTerminal = m_oApp.CreateControl(SESSIONS & CPI)
'It fails here because it can't read the file even though this is the same file I created the current session from.
Set m_oView = m_oFrame.CreateView(m_oTerminal)
m_oFrame.Visible = True[/pre]
anybody else run into this so far?
[pre]
'I open the current Application object and frame
Set m_oApp = GetObject(, "Attachmate_Reflection_Objects_Framework.ApplicationObject")
Set m_oFrame = m_oApp.GetObject("Frame")
'I create a terminal from my default session file
Set m_oTerminal = m_oApp.CreateControl(SESSIONS & CPI)
'It fails here because it can't read the file even though this is the same file I created the current session from.
Set m_oView = m_oFrame.CreateView(m_oTerminal)
m_oFrame.Visible = True[/pre]
anybody else run into this so far?