Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: OLE objectopen 3052
I am getting the Error 3052 Uninitialized Variable
or Undefined Function Using OLE. Why is this happening?
Here is my code:
url=http://www.windowware.com
obj_name=ObjectOpen("Netscape.Network.1")
xx=obj_name.Open(url,0,0,0,0) ; Here is where I see the Error
Make sure any special object handle variables to be used when referring to the object (such as obj_name in the example above) do not have the underscore character. This is not a WIL variable, it is an OLE object handle, so it is handled differently than are WIL variables (which CAN have underscores in their names).
Try the following example (with the underscores removed):
url=http://www.windowware.com obj=ObjectOpen("Netscape.Network.1") xx=obj.Open(url,0,0,0,0)
Article ID: W13659
Filename: 3052 Error with OLE.txt
File Created: 1999:04:15:16:55:30
Last Updated: 1999:04:15:16:55:30