Thanks all, I got it figured out. After disabling McAfee on both computers it worked. So I did a quick Google search and figured out how to allow Windows File/Print sharing through the McAfee firewall.
All is good. The Win 2000 machine is slow as hell, but at least it works!
Andy
Hi all,
I have a problem at home. No, not that kind of problem - I have a problem sharing a printer.
I have an old windows 2000 machine that I want to use as a print server for my HP 720 deskjet printer. I have shared the printer and everything appears good on the 2000 side.
Now I want to...
Hello All,
I have had Verifone Pinpad 1000 support for a long time now in my application and recently was sent a Pinpad 1000se.
Even though it says it's backward compatible I get a "PACKET ERR B" when I prompt to receive the PIN.
Any ideas what PACKET ERR B means?
Thanks,
Andy
Do you have _VFP.Autoyield set to .T. (default)? If so, I don't see any reason why DOEVENTS would help you since your app is already processing windows events.
Andy
What exactly is (mypicture)? Is that a file name? Maybe this will give you some ideas:
lTableError = .f.
ON ERROR lTableError = .T.
thisform.container1.imgcontrol1.Picture = LOADPICTURE("c:\mypicture.bmp")
IF lTableError
DO errmsg
ENDIF
Andy
I always send the size of the message as the first 10 bytes of the message. Then you know what to wait for.
I would be careful using some sort of EOT character especially if you messages contain binary data.
Andy
Hello,
After installing SQL 2005 Express I have to connect using the named instance it created (.\SQLEXPRESS) as part of the data source. If I try to connect without using the instance name it doesn't work.
Is there any way to make this the "default" instance so I can use just the server name...
Griff,
Maybe an API call to get the printers would be quicker? I don't know... if it continues to be a problem maybe it's worth a look. Although that's probably all VFP is doing in the background when you call APRINTERS().
Something like EnumPrinters IN winspool.drv is what I'm speaking of...
Griff,
It usually happens with network printers. I think VFP has to resolve the path to the network resource or something.
Maybe you could call APRINTERS only once and then store the information for use later. That way you only take the single hit.
Andy
icemel,
Look up the stored procs:
sp_addlinkedserver
sp_addlinkedsvrlogin
In the Books Online. It should explain everything you need. Can't help you on what repl_distributor is - sorry.
Andy
Here is an example of XML I need to produce:
<?xml version="1.0"?>
<MyMessage
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MyAck/>
</MyMessage>
My question is how can I add the schema references (xmlns:xsd, xmlns:xsi) using only...
Try:
thisform.winsockcontrol.OBJECT.connect
And then check the connect event of the control for an incoming response.
Here is a good source of example code for both the client and the server side:
http://fox.wikis.com/wc.dll?Wiki~WinSockOCXSample~VFP
Andy
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.