Answer Questions
psylencio subfolders
Hello friends Is it possible to know the names of a folder and its subfolders programmatically If yes how do i do it >> Is it possible to know the names of a folder and its subfolders programmatically See ADIR() in the help file. This little routine gets the name of all first level sub-folders and places them in on the clipboard: ******************************************************************** *** Name.....: GETSUBDIRS.PRG *** Author...: Andy Kramek *** Date.....: 23/09/2004 *** Notice...: Copyright (c) 2004 Tightline Computers, Inc *** Compiler.: Visual FoxPro 09.00.0000.1912 for Windows *** Function.: Build a ";" separated list of SubDirectories and copy it to the clipboard *** Returns..: String * ...Show All
Bandile Win 2K vs Win XP Pro SP2
Hi, Just wondering if anyone has changed the development platform from Win 2K to Win XP SP2 Any problems encountered I've been working exclusively in XP Pro (SP2 now) since its inception. No problems. Yes I've changed from w2k to XP Pro, then SP1 and SP2. No problems. Changed from w2k to xp sp1, sp2 no problems with vfp7, vfp8, vfp 9. >>changed the development platform from Win 2K to Win XP SP2 Yes, I did this some time ago now, (when XP SP1 was released) and have not had any specific problems with VFP and XP. Everything seems to work just as expected. ...Show All
raj.mkj Philadelphia VFP User Group--Wednesday, August 9
The Philadelphia Visual FoxPro User Group will meet on Wednesday, August 9, 2006 at 7PM at Valley Forge Pension Management, 715 Twining Road, Suite 202, Dresher, PA 19025. Anyone interested can meet for dinner at 6 PM at Rocky's in the shopping center across the street. Speaker: Kevin S. Goff Kevin S. Goff is the founder and Principal Consultant: Common Ground Solutions. He has 18 years experience - NET/SQL Server/Crystal Reports/Visual FoxPro and is a 2005-2006 Microsoft .NET MVP for C#. Kevin is the author of “The Baker’s Dozen” series in CoDe Magazine (Productivity Tips for .NET, Crystal Reports, and T-SQL) and one of the 2005 Personalities of the Year on the Universal Thread for .NET and SQL Server. Kevin ...Show All
StarsFire Multithreading in Vfp9
Hi *.* How can i make real multrithreading application in vfp9 Thanks. Check out Calvin's blog :- http://blogs.msdn.com/calvin_hsia/archive/2006/05/23/605465.aspx HTH, Robbo. VFP doesn't really do real multithreading. It does Appartment Model Threading running under MTS or COM+ in Windows2000/2003. See: http://fox.wikis.com/wc.dll Wiki~MultiThreadedVFP http://fox.wikis.com/wc.dll Wiki~MultiThreadedDLL .NET Interop for Visual FoxPro Applications: http://www.west-wind.com//presentations/VfpDotNetInterop/vfpDotNetInterop.htm ...Show All
shieldy Foxpro7 crashing with "fatal error exception code=c0000005 ..."
Hi I have a tricky issue in my VFP7 application. At least tricky for me. The application is crashing with fatal error C0000005. Sometimes I see a message like this one in the eventlog: "Faulting application <appname>.exe, version 1.4.82.0, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x00010f29.". Sometimes the application just hangs. I also see the Windows error "The instruction at "0x...." referenced memory at "0x.....". The memory could not be "read"", and then the application is closed, of cource. The error does only appear in situations where I print, but it does not occur in an exact pattern, or when I pass a particular code line. I use a third party dll called foxpp.dll ( ...Show All
Cardin "Select" is different from "browse"?
I use select and browse with a cursor but I get 2 different result. Code: SELECT refno, ItemID, ItemInvId ,convertquantity from curDetailAlias WHERE ALLTRIM(refno) == b; ORDER BY ItemID INTO CURSOR curBangDoiTru Browse last for ItemID = b Can anybody help me Thanks in advance. Thanks both of you, but I don't think it has a problem with "b" variable, 'coz if I use "XK1063" string instead of b I will get the same result. SELECT * from curlcDetailAlias WHERE refno="XK1063" or BROWSE LAST FOR refno="XK1063" Some new records what I haven't saved into a table don't appear in the result of select command but appear in the ...Show All
laue FontCharSet error in Windows 98
Hello Can you help me in this With windows 98 I have error 2005 (You have attempted to set a property to an illegal value through the language) in fontcharset when loading form. Form contain objects with different fontcharsets. In other operating systems w2000 or XP I have no problem. Visual FoxPro 9.0. Thank you. >>Form contain objects with different fontcharsets. >> In other operating systems w2000 or XP I have no problem. Sounds like a required font may not be installed on the Win 98 machines - if you are referencing a font that only shipped with Win2K or later this would explain the problem. But without knowing which fonts you are trying to use, or which one is causing the error, ...Show All
Luisfe VFP & ASP.NET 2.0 COM/Interop Problem
hi i need help i developed simple website (just for test) that use Simple VFP Com (one class have one method get the string and returns it's length) i tested the COM in VFP IDE , it;'s work fine i tested the COM in VB.NET (VS 2005) windows project , it's work fine without problem i tested the COM in simple ASP.NET 2.0 , and tested it in the web developer server which comes with VS 2005 , IT;S WORK FINE WITHOUT PROBLEMS but when i turned to ISS , i have problem when i click the command button which called my COM, this problem doesn't appear in web developer server (vs 2005-IDE) the error message is : error retriving the COM Class Factory , 80005004 i use Windows XP SP2 , ISS Version 5.1 what is wrong Greetings ...Show All
Sai A Future of Visual Foxpro
Hello friends, I have a general question. What will be the future of VFP The reason for asking this question is because, our company is planning a major commercial software development. So far we were very much satisfied with VFP. But now doubts are being raised whether we should base our investment on this platform or consider something new like VB.NET. Especially when we hear that the products will not be served beyond 2009!!! Any sincere opinion will be a big help. Thank you. "should" and "do" are two different things. Fact is, many applications have problems under Vista. This has been almost a touchy subject for me. I started using foxpro about 3 years ago and as soon as I really got into it I ...Show All
Gmukwewa Showing one form from another
Situation: I am in a form A, click on a cmd, and it opens another form B and hides the current form A. In form B, I click on a cmd and I would like to show form A and release form B. The release of form B works, of course, but not the showing of form A. I have never seen anything about whether it is possible to make changes in or affect one form from another. Is it (I guess it would work with a form set ) Hans L "LOL! I didn't mean to re-design your whole app for you" Well, I don't want to kiss a-s, but hey, I couldn't think of anyone better :-) You can do it by taking a reference to the other form. See DO FORM command in help: DO FORM FormName | [NAME ...Show All
Davids Learning Form Calling Report - Can Form Variables print on report?
I have a form where users input a due date and comments into two fields. The users then click on a "Run Report" button that issues "REPORT FORM REPORTS/PD_LETTER TO PRINTER for next_due < THISFORM.p_date.value" command to print the report. Is there any way I can use the values the user entered in the form fields in the report that is generated. The form is a past due letter and I want to print Due Date and comment field from the form on it. On the report I created Variables that have the same names as the fields on the form, but this did not help. I suspect that I'm making this much more difficult then needed... Any ideas Derek Interesting point, I did not know that. Sure, there are 2 ways to do this. 1) For examp ...Show All
Andrew Westgarth class library _utilities.vcx
Please tell me url wherefrom i can download _utilities.vcx class library. I wanna use the xtab / crosstab control In my computer it is displaying error when i drag and drop the class from component gallery. to form. the builder is not displayed because of error. the error is "OSHARED is not a function, procedure or program. Browser: classbrowser1 Object: classbrowser1 Error : 1992 Method : dragdrop2 Line : 4 IF !this.oshared chackitem(this, .t.) I don't know actually whether the problem is with class browser's method, wizard or _genxtab. plz help me. thanx in advance -Ravi thank u for responding I checked ...Show All
bob yoplait Forcing code into a Click Event
I have added a grid to a form. I'm using the code below to control the contents of the grid. I want to react when the user clicks on Column4.Text1. How can I add an IF...ENDIF set of code to the ThisForm.Grid1.Column4.Text1.Click event WITH ThisForm.Grid1 .RecordSource = 'viols' .Column1.ControlSource = 'viols.oxv' .Column1.Width = 83 .Column1.Header1.Caption = 'Current status' .Column2.ControlSource = 'viols.violation' .Column2.Width = 320 .Column2.Header1.Caption = 'Violation' .Column3.ControlSource = 'viols.allowed' .Column3.Width = 81 .Column3.Header1.Caption = 'Violation Amt' .Column4.ControlSource = 'viols.new_oxv' .Column4.Width = 104 .Column4.Header1.Caption = 'Change status to:' ENDWITH ThisForm.Grid1.Column4.Tex ...Show All
Noa Interactive queries in an executable
Does anyone have an easy way to give experienced users a “MODI QUERY” type capability inside of an executable without programmatically building it from scratch We have a client that is experienced in FoxPro and knows how to create queries using MODI QUERY from the command box. They have quite a few of these and use them to select data by changing the selection criteria in the query designer. In an old FoxPro for Windows module of the application (running as an app), we made it easier for them to run these queries by letting them put them in a directory that we read and used to build a pick list. When they selected the query, we would execute the MODI QUERY command inside of the app for them with the selected query. We are now upgrad ...Show All
Kasracer Wait Window "" timeout 0.01 and Sleep(10) in VFP-9
At times my VFP processing requires *rest(s)* it seems. (report processing/printing, various functions, .BeforeRowColChange events, etc.) I've *discovered*: Wait Window "" timeout 0.01 && ... helps at times while the preferred: Windows API Sleep() routines && ...I've had NO success with API Sleep() declarations Any general or specific feedback concerning *rest(s)* in VFP-9 is appreciated. refresh is what you need. wait helping creating a wait state <g> but not the correct way. I tried this.refresh (as per Andy's example below and in other lines therein). And still there is no 'red-light' (in .backcolor). I may try to find another example, later. Thanks for you ins ...Show All
