Hi all,

I want to run my VFP 8 program as a Windows 2K service. This utility program
constantly looks for some data and imports/exports to another application. I
have made classes (one timer and other olepublic - timer class calls
olepublic class methods periodically) and added code. But now I need to make
it as a Windows service. How can I do this?

Thanks in advance.

Kamran

RE: run VFP program as Windows 2000 service by Leemi

Leemi
Fri Apr 16 15:46:07 CDT 2004

Hi Kamran:

There are some examples of running a VFP executable as a service on
Universalthread.com. Go to www.universalthread.com, click on the VFP Zone
icon, and choose Downloads icon. In the Summary text box of the query page,
search for "service."

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003

>Hi all,

>I want to run my VFP 8 program as a Windows 2K service. This utility
program
>constantly looks for some data and imports/exports to another application.
I
>have made classes (one timer and other olepublic - timer class calls
>olepublic class methods periodically) and added code. But now I need to
make
>it as a Windows service. How can I do this?

>Thanks in advance.

>Kamran


Re: run VFP program as Windows 2000 service by st

st
Wed Apr 21 15:04:39 CDT 2004

You can use a program as Service+ from Nicoware. It will run your
application as a service.

It has a very nice GUI. You don't have to be an expert to use it. We
are using it on our servers and workstations for a variety of
applications.

You can download a full functional evaluation version from
http://nicoware.net/software/download.php

Re: run VFP program as Windows 2000 service by st

st
Wed Apr 21 15:10:44 CDT 2004

You can use a program as Service+ from Nicoware. It will run your
application as a service.

It has a very nice GUI. You don't have to be an expert to use it. We
are using it on our servers and workstations for a variety of
applications.

You can download a full functional evaluation version from
http://nicoware.net/software/download.php

Re: run VFP program as Windows 2000 service by Dariusz

Dariusz
Fri Apr 30 02:45:06 CDT 2004

At the begining of Your App You have to use the SYS(2340, 1) function, then:
1. You have to have instsrv.exe and srvany.exe from resource kit,
2. With instrv.exe install program as service,
3. Edit the user name the service will be started, and try start it...

That's all.
I have just one problem, my service can't start but i think it's in my
program not in that method.
When You test it and it's works for You please post it here.

With best regards
Dariusz Hoszowski


U¿ytkownik "Kamran Ahmad" <kamran_ahmad@bigmailbox.net> napisa³ w wiadomo¶ci
news:ul7D02%23IEHA.2388@TK2MSFTNGP10.phx.gbl...
> Hi all,
>
> I want to run my VFP 8 program as a Windows 2K service. This utility
program
> constantly looks for some data and imports/exports to another application.
I
> have made classes (one timer and other olepublic - timer class calls
> olepublic class methods periodically) and added code. But now I need to
make
> it as a Windows service. How can I do this?
>
> Thanks in advance.
>
> Kamran
>
>
>
>
>
>