Rick,
I've seen this with Adobe PDF drivers, Win2PDF, PDf995, etc. There are some other print driver things that will cause the directory to change as well (output to text file, etc.). I think with the Amyuni, the rendering takes place before it writes the file out so you don't have this...
Oh yeah, we've definitely encountered this. You need to reset your directory after calling the report like so:
LOCAL lcCurrentDirectory
*% Save Current Directory
lcCurrentDirectory = sys(5) + sys(2003)
REPORT FORM foo PREVIEW TO PRINTER PROMPT
SET DEFAULT TO &lcCurrentDirectory
Hopefully...
Yes, it is a major drawback especially if making a lot of little tweaks to your COM server. I believe West-Wind Web Connection has some way around this, but I'm not sure. You may want to check it out: http://www.west-wind.com
In process DLL's are pooled by IIS - in other words, they stay in IIS memory space - the advantage is performance, the disadvantage is the deployment issues you are running into. When I'm developing these myself I keep a command window open and just type the following:
iisreset /restart
It's...
I'm in the same boat right now. I'm leaning towards doing my web service in .NET, mainly because I'm sick of dealing with COM objects and all the crap that goes along with that. Also, this web service should be a relatively simple one consisting of a business object with some validation (some...
Sounds like the DLL is not properly registered for some reason on that machine. Check out the following KB article to see if that helps:
http://support.microsoft.com/default.aspx?scid=kb;en-us;278604
Are your DBF's contained in a DBC? If so, you should use that type of access vs. just going at the standalone DBF files. Gives you more of a true client/server type access and you will have access to all tables in the DBC within one connection.
I'm doing the following from ASP and it works...
Yeah, great. What if the original developer is disgruntled and uncooperative? Did Topspeed every consider this? I'm sure they did and I'm sure a lot people shell out money for something they may only need once. There ought to be a law forcing them to publish their structures.
So, anybody...
zemp,
I'm using a "fabricated" recordset just for passing data in/out of my object. No backend database so no update call needed. It looks like I solved the problem, however. It was the length of the description field being increased to 60 and I still had 30 in my recordset. I just...
Did some Google searching... discovered this error is related to the ADO recordset. Possibly the fact the batch description holds 60 characters vs. 30 now. I love it when I solve my own problems <g>
OK, I found out the calling program was not checking for errors. I added some exception handling and this is what is happening:
Multiple-step operation generated errors. Check each status value: -2147217887
Any ideas? Again, this was working perfect under version 5.0
Thanks,
Randy
I have a method to retrieve open and ready AR batches and populate an ADO recordset for passing back to the calling program. Since upgrading to 5.1A, my client is now only seeing 1 batch record coming back from this method.
Unfortunately, I don't have an easy way to "debug" this...
Correction to my post, you need to do the maximize last:
SET SYSMENU OFF
_screen.TitleBar= 0
_screen.BorderStyle = 0
SET STATUS BAR OFF
_screen.WindowState = WINDOWSTATE_MAXIMIZED
This is awesome as there will be no keyboard available so they can't hit Alt+tab or Windows key, etc. We're...
Hey, check out what I just "accidentally" discovered. The following will make VFP8 take over the entire desktop, even covering up the taskbar. We are doing a touchscreen app that will be in a public place as a "kiosk" - we don't want anyone being able to get to the desktop...
Let's not forget ACTIVATE WINDOW PUZZLE
That's my favorite new/old feature <g>
Hey rgbean, you need to check out tinyurl - awesome for posting links like that:
http://tinyurl.com/gci5
Actually, this wiki topic was way out of date. I just updated it. I only show the AR examples. Again, I'm just looking for some assurance that this will continue to work with version 5.1
In case anyone is interested, I posted my VB class code on the Fox Wiki: (we're using VFP on the front-end)
http://fox.wikis.com/wc.dll?Wiki~AccPacAutomationWithVFP
Not sure if this is the most up to date revision, but I think it's pretty close.
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.