Thanks Dave;
I had hoped that setting remoteport to 0 would have the same effect as setting the localport to 0--nope, I was wrong.
A star to you sir!
(By the way, any idea on how the server, recieving a connection request can determine the name --not just ip address--of the machine making the...
Hi All;
Does setting _vfp.autoyield = .f. stop only ActiveX controlls from interrupting other program code, or does it que ALl windows events, including the vfp timer, for a wait state?
Specifically, I have a form with only a vfp timer (going off every 20 seconds) and a winsock server...
Hi All;
For anyone who is interested, I believe Markus Voellmy (with help), published WinSock OCXSample (Updated: 2005.12.29 08:49:02 AM) on the internet that solves most of my winsock questions. I highly recommend it to newbies like me.
Thanks Markus!
Alan
Hi All;
I'm completely new to this. After placing the winsock ole
on a form, the following connection code consistently returns with a state "Error" of 9 even though Winsock is running on the remote host and I can ping it without difficulty:
WITH THISFORM.oleSock
IF .state != 0...
Hi All;
Sorry for my ignorance. I'm currently using VFP 6 SP5 and thinking about moving to the most current version of VFP (9?) before distributing anything. Can I go with a simple upgrade (VFP 9 upgrade) or buy anew (VFP 9 profressional) or both (VFP 9 profressional with VFP 9 upgrade)? And...
Hi All;
In a network (local), how do I find the caller ip address of Machine B when it uses the native WinSock to reach Machine A? (i.e., Machine A is using WinSock as well and needs to know the IP Address of who just connected.)
I'm using the native WinSock with VFP 6 SP5 and am trying to...
Hi ;
I get a nice print out--but nothing with the name of my service. Also, starting and stoping the service does not seem to change the amount of free memory available--so I really still don't know.
Ideas?
Alan
Hi All;
I currently have a vfp tsr running as a service on machine A. Machine A also has the database for the network.
Machine B accesses the database on Machine A via network.
Currently, I have machine B placing a record in a 'job' que on machine A of which the tsr service checks...
Hi dbMark:
That is pretty close to exactly what's happening--thanks for the info. Still though, that doesn't say why the alias isn't found, or how to get arround it.
Thanks much,
alan
In my initial test configuration, the 'service' is started at boot up using the local disk drive, c:. Then I was opening a vfp window to see if I could find the tables opened by the service--no go. The are no blanks in the dbf calls. Oh, I am using VFP 6.0 SP5--I've long considered upgrading if...
Hi Dave;
Yes. I'm using a full path name. (What is 'UNC' ?)
(I've created an error handler of sorts by having the service write to a log file--crude, but it works).
Thanks again,
Alan
Additionall thoughts,
The problem may be simply that the VFP desktop (and code run via the desktop) cannot access tables being used concurently via the service (even though they are opened as non-buffered and shared), e.g., 'Used()' fails to report the tables in action (as they are in a...
Hi All:
Hint: if I run the program directly from the VFP desktop, 'use...' and 'used...' fail. i.e.,
!net start myservice
fails.
But, if I run it as a service at boot-up starting automatically, it seems to work.
Any ideas?
Alan
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.