Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-10-2006, 11:24 AM
indika indika is online now
Registered User
 
Join Date: 05-29-2006
Posts: 9
vbldMacroTemporary and object type

I'm creating a com interface and storing it using vbldMacroTemporary.

Later on I get the interface from the macros, but I cant access metods defined in the interface
The error I'm getting is "Object doesn't support this property or method: 'Runner.PutTestStep'"

Here is my code vbscript

Set MasterMacros = Application.Macros(vbldMacroTemporary)
Set MasterMacro = MasterMacros("Runner")
if MasterMacro Is Nothing Then
Set Runner = CreateObject("IDEAScriptRunner.RunScript")

Else
Set Runner = MasterMacro
Runner.PutVBPApplication(objAppFTM) 'ERROR HERE
End If

ANY HELP??
Reply With Quote
  #2  
Old 10-10-2006, 12:07 PM
indika indika is online now
Registered User
 
Join Date: 05-29-2006
Posts: 9
solved

using Set Runner = vbld_TempMacroObj("Runner")
works fine.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 09:19 AM.


Copyright © 1999-2023 Kinook Software, Inc.