General information
Category:
Forms & Form designer
No, it's not that. I am showing a property of new object in the messagebox at run-time.
>Mark,
>
>It sounds like it may be an environmental difference, ie it can't find the class at runtime to instantiate it. Using .Objects.Count is just going to affect whatever the last instantiated object was, not necessarily the machine object you are trying to instantiate.
>
>>>>Of course. But like I said, it's fine in Debugger, but not at the run-time.
>>>
>>>Post your code. I have a guess what's wrong but prefer to see the code to tell for sure.
>>Here:
>>with this
>> .NewObject(lcAddMachineName, lcClassName, lcClassPath, '', machinetag, machineid)
>> WITH .Objects(.Objects.Count)
>> .Visible = .T.
>> endwith
>>endwith
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only