Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container visibility
Message
From
18/10/2006 09:51:34
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01162756
Message ID:
01162924
Views:
11
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
Map
View

Click here to load this message in the networking platform