Ole Error 80070057
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Sat, 22 Oct 2016 09:24:19 GMT by s_nt6 (squid/3.5.20)
wrong in VFP 6.0: m.acad_object = createobject('autocad.application.15') m.acad_object.visible = .t. m.target_dwg = m.acad_object.Documents.Open("d:\temp\teste.dwg") if vartype(m.target_dwg)=="O" dime StartPoint[3] StartPoint[1] = 1.00 StartPoint[2] = 2.00 StartPoint[3] = 0.00 dime EndPoint [3] EndPoint[1] = 11.00 EndPoint[2] = 2.00
The Parameter Is Incorrect Windows 8 Iphone
EndPoint[3] = 0.00 m.new_line = m.target_dwg.ModelSpace.AddLine(StartPoint, EndPoint) && here I get the error endif Thanks error 0x80070057 copy file Tue, 28 Jun 2005 23:27:26 GMT J. Crescencio Flore#2 / 3 OLE error 0x80070057 : The parameter is incorrect Haven't used autocad kb3043812 automation, but check out the COMARRAY() function and see if it will help in your case. HTH, Crescencio Quote:> What am I doing wrong in VFP 6.0: > m.acad_object = createobject('autocad.application.15') > m.acad_object.visible = .t. > m.target_dwg = http://answers.microsoft.com/en-us/windows/forum/windows_other-update/error-80070057-when-installing-windows-updates/3646cb74-3cfc-4bea-b5a0-ba78ff4864d0 m.acad_object.Documents.Open("d:\temp\teste.dwg") > if vartype(m.target_dwg)=="O" > dime StartPoint[3] > StartPoint[1] = 1.00 > StartPoint[2] = 2.00 > StartPoint[3] = 0.00 > dime EndPoint [3] > EndPoint[1] = 11.00 > EndPoint[2] = 2.00 > EndPoint[3] = 0.00 > m.new_line = m.target_dwg.ModelSpace.AddLine(StartPoint, EndPoint) && here I > get the error > endif > Thanks Wed, 29 Jun 2005 06:35:20 GMT Bragadir#3 / 3 OLE error 0x80070057 : The parameter is incorrect Thank you. This is what I http://computer-programming-forum.com/2-vfp/2a2c90f31d961fb8.htm was looking for. Quote:> Haven't used autocad automation, but check out the COMARRAY() function and > see if it will help in your case. > HTH, > Crescencio > > What am I doing wrong in VFP 6.0: > > m.acad_object = createobject('autocad.application.15') > > m.acad_object.visible = .t. > > m.target_dwg = m.acad_object.Documents.Open("d:\temp\teste.dwg") > > if vartype(m.target_dwg)=="O" > > dime StartPoint[3] > > StartPoint[1] = 1.00 > > StartPoint[2] = 2.00 > > StartPoint[3] = 0.00 > > dime EndPoint [3] > > EndPoint[1] = 11.00 > > EndPoint[2] = 2.00 > > EndPoint[3] = 0.00 > > m.new_line = m.target_dwg.ModelSpace.AddLine(StartPoint, EndPoint) && here > I > > get the error > > endif > > Thanks Fri, 01 Jul 2005 16:24:52 GMT Page 1 of 1 [ 3 post ] Relevant Pages 1. error 1440 ole exception error OLE object may be corrupt 2. MAPI Error: Profile name is incorrect 3. OLE - MS Graph: I am helpless 4. incorrect error codes 5. OLE error code 0x80030003: Unknown OLE status code. 6. OpenOffice OLE Automation Type Parameter Problem 7. Receiving Parameter in OLE Automation 8. Passing Object Parameters to Custom VFP Ole Servers 9. VFP OLE Automation Server - parameter "collisions" 10. Error 1426 - OLE error: Appropriate license for this class not found 11. Error 1426 Ole error code 0x80020006: unkno
posts|View active topics ole error 80070057 using ensignsoftware Page 1 of 1[ 4 posts ] This topic is locked, you cannot edit posts or error 0x80070057 make further replies.">This topic is locked, you cannot edit posts or make further replies. ole error 80070057 using ensignsoftware Previous topic|Next topic ole error 80070057 using ensignsoftware Author Message pj the parameter is Post subject: ole error 80070057 using ensignsoftwarePosted: Wed Nov 17, 2010 5:06 pm Level 2 User Control Panel Joined: Thu Dec 18, 2008 1:32 pmPosts: 29 Hello, could anyone please help here? I have a program that wants to connect to the Internet for help file videos, price feeds etc. Code:fixme:shdocvw:PersistStreamInit_Load (0x18b708)->(0x18a430)fixme:shdocvw:navigate_url Unsupported args (Flags 0x32eba4:3; TargetFrameName 0x32eb94:3)fixme:shdocvw:OleObject_Close (0x18b708)->(1)fixme:shdocvw:PersistStreamInit_Load (0x1879e8)->(0x18c060)fixme:shdocvw:navigate_url Unsupported args (Flags 0x32eba4:3; TargetFrameName 0x32eb94:3)fixme:shdocvw:OleObject_Close (0x1879e8)->(1)paul@ubuntu:~/.wine/drive_c/ENSIGN$ wine Ensignfixme:shdocvw:PersistStreamInit_Load (0x173ea8)->(0x144830)fixme:shdocvw:navigate_url Unsupported args (Flags 0x32eba4:3; TargetFrameName 0x32eb94:3)fixme:shdocvw:navigate_url Unsupported args (Flags 0x32f930:3; TargetFrameName 0x32f920:3)fixme:shdocvw:OleObject_Close (0x173ea8)->(1)paul@ubuntu:~/.wine/drive_c/ENSIGN$ wine Ensignfixme:shdocvw:PersistStreamInit_Load (0x191870)->(0x13c5e0)fixme:shdocvw:navigate_url Unsupported args (Flags 0x32ebac:3; TargetFrameName 0x32eb9c:3)fixme:shdocvw:OleObject_Close (0x191870)->(1)paul@ubuntu:~/.wine/drive_c/ENSIGN$ wine Ensignfixme:shdocvw:PersistStreamInit_Load (0x140a08)->(0x1849f0)fixme:shdocvw:navigate_u
RecentThreads NewestNodes Donate What'sNew on Oct 11, 2007 at 16:37UTC ( #644273=perlquestion: print w/replies, xml ) Need Help?? nonnonymousnonk has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks, Has anyone per chance worked at all with OPC & perl? Specifically the package Win32::OLE::OPC. I'm having a mare of a time with it. My latest problem is writing data, here's the relavent code: my $itemdata = OPCItemRead ($rightdata[0], $i+1); $rightdata[0]->{lastvalues}->[$i] = $itemdata->{Value}; OPCItemWrite($rightdata[0], $i+1, $rightdata[0]->{lastvalues}->[$i +] + 1); [download] And the subs sub OPCItemRead { my $groupdata = shift; my $itemno = shift; my $items; my $data; # reference to the ha +sh of data returned by Read() $items = $groupdata->{grouphandle}->OPCItems(); $data = $items->Item($itemno)->Read($OPCDevice); } sub OPCItemWrite { my $groupdata = shift; my $itemno = shift; my $newvalue = shift; my $items; $items = $groupdata->{grouphandle}->OPCItems(); $items->Item($itemno)->Write($newvalue); } [download] The read function works absolutely fine, the write always gives: OPC::Item::Write Matrikon.OPC.DDE: Win32::OLE(0.1707) error 0x80070057: "The parameter is incorrect" in METHOD/PROPERTYGET "Write" at C:/Program Files/Perl/lib/Win32/OLE/OPC.pm line 1666 [download] If I stop the debugger in the write function just before the write $groupdata, $itemno and $newvalue all look fine. If I do this x $items->Item($itemno)->Read($OPCDevice) [download] I get the expected data hash so I'm sure everything is set up correctly. As soon as I execute the write up pops this more verbose version of the same error: OPC::Item::Write Matrikon.OPC.DDE: Win32::OLE(0.1707) error 0x80070057: "The parameter is incorrect" in METHOD/PROPERTYGET "Write" at C:/Program Files/Perl/lib/Win32/OLE/OPC.pm line 1666 at C:/Program Files/Perl/lib/Win32/OLE/OPC.pm line 123 Win32