In one of my projects I have the following code in the first part of my main program:
mPath = 'C:\CMWIN, C:\CMWIN\solution, c:\cmwin\foxpro, C:\CMWIN\PRG, C:\CMWIN\SCRN, C:\CMWIN\REPORTS,;
c:\3100, c:\3100\programs, c:\cmwin\search, c:\cmwin\images, C:\djbdemo'
SET PATH TO (mPath)
The...
My program has a number of dll files declared. I believe you can clear these dll's. Can you chose a dll you want to clear, leaving the remaining dll's to work?
Ids there a way I can find out, using a program, how much CPU is being used. I know I can locate it in windows but I was wondering if I can monitor it within my program.
Thanks
I have a stand aloan system running on Win 2000. On this standaloan system there are two buttons which represent mouse clicks. There is no keyboard attached. Unfortunately when there is no keyboard attached the mouse clciks do not work. Should there be a keyboard attached the mouse clicks...
I know this sounds like a virus. When I compile my exe file it appears to get bigger even though I've made no changes. Each time I compile the size increases. Is this a virus or could it be something else. i have ran an up to date anti virus check.
Thanks
When trying to save one of my forms I know get the following error
memo file C:\cmwin\scrn\clients.sct is missing or is invalid
Foxpro then crashes. However the changes appear to be saved. Any ideas why this might happen. If it is invalid can I recreate the .sct file?
Thanks
I have a sql statement as below. Cardtran or cardt could both hold more than one entry for the same posid and postrans number. Postranh/Postr would only have those numbers once. My sql statement appears to only select one entry from cardt or cardtran unless the trantype number is different...
I have an application on a win200 pc which uses a mapped drive of WIN XP. I can map the drive etc and ask it to reconnect at logon. However the Win2000 PC when rebooting keeps on asking for the password to map the drive. I've ever tried the DOS command IS net use F: \\server\123 Password...
My program stores logs into a text file. I want the operator to be able to open this file and search for different things. However I do not want them able to edit the file. Whats the best way to do this???
Also it may be useful if they can print all/part of the contents.
Thanks
I am trying to create a cursor called tmp1 which has all the fields from sellline and an additional field called vat. Basically the sellline.plu could be in one of three tables, stock, pack or opendept. Stock and Opendept are linked to the vat table by Stock.VAT or OpenDept.Vat = Vat.Sysref...
I've got many events and many payment-methods. Each event has many event payment methods, with a key of event and payement method. What's the easiest way to get a list of payment methods that are used on all events?
01 EVENT PIC 9(9).
01METHOD PIC XX.
01 EVPAYMTH .
03 EVP-EVENT PIC...
I have a number of list boxes on a form. These listboxes are visible/enabled at different times. It appears from time to time that the Click procedure is not called, when clicking the list box.
I have put this down to the area of the list box which is clicked. It appears to on side of the...
A external person is writing a DLL file in C++ for me to use in Visual Fxopro. I know I can include this file in my project no problem. I also know I can use the Functions just like any other functions. My question is how can my program be event driven from that dll file.
I've asked this...
The code below is VB code declaring a dll file.
Private Declare Function IxCF Lib "CrystalFontz.dll" (ByVal pFunc As Long)
Private Declare Function TxCF Lib "CrystalFontz.dll" (ByVal strBuffer As String, ByVal lngSize As Long) As Long
Do I declare this in Foxpro as below...
I have a list box which I ad to by using the addlistitem method. Basically I add each record of a small file. No problem.
The users are able to alter the order of the names on the list box. Should they do that I want to alter the order in the file. Therefore the next time the list box is...
I want to append from one file to another if it is not there
IE append from file1 into file2 if reference number is not in file2.
file 1 = sysref
1
2
File2 = sysref
2
I just want to append any records into file2 which are not in file2 =from file1
Thanks
The statement below gives me the result I would expect should there not be a staff.dbf file. However if there is a staff file it appends all records from the client file. Although there are only 2 records with grp = 1. Any ideas?
IF !FILE("STAFF.DBF")
SELECT DISTINCT...
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.