Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9214
| From | James Martin <james@northwoodlumber.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Object creation failed |
| Date | 2016-03-31 11:16 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <ndjep1$8rk$1@dont-email.me> (permalink) |
I have a program that uses Microsoft's web browser as an OLE object. I
needed to make a new program with variations, but keep the old, so I
exported all the modules and created a new application and imported
them. That all worked except that my web browser doesn't work. This is
the error I get:
Error Code: Object creation failed
Subsystem: Visual Objects OLE Run Time
Function: OLEOBJECT: CREATEFROMAPPDOCSTORAGE
Description: Object creation failed
Callstack:
PRICETAB_FLOORONG:INIT (Line:9)
PRICEBOOK:INIT (Line:39)
APP:START (Line:61)
START (Line:6)
This error comes up when I try to run the program in inr IDE.
When I open the window for editing I get the error (but the window opens
after I acknowledge the error):
Can't load OLE object from AppDoc file.
Here is the code in the Init() prg:
oDCOCX_Shell1 :=
WebInsert{SELF,ResourceID{PRICETAB_FLOORONG_OCX_SHELL1,_GetInst()}}
oDCOCX_Shell1:HyperLabel :=
HyperLabel{#OCX_Shell1,NULL_STRING,NULL_STRING,NULL_STRING}
oDCOCX_Shell1:CreateFromAppDocStorage(OleAppDocStorage{__MDFFILENAME__,
"PriceTab_Floorong", "OCX_Shell1"})
Here is the code in the PostInit() prg:
SELF:oDCOCX_Shell1:AddressBar := TRUE
SELF:oDCOCX_Shell1:StatusBar := TRUE
SELF:oDCOCX_Shell1:ShowBrowserBar()
SELF:oDCOCX_Shell1:Refresh()
SELF:oDCOCX_Shell1:Navigate("192.168.10.50")
If someone can help me with this AppDoc file it would be appreciated.
Thanks.
James
Back to comp.lang.clipper.visual-objects | Previous | Next — Next in thread | Find similar | Unroll thread
Object creation failed James Martin <james@northwoodlumber.com> - 2016-03-31 11:16 -0400
Re: Object creation failed Mathias <mathias.hakansson@consultec.se> - 2016-03-31 23:54 -0700
Re: Object creation failed James Martin <james@northwoodlumber.com> - 2016-04-01 11:00 -0400
Re: Object creation failed James Martin <james@northwoodlumber.com> - 2016-04-08 16:52 -0400
Re: Object creation failed "Glen Townsley" <glent@pronamics.com.au> - 2016-04-10 05:34 +1000
Re: Object creation failed James Martin <james@northwoodlumber.com> - 2016-04-09 16:38 -0400
csiph-web