Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with a class but not on a form
Message
From
26/10/2001 18:59:25
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
 
 
To
26/10/2001 18:44:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00574051
Message ID:
00574074
Views:
27
Well I moved the class to another library where it was on it's own, changed the references in the form. I still get the error. By the way I have the exact same problem with a textbox I put on the form to see if it was an OLE problem. Any other ideas?

Thanks

>>Nothing like that (lol)
>>
>>The error is "Object name is invalid". In the form version, there is no problem and the TYPE and VARTYPE of the removed object is undefined. In the class based version, it remains object type and vartype. FYI I created the form and tested it then created the class from the form. So there was no change. Incidentally, I first tried to create the whole shebang as a class. This had the same problem hence creating a form to see if I could isolate the problem.
>>
>>What I am doing is creating a simple web browser for testing my web apps. I want to completely refresh the browser so everything is initialized (cookies, sessions, session variables etc...) and I am tired of closing the browser and clicking the shortcut each time. Lazy and it's a fun exercise (or was until ...)
>
>You'd have to save your browser object as a separate class, more like a wrapper around the browser, and addobject() or newobject() it when you need it, and kill it when you feel like it. Besides, once you get it to work as you like, it could be usable elsewhere, right?
Charles Richard
NVO Management Systems
crichard@nvo.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform