I've created my first task pane. It's an adaptation of the VFP form I
created back in the 7.0 days to call the ProFox web service so that you
can search the ProFox archives directly from VFP. It's available in the
Files section of http://taskpane.com.
Since this is my first attempt at a task pane, there could be (gasp!)
bugs with it. Please let me know if you come across any.
___/
/
__/
/
____/
Ed Leafe
Very cool, Ed. Looks like it works well. Now, how long before browsers in
the Task Pane put IE out of business <g>?
-----Original Message-----
From: profox-admin@leafe.com [mailto:profox-admin@leafe.com]On Behalf Of
Ed Leafe
Sent: Thursday, 06 March, 2003 17:26
To: ProFox Mailing List
Subject: ProFox Task Pane available
I've created my first task pane. It's an adaptation of the VFP form I
created back in the 7.0 days to call the ProFox web service so that you
can search the ProFox archives directly from VFP. It's available in the
Files section of http://taskpane.com.
Since this is my first attempt at a task pane, there could be (gasp!)
bugs with it. Please let me know if you come across any.
___/
/
__/
/
____/
Ed Leafe
[excessive quoting removed by server]
You have the source code and it's not too hard to fix.
In the HOME(), Tools subdirectory, unpack the XSource ZIP. I had it create
subdirectories directly below that one.
Open the TaskPane.PJX.
In the Classes tab, open the foxpane class library and modify panebrowser
class
In the HandleAction() method, search for "linkto"
Comment out the next line of code and add these four lines of code:
loUtility = NEWOBJECT("_shellexecute", "_environ.vcx")
loUtility.ShellExecute(oParameters.GetParam("url"))
RELEASE loUtility
Add the _environ.vcx (located in the HOME(), FFC subdirectory) to the
project and build an app, naming it TaskPaneNew.app or something, to keep
the old one around for backup. Change the Tools, Options, File locations
setting to point to your new Task Pane, and you will get the behavior you
want.
Hey, Ed, looking for a Tip for FPA <g>?
-----Original Message-----
From: profox-admin@leafe.com [mailto:profox-admin@leafe.com]On Behalf Of
Sal
Sent: Thursday, 06 March, 2003 20:21
To: profox@leafe.com
Subject: RE: ProFox Task Pane available
Er - my task pane opens every link in IE. Which means I'm not going to use
it. Now I have used Phoenix I can't use IE anymore, it just annoys me too
much. Not really IE's fault, I am annoyed with most other programs for not
having the same intuitiveness as Phoenix.
I know you said this is "a known oversight" but these aren't even the
vfps:// links these are standard http:// browser links. I don't care how
clever the internal code is, for external links it should respect the
default browser.
BTW, I have both this & Garrett's /. taskpane installed, and apart from the
IE grumble it's all real cool and I am dead impressed. But everytime I click
one of the TaskPane buttons it echoes "container resize" to the _screen..
and if I do resize it I get lots of "container resize"'s. I don't remember
this happening before though, so it may be an issue with ProFoxPane?
Sal
> -----Original Message-----
> From: profox-admin@leafe.com [mailto:profox-admin@leafe.com]
> On Behalf Of Ted Roche
> Sent: 07 March 2003 00:51
> To: profox@leafe.com
> Subject: RE: ProFox Task Pane available
>
>
> Very cool, Ed. Looks like it works well. Now, how long before
> browsers in the Task Pane put IE out of business <g>?
>
> -----Original Message-----
> From: profox-admin@leafe.com
> [mailto:profox-admin@leafe.com]On Behalf Of Ed Leafe
> Sent:
> Thursday, 06 March, 2003 17:26
> To: ProFox Mailing List
> Subject: ProFox Task Pane available
>
>
>
> I've created my first task pane. It's an adaptation of
> the VFP form I created back in the 7.0 days to call the
> ProFox web service so that you can search the ProFox archives
> directly from VFP. It's available in the Files section of
>
> Since this is my first attempt
> at a task pane, there could be (gasp!) bugs with it. Please
> let me know if you come across any.
>
> ___/
> /
> __/
> /
> ____/
> Ed Leafe
>
>
[excessive quoting removed by server]
On Thursday, March 6, 2003, at 08:21 PM, Sal wrote:
> Er - my task pane opens every link in IE. Which means I'm not going to
> use
> it. Now I have used Phoenix I can't use IE anymore, it just annoys me
> too
> much. Not really IE's fault, I am annoyed with most other programs for
> not
> having the same intuitiveness as Phoenix.
>
> I know you said this is "a known oversight" but these aren't even the
> vfps:// links these are standard http:// browser links. I don't care
> how
> clever the internal code is, for external links it should respect the
> default browser.
Yeah, I'm working on that. Not getting Windows to respect browser
choice; that's asking way too much! ;-) I'm going to modify the
message page so that it knows it's being called from the task pane, and
will feature an easy way to return to the search page. Once that's
done, the page links will open up in the task pane.
> BTW, I have both this & Garrett's /. taskpane installed, and apart
> from the
> IE grumble it's all real cool and I am dead impressed. But everytime I
> click
> one of the TaskPane buttons it echoes "container resize" to the
> _screen..
> and if I do resize it I get lots of "container resize"'s. I don't
> remember
> this happening before though, so it may be an issue with ProFoxPane?
Oops! Sorry about that. About half of my time developing this was
getting the browser display to resize with the task pane, and those
calls were debugging I put in to let me know when the Resize() method
was being called. They'll be gone in the next version.
___/
/
__/
/
____/
Ed Leafe
Ed:
Change your calls to generate results when called from the task pane from
generating links of "http:" to "vfps:linkto=", and the patch I suggested in
the previous message should work.
On Thursday, March 6, 2003, at 09:33 PM, Andrew Coates wrote:
> I installed the new pane, but calling the service now results in
>
> "Client:Incorrect number of parameters supplied for SOAP request
> HRESULT=3D0x80070057: The parameter is incorrect.=01
>
> All the parameters seem to be correct in the debug window.
>
> Any hints?
Hmmm... no, none that I can think of. Are you able to run the =
web=20
service from a basic PRG?
___/
/
__/
/
____/
Ed Leafe
On Thursday, March 6, 2003, at 08:55 PM, Ted Roche wrote:
> Hey, Ed, looking for a Tip for FPA <g>?
Nope. The March issue was my last. Ceil is taking it over by herself.
___/
/
__/
/
____/
Ed Leafe
Here's the full text of the error message generated:
Error: 1429 - OLE IDispatch exception code 0 from Client: Client:Loading
the request into SoapReader failed. HRESULT=3D0x80070057: The parameter =
is
incorrect.
- Client:Unspecified client error. HRESULT=3D0x80070057: The parameter =
is
incorrect.
..
Client:Loading the request into SoapReader failed. HRESULT=3D0x80070057:
The parameter is incorrect.
- Client:Unspecified client error. HRESULT=3D0x80070057: The parameter =
is
incorrect.
Andrew Coates
Civil Solutions
Tel +61 2 9344 4993 (GMT+11) Fax + 61 2 9345 0893
www.civilsolutions.com.au=20
----
OzFox 2003 - Australian VFP Conference - www.ozfox.com.au
The Fox Community Portal - www.foxcentral.net
Great VFP Books - www.civilsolutions.com.au/hwbooks/
> -----Original Message-----
> From: Ed Leafe [mailto:ed@leafe.com]=20
> Sent: Fri, 07 Mar 2003 13:46
> To: profox@leafe.com
> Subject: Re: ProFox Task Pane available
>=20
>=20
> On Thursday, March 6, 2003, at 09:33 PM, Andrew Coates wrote:
>=20
> > I installed the new pane, but calling the service now results in
> >
> > "Client:Incorrect number of parameters supplied for SOAP request
> > HRESULT=3D0x80070057: The parameter is incorrect.=01
> >
> > All the parameters seem to be correct in the debug window.
> >
> > Any hints?
>=20
> Hmmm... no, none that I can think of. Are you able to=20
> run the web=20
> service from a basic PRG?
>=20
> ___/
> /
> __/
> /
> ____/
> Ed Leafe
>=20
>=20
[excessive quoting removed by server]
Nope,
I tried the following code (generated by the XML Web Services task pane)
**-- Begin Runnable Code
LOCAL loException, lcErrorMsg, loWSHandler
TRY
loWSHandler =3D
NEWOBJECT("WSHandler",IIF(VERSION(2)=3D0,"",HOME()+"FFC\")+"_ws3client.vc=
x
")
loProFoxWS =3D =
loWSHandler.SetupClient("http://leafe.com/ProFoxWS.wsdl",
"ProFoxWS", "ProFoxWSSoapPort")
* Call your XML Web service here. ex: leResult =3D
loProFoxWS.SomeMethod()
** Next Call Fails with "Incorrect Parameter" + "Loading Request Into
Soap Header Failed"
lcResult =3D loProFoxWS.SearchAuthorLinks('coates',GOMONTH(DATETIME(),
-24), DATETIME(),.f.)
=20
? lcResult
=20
CATCH TO loException
lcErrorMsg=3D"Error: "+TRANSFORM(loException.Errorno)+" -
"+loException.Message
DO CASE
CASE VARTYPE(loProFoxWS)#"O"
* Handle SOAP error connecting to web service
CASE !EMPTY(loProFoxWS.FaultCode)
* Handle SOAP error calling method
lcErrorMsg=3DlcErrorMsg+CHR(13)+loProFoxWS.Detail
OTHERWISE
* Handle other error
ENDCASE
* Use for debugging purposes
MESSAGEBOX(lcErrorMsg)
FINALLY
ENDTRY
**-- End runnable code
Andrew Coates
Civil Solutions
Tel +61 2 9344 4993 (GMT+11) Fax + 61 2 9345 0893
www.civilsolutions.com.au=20
----
OzFox 2003 - Australian VFP Conference - www.ozfox.com.au
The Fox Community Portal - www.foxcentral.net
Great VFP Books - www.civilsolutions.com.au/hwbooks/
> -----Original Message-----
> From: Ed Leafe [mailto:ed@leafe.com]=20
> Sent: Fri, 07 Mar 2003 13:46
> To: profox@leafe.com
> Subject: Re: ProFox Task Pane available
>=20
>=20
> On Thursday, March 6, 2003, at 09:33 PM, Andrew Coates wrote:
>=20
> > I installed the new pane, but calling the service now results in
> >
> > "Client:Incorrect number of parameters supplied for SOAP request
> > HRESULT=3D0x80070057: The parameter is incorrect.=01
> >
> > All the parameters seem to be correct in the debug window.
> >
> > Any hints?
>=20
> Hmmm... no, none that I can think of. Are you able to=20
> run the web=20
> service from a basic PRG?
>=20
> ___/
> /
> __/
> /
> ____/
> Ed Leafe
>=20
>=20
[excessive quoting removed by server]
Hi Ed,
I installed the new pane, but calling the service now results in
"Client:Incorrect number of parameters supplied for SOAP request
HRESULT=3D0x80070057: The parameter is incorrect.=01
All the parameters seem to be correct in the debug window.
Any hints?
Cheers,
Andrew Coates
Civil Solutions
Tel +61 2 9344 4993 (GMT+11) Fax + 61 2 9345 0893
www.civilsolutions.com.au=20
----
OzFox 2003 - Australian VFP Conference - www.ozfox.com.au
The Fox Community Portal - www.foxcentral.net
Great VFP Books - www.civilsolutions.com.au/hwbooks/
> -----Original Message-----
> From: Ed Leafe [mailto:ed@leafe.com]=20
> Sent: Fri, 07 Mar 2003 12:47
> To: profox@leafe.com
> Subject: Re: ProFox Task Pane available
>=20
>=20
>=20
> On Thursday, March 6, 2003, at 08:21 PM, Sal wrote:
>=20
> > Er - my task pane opens every link in IE. Which means I'm=20
> not going to
> > use
> > it. Now I have used Phoenix I can't use IE anymore, it just=20
> annoys me=20
> > too
> > much. Not really IE's fault, I am annoyed with most other=20
> programs for=20
> > not
> > having the same intuitiveness as Phoenix.
> >
> > I know you said this is "a known oversight" but these=20
> aren't even the=20
> > vfps:// links these are standard http:// browser links. I=20
> don't care=20
> > how clever the internal code is, for external links it=20
> should respect=20
> > the default browser.
>=20
> Yeah, I'm working on that. Not getting Windows to=20
> respect browser=20
> choice; that's asking way too much! ;-) I'm going to modify the=20
> message page so that it knows it's being called from the task=20
> pane, and=20
> will feature an easy way to return to the search page. Once that's=20
> done, the page links will open up in the task pane.
>=20
> > BTW, I have both this & Garrett's /. taskpane installed, and apart
> > from the
> > IE grumble it's all real cool and I am dead impressed. But=20
> everytime I=20
> > click
> > one of the TaskPane buttons it echoes "container resize" to the=20
> > _screen..
> > and if I do resize it I get lots of "container resize"'s. I don't=20
> > remember
> > this happening before though, so it may be an issue with ProFoxPane?
>=20
> Oops! Sorry about that. About half of my time=20
> developing this was=20
> getting the browser display to resize with the task pane, and those=20
> calls were debugging I put in to let me know when the Resize() method=20
> was being called. They'll be gone in the next version.
>=20
>=20
> ___/
> /
> __/
> /
> ____/
> Ed Leafe
>=20
>=20
[excessive quoting removed by server]