I read the faq184-3137 about using the WnetGetConnection api call. This is cool and all but I was using the adir function with the "V" flag to return the volume name. If it is a mapped drive it returns the unc path as the volume name. I am not to familar with the difference between volume name...
We have just encountered a problem with using exponentiation inside the INT() function with regards to the SET DECIMALS setting. Below is sample code for you to try in your command window.
SET DECIMALS TO 2
l_nNewValue = 4.9811
? INT(l_nNewValue*(10^5)) / (10^5) = 4.9811
...
I know that I can use RESOURCE=OFF in the config.fpw, but is there a way I can set which resource file to use in the config.fpw.
Maybe something like this:
RESOURCE=C:\temp.dbf
RESOURCE=OFF
I want to be able to set where the resource file is but not use it right away.
Thanks
Dave L.
I have a couple of reports that were created in VFP 6 and now we are changing over to VFP 8. When I add the _pagetotal variable to a VFP 6 report and save it in VFP 8 and rebuild the .app file I get an error message when the report is ran. There error is "_pagetotal variable not...
I would like to create a download manager using VFP because a broadband connection is not available in my area. Many of the download managers I have seen on the web are able to resume a download if it is interrupted some how. I wanted to try and create one using VFP because I thought it would be...
I have created a COM Add-in for Outlook using VFP 8. I create a toolbar and stick the buttons on the toolbar into an array. I then use the eventhandler function for each button in array. There are three buttons on the toolbar. Now for the confusing part, it works perfectly fine on another...
I have searched the forums and found how to access the folders that are currently in outlook. I can not however find anything that states how to create a new outlook folder through VFP if this is at all possible. I just need a generic example of how to add a folder to an existing public folder...
I am having a problem changing some of the VFP _screen properties in the config.fpw file. Currently I have an EXE that will run the newest version of an my APP. I have the same config file included in my projects for both the EXE and the APP. The config.fpw looks like this:
ESCAPE = OFF...
Can I use a smart-array 221 controller with fast-wide drives? I have 6 4.3GB fast-wide drives that I would like to put into a raid 5 configuration. I got a used proliant 3000 PII 333mhz machine for free along with these free drives so I am doing this just as a project for home so I can't spend...
When I append a new record to table then try to use setfldstate() to change some of the fields to not edited, it gives me an error (function, value, or type is incorrect). The only states I can change the field to is 3 or 4. I have optimistic table buffering on. Is there any way around this or...
Is there any way to use 'set eventtracking' or something like it during runtime to create a very simple log file. I am having some problems using createobject() when instantiating a form. Some of the controls bomb out at the init event which causes an error 'can't instantiate object' and my form...
I created a small test com server in VFP that will return the operating system. It is a small exe.
When I run this code in excel I get a VFP error window stating "Error writing to file.". The VFP com server doesn't use any files so why does this come up? It happens right after I set...
I recently got this when I try to step through the program. I know what source out of date is and how to fix it but this is a new one to me. Please help. I am running out of time and I tried everything that I could think of (recompiling, rebuilding, deleting .fxp, etc...).
Thanks in advance.
Dave
If i use the "set printer on" it opens the print spooler and shows the printer icon in the system tray. But when i use "set printer off" the icon stays there and when i open it, it shows the spooler is still active even though the information printed. How can i close the...
I get a system error when I try to set my printer to a different printer on my 2000 machine. It says "FOXPROW caused a General Protection Fault in module FOXPROW.EXE at 0001:222D. Choose close, FOXPROW will close.".
I am able to set my network printer the first time in my program like...
I need help trying to print to specific printer tray. I have done a few key word searches and found a link to the universal thread that didn't seem to work, other than that I found nothing.
My problem is that I only have 7 reports but they all print to one priter execpt one. I need to print...
I have some textboxes on a form that the user must enter data into. I have a maxlength on all of them, and I have set confirm on so the user must tab out of the textbox. This will however just place the cursor of the textbox to the last character and if the user continues to type then that last...
I recently upgraded an application that runs a local machine that polls time clocks throughout our buildings. It saves the information to the server, but if the server goes down, the information is saved to local machine until it gets appended back to the server when it comes back up. The...
I am re-writting a program to poll some time clocks and append the data to the server. The server also runs a daily backup of all the data files. So I need to stop polling the clocks and let the data stay in a concentrator until the backup stops and append it back to the server. The length of...
I have a table name empphoto with two fields the first is emp_num which holds the numeric value of the employees id number, the second is a general field which has a bitmap picture of the employee embedded in it. This is a 2.6 table and I want to save the picture in the general field to a...
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.