Patrick
Wed Aug 06 10:49:00 CDT 2003
thanks for your answer
Local COM don't solve the prob.. but it's a workaround..
i'll need to send cursor by parameters.. :(
thanks for the application.servername.. it's work great !
Pat
"Claude Fox" <cfuchs@activevfp.com> a écrit dans le message de
news:uLPP39CXDHA.2516@TK2MSFTNGP09.phx.gbl...
> Yes, to do this in a .VFP. mtdll you have to put the REPORT FORM in a COM
> EXE and call its methods from your .VFP. mtdll web service. I've done this
> and it works great. Check out the Microsoft article on this:
>
http://support.microsoft.com/default.aspx?scid=kb;en-us;191639
> For the other problem, make sure you're using the vfp Session Class. It
> takes care of a lot of these little things. I usually do something like
> this to set the base path:
> oProp.AppStartPath=JUSTPATH(APPLICATION.SERVERNAME)+"\"
>
> "Patrick Lavoie" <patrick.lavoie@nospam.com> wrote in message
> news:OnzB$cBXDHA.652@tk2msftngp13.phx.gbl...
> > From the server
> > i got: Error 1001: Feature is not available
> > when i do: REPORT FROM report1 TO PRINTER NOCON
> >
> > I know I can't use function like MessageBox.. or other visual command..
> > because it's COM..
> >
> > if it can't use display, printer.. maybe all others use interface.. why
> use
> > COM ??
> >
> > Another prob...
> > i can't do SET PATH TO "C:\" or SET DEFAULT TO "C:\".. path not found..
> > I tryed to add everyone in Admin Group .. to be sure it's not a rights
> > prob..
> > ??
> > Pat
> >
> > "Craig Berntson" <foxpro@home.com> a écrit dans le message de
> > news:O7Z$V35WDHA.2268@TK2MSFTNGP11.phx.gbl...
> > > Are you trying to print on the server or the client?
> > >
> > > --
> > > Craig Berntson
> > > MCSD, Visual FoxPro MVP
> > > Author, CrysDev: A Developer's Guide to Integrating Crystal Reports
> > > www.craigberntson.com
> > > Salt Lake City Fox User Group
> > > www.slcfox.org
> > >
> > >
> > > "Patrick Lavoie" <patrick.lavoie@nospam.com> wrote in message
> > > news:%23E8uMB5WDHA.2392@TK2MSFTNGP10.phx.gbl...
> > > > Hi,
> > > > I'm trying to print a report from my web service
> > > > I can't do it !?! why ??
> > > > do you know another way to print something from web service ??
> > > > thanks in advance
> > > >
> > > > Pat
> > > >
> > > >
> > >
> > >
> >
> >
>
>