Answer Questions
Giant_Panda Docking PrintPreview toolbar and Making PreviewContainer Modal Window
Hi, I am facing problems in the reportlistener class, my requirement is 1) i have to preview a report with the preview toolbar docked and should be moved from the position. 2) The PreviewContainer should be Modal and no other window should be accessed. 3) no resizing of the container and should occupy the application fully. I used the ReportListener Extension Handler Classes and Set the PROCEDURE Show ( iStyle ) THIS ...Show All
Angedinoir How do I synchronize my workstation system clock with the server clock?
good day to everybody I wanted that my workstation clock will be updated at the server just at the click of a button. So, How do I synchronize the system clock in my workstation with the system clock at the server using vfp . Thank you very much for the help Local ltNow, ltTest ltNow = Datetime() ltTest = {^2000/02/29 21:15} 'Now', m.ltNow SetComputerClock(m.ltTest) 'Changed to', Datetime() SetComputerClock(m.ltNow) 'Restored', ...Show All
caprock Problem Installing VFP 9.0
When I try to install VFP 9.0 by clicking the link on the auto run page that appears when you insert the disk, I get the message "Please go to the control panel and add or configure windows components" If I run from the add programs in the control panel I get the setup screen and click Prerequisites and get the same message. What needs to be installed or configured I am up to date on all updates and I have every windows component installe ...Show All
Marcelo Hernán Ruiz CRLF --chr(13)+chr(10)--> .Selstart Dilemmas in myEditBox
MyEditBox.SELSTART CHANGES during keypress events, interactive change events and/or programmatic change events when line-feeds (LFs) aren’t paired with (CRs): E.g., ‘LineFeeds’ [chr(10)] …seem to… insert themselves after every ‘carriage return’ [chr(13)] during *certain* run-time keypress events. Likewise…COM imports (e.g., oWord values) don’t seem to have paired CRLFs in them, but CRs only. VFP-9 seems to *prefer* paired ...Show All
Steven Hemingray - MSFT Grid Columns settings disappear
I have a grid with about 20 columns and the following properties are defined at design time carefully: backColor, foreColor, fontSize, fontBold for the columns as well as corresponding properties for the headers. Then I have a table and I want to use a part of the table as a recordSource let say to display transaction for year 2005. I get a beautiful display. Then I have a combobox with some years like 2004, 2005, 2006, etc. It controls th ...Show All
Ranjit Charles COM server problem
I have a VFP6 project that when compiled worked great as a DLL lookup on an included table. As I no longer have access to VFP6 and the table needed updating, I tried to test out VFP9 with this project. It builds to the DLL with no errors but when I tried to register it, I got the dreaded message" DllRegisterServer in ....failed. Return code was: 0x80004005". I used Dependency Walker to profile this dll and got the following results: ...Show All
Nuno Alves combo box
I am new to foxpro and have a few questions so i will post them seperatly. I have a form that is filled out and stored in a free table. i have 4 fields on the form. for the purpose of explaining clearly field one is a combo box, 2 is a combo box, 3 is a combo box, and 4 is a text box. the first 2 combo boxes are getting info from one table with 3 fields. Field one is park, field 2 is tower and field 3 i ...Show All
ondulacao i just wanna do it like this
can i do that thank you everyone. 1st you need a way to track what the user has selected. The easiest way is probably a logical field in the table, or a related table that you can toggle on and off. 2nd you need to put code in the mousedown or click event for the textboxes of the grid that toggles the selection. 3rd set Column. DynamicBackColor of each column. Easiest is usually an IIF() with the RGB() settings. http://w ...Show All
JoelMags Accessing VFP9.0 Stored procedures with .NET
I've been fighting an almost epic battle these last few days with Foxpro, to try to access its Stored Procedures with ADO.NET. Here is my code: Dim conn As String = "Data Source=Q:\network\Gestion\stage.dbc;Provider='VFPOLEDB.1';password='';user id=''" Dim OleDbConnection2 As OleDbConnection = New OleDbConnection(conn) Dim cmmSelect As OleDbCommand = New OleDbCommand("ProcGrillePosteA", OleDbConnection2) cmmSelect. ...Show All
littlePT call crystal report 11 from vfp 9.0 ?
Hi all, I have problem in calling report from vfp. For report itself, no prob viewing data both in ODBC and OLE DB connection to database (.dbc). But in vfp, both ODBC and OLE DB have error. have tried 3 ways here, all have error: oRpt. Database . Tables . Item (1).SetLogOnInfo("AnikaDSN","anika.dbc","","") ***************************************************** * ODBC With oRpt.Database.T ...Show All
津田敦史 i just wanna do it like this
can i do that thank you everyone. 1st you need a way to track what the user has selected. The easiest way is probably a logical field in the table, or a related table that you can toggle on and off. 2nd you need to put code in the mousedown or click event for the textboxes of the grid that toggles the selection. 3rd set Column. DynamicBackColor of each column. Easiest is usually an IIF() with the RGB() settings. screen. ...Show All
rhj4 [noob questions] Arrays..
Aaaaaaaaaaaaaaaarrrrgggghhhhhgadsfhasdjhf 1. Is foxpro incapable of returning an array from a function by using the return statement 2. Does foxpro have a function that merges 2 arrays 3. How do you pass an array as an argument to a function in a class when the array is a class variable For example: define class test as Custom dimension Arr(1) procedure asdf(tmpArray, tmp ...Show All
kachh _screen.ContinuousScroll problem
I noticed this problem just this morning after spending many hundred hours debugging my app for the past few months when everything worked just fine. This is the setup which is hardly unusual. There is a function in a prg file and a Click method that calls it. There are a couple of print statements like: "coimng out of the function: "+numeric_id and such in the function(s) and one in the Click method. All output is character s ...Show All
GlennAlanBerry Copying a file to EXCEL from FoxPro.
PLEASE HELP! I'm using Visual FoxPro 6.0 and EXCEL 2003. I created a query with FoxPro 6.0 and copied the data to EXCEL 2003. The Table size is 33827 records and it only copied 16384 records. It only copied half the code. Why is this Here is the code. close data all set talk on set dele on SELECT 0 USE "c:\documents and settings\bartech\my documents\fmpdata\software code\fmp reports\fmptables\line02.dbf" shared se ...Show All
Jawad Munir how to SET DEFAULT TO "running program's dir" ?
Please Help.... <SET DEFAULT changes the default directory to the directory you specify. MicrosoftR Visual FoxProR searches for a file in the default Visual FoxPro directory. The default directory is the one from which you start Visual FoxPro.> If A program called “DISP.EXE” displaying customer.dbf installed in a directory Created by user, then how to tell the DISP.EXE to look for the database (customer.dbf) The problem is if   ...Show All
