Answer Questions
gerard64 How to get Serial number on usb flash drive.
I am unable to get the serial number on usb flash drives. I'm using vfp8, but I don't know what to use for get it. I need your help, please! Thanks all..! If you know drive letter of your flash disk, you can use something like this : oFSO = CREATEOBJECT("Scripting.FileSystemObject") FOR EACH oDrive IN oFSO.Drives If oDrive.DriveLetter = "X" TRANSFORM(oDrive.SerialNumber, &quo ...Show All
Erenion seek char+date
dear all, i seek stockist code+invoice date but failed to seek. why what i had done... use invoice shared index on code+dtoc(inv_date) to invoice.idx set index to invoice.idx seek code+dtoc(thisform.txtInvdate.value) but failed to seek. thanks. hm ic ya thanks for ur advice. so do any code to rebuild the cdx i guessed must delete tag then reindex the cdx thanks in advance. thanks for your re ...Show All
YHEYEH Class Related Query
hi all, I m new to programming. Can i add methods or property to a object (e.g. Combo box) which is placed in a container class. Thank you >> addmethod What version of Visual FoxPro are you using I have never heard of any such method or function... > Can i add methods or property to a object (e.g. Combo box) which is placed in a container Actually what Don states is incorrect. Y ...Show All
hadipardis Date problem in VFP 6.0
Hello! Huh, I currently have field named 'fine' in my DB. It's used to store fines. There two other fields, 'rent-date' and 'no_of_days'. The first one stores the date on which the rent of a book starts and the second one stores the number of days the book is going to stay with the borrower. Well, I would like to know how can I calculate the fine. To calculate it, I must find by how many days the due date has been "excessed" and ...Show All
Aisac G. VFP9 test installations changes all file associations & VFP6 program won't run.
I just installed VFP9 without disturbing VFP6. My first task is to see if it compiles and runs my older VFP6 programs . In my development directories I usually stick a one line program named FOX.PRG which contains the line SET DIRECTORY TO <this directory> . I clicked it and it loaded VFP9 but it wouldn't run under VFP9! Nothing would run under VFP6 either. I found that the installation had changed all the file associations to VFP9. I manu ...Show All
hYam Feature Not Foun when i try to Insert into
Hello, I'm working with Visual Studio.Net and Visual FoxPro, I was working days before and everything was ok, today it was ok and then I try to debug my app and then I realize that a new exception was thrown: "Feature is not found", is funny because this happens just when I use the INSERT INTO or UPDATE sintax but not with SELECT thanx for any help Without seeing the specific SQL statements, it difficult to diagnose the exact cau ...Show All
Sir_Penguin Looking for partner developer
Hello, Because of my professional services, I often have requirements of small business applications for many areas. VisualFox would fit perfect to solve them. As I’m just a novice developer, I cannot afford most of the cases, so the sale and new client are lost. Is there somebody in the Forum who could be interested on something like this I could manage all the menus, screen and help translations into Spanish. Best regards :) ...Show All
Prashanth_pashi Pageframe and Pages
I have a pageframe with 5 pages. Each page is linked to different table; the table each linked by unique field. I also have the wiztxtbtns at the bottom of the form outside the pageframe. This is what I want to achieve.When I run the form, all the pages should show details pertaining to the first record. Also, when adding a new record, I give the new key field number and it should accept details for that on all pages and when I hit Save, t ...Show All
Shirajul Alam Open table exclusively?
Forgive my ignorance - I've recently reinstalled XP and subsequently Foxpro 7.0. Now when i double click on a foxpro dbf file it opens the table and another datasession labeled 'B' (i'm supposing it's a datasession). Previously, when i opened a table i was in exclusive mode and didn't have this duplicate table open also. I normally work in exclusive mode because my data is not in a shared environment (i'm a vb developer). Any suggestions thanks ...Show All
SeshuK form not found
I've started using this nice and handy Type Library Viewer located in Samples and again, it works fine with FoxPro desktop and the _SCREEN environment but when I try to BUILD an .app file doing everything as has been recommended: Project=>Buld=>App I get an error: Form TYPELIB not found. My code that uses the form is as follows: SET PATH TO "C:\Program Files\Microsoft Visual FoxPro 9\Samples\Solution\WinApi\" DO FORM ...Show All
skilled_desinger Automated Testing
Does anyone know of any programs that will work with FoxPro for automated testing. Programs like WinRunner won't see objects in each window, just each window. Vince Hi Vince, of course there are some of those tools available. For example, take a look at FoxRunner, which is one of the best tools for automated VFP testing. There's some information at www.hallogram.com/foxrunner Look at: http://msdn ...Show All
alainkkk Can't write to new tables.
Hey, I was given the task of updating a project in .NET and foxpro. I opened up the foxpro database and added a couple tables. I can write to them from the command line, but I can't insert or update records through the oledb. The users have write access, and can write to any of the old tables, but not the new ones. I am doing this in VFP 6.0. I don't know what the version to make the originals was. What am I missing ...Show All
aarrgghh MSGraph.Chart.8 control
I need to make charts. I started with MSChart Control and so far I've accomplished almost all I wanted except for one thing which totally eludes me. I need a simple line chart, not columns or a pie. I need to display a row of data like DJIA or similar indices with no additional vertical bars or other embelishments. The curve comes out nice but a lot of space on the chart is wasted because the curve is being plotted too high on the chart in ve ...Show All
thembi Dot Net Examples with VFP
I am seriously thinking about starting to use some of the dot net features within VFP. Where would be a good place to start with some maybe code examples of how to call dot net functions... or how this can be worked.. (beyond data access and web services) I am more interested in desktop applications at this point. But any pointers would be helpful.. Thanks so much . Bob Lee ...Show All
Jim Cordwell createobject("mappoint.application)
VFP (9.0) I am experimenting with mappoint for a stevedoring company. I am having problems with the Createobject("mappoint.application") When I execute the code I get the error message ‘Class definition MAPPOINT.APPLICATION is not found.” When I search the registry for MAPPOINT.APPLICATION I find nothing In the registry I see all kind of references to MapPoint but nothing to Mappoint.Application the ...Show All
