Answer Questions
ramsun use the reccount
hello all I use "set filter to" and want to know how much record is match the filter condition. I use the "reccount()" but it return the result is not I want. it is all the record count What do you expect cLocAlias to display cLocAlias is an alias for a table, not a variable that contains something you can print. Try BROWSE after the query to see your results. Tamar ...Show All
Brandon Williams toolbox trouble
All of a sudden, out of the blue I got a problem with the toolbox. When I click the button on the bar to invoke the dropdown menu with the controls depicted I get an error message instead. Program error File 'aclsids.prg' does not exist When I click suspend, the debugger appears at this position: Object: _activexcategory IF EMPTY(aCLSIDs[1]) IF oReg.EnumOptions(@aCLSIDs,m.cActiveXKey,m.cHKey,.T.)#0 RETURN .F. ENDIF ENDIF The arrow ...Show All
Stefan Herholdt vfp that monitor incoming & outgoing telephone call
Good day to everybody, Just asking where could I find a sample of telephone monitoring system using VFP. A program that monitor an incoming call, or outgoing call and record its time usage. And if .OCX is to be use here, what .OCX I will use Thank you very much Madix_t Thank you very much eric, have a nice day Hello, Search the web for TAPI. I know that the libraries from exceletel.com work with VFP. Goo ...Show All
robert579 Input mask for a spinner
I've defined an input mask for a spinner as $$99999.99 It displays the value $ 855.09 as $ 955.9 What am I doing wrong Thanks. I just wanted to let you know that I PERHAPS < > discovered another usage for custom classes you haven't mentioned. It seems you did not mention this aspect so I wanted to let you know that they can be used this way. If I had understood what it was that you were trying to say, you mig ...Show All
SickOfMicrosoftShit How can I use a stored procedure in my asp.net app
I'm trying to execute a stored procedure in my webform, I tried the next code: OleDbCommand cmdtemp; OleDbConnection conn; conn = new OleDbConnection(ConfigurationSettings.AppSettings["strConnection"].ToString()); cmdtemp = new OleDbCommand("storeProc_1",conn); cmdtemp.CommandType = CommandType.StoredProcedure; try { conn.Open(); cmdtemp.ExecuteNonQuery(); conn.Close(); } catch (Exception ex) { string Mensaje = ex.Message; conn.Close() ...Show All
MSGTSC_Test Overload possible
I need a way to overload a fox function like Empty with a UDF of my own called Empty. Is this possible If Fox doesn't support overloading, is there a class I can inherit from and override the empty function I need help ASAP. Thanks, VFP is not case sensitive. I would not just blindly replace EMPTY with MyEmpty as it make maintenance difficult. Just call MyEmpty where you need it. What are you trying to achieve here Usually, you s ...Show All
AbsentFriend VFP9: Customize toolbar margin, background picture, border, titlebar?
I'm wondering if its possible to customize any of the following toolbar properties under VFP 9 Note that while none of these properties are exposed in the VFP 9 toolbar object, there may be alternative ways to acheive these goals via different techniques or through the use of Windows API calls in conjunction with a toolbars hWnd property. 1. margin (area between toolbar borders and child controls) 2. background picture (similar to the .Picture ...Show All
Acid Cool foxpro dos to visual foxpro 9 conversion
I am trying to convert an existing application I created many years ago in foxpro 2.5 for dos, but when I try to run my programs I get this error: File 'get_last_key.prg' does not exist. Can anyone help me. I'm completely new to visual foxpro any help will be greatly appreciated. Thanks, bertle dear bertle, it seems you have a udf or a seperate prg as Get_Last_Key. It's the one missing i suppose... check ...Show All
Keith Murray html help in foxpro
Hi I use this script to show an html page in a textbox cString = filetostr("c:\winvis\htmlbody.htm") thisform.veld14.value = cString but I get this result heres a small part <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Persoonlijke uitnodiging voor introductiemeeting 6</TITLE> <META content="MSHTML 6.00.2900.2873" name=GENERATOR>< ...Show All
Viswanath foxpro dos to visual foxpro 9 conversion
I am trying to convert an existing application I created many years ago in foxpro 2.5 for dos, but when I try to run my programs I get this error: File 'get_last_key.prg' does not exist. Can anyone help me. I'm completely new to visual foxpro any help will be greatly appreciated. Thanks, bertle The sample code you showed basically sets the function keys to run a program called Get_Last_Key which seems to ...Show All
Martin1977 Magstripe encoding?
Hi - new to forum. Has anyone written VFP code to encode a character string onto a mag card track (like a Gift Card ID number) My encoders have a static IP address. TIA Shupe I write out a dbf the use the manufactures software to connect via ODBC. I use their card designer. Depending on the package you may be able to call it from FoxPro, via API or Command Line. Dave ...Show All
waGordon like command
hi again,i have the below simple line of sql code local temp temp=thisform.TextBox1.Value SELECT costomer from customertable; WHERE costomer_description LIKE temp the command works perfectly and i get the results in a new vfp window. is there a way to change the command in such a way so that i get the recno of the result.the reason is because there is already a grid on the form and i guess that if i had the recno from the select command i could ...Show All
subink checking RTF control for EMPTY ()
I have trouble checking programmatically that RTF.textRTF is empty. If it is visually empty to the viewer the function EMPTY (RTF.textRTF) returns .F. If I use an assignment m.memVar = RTF.textRTF I can print it out as a set of strings (about 3) of formatting characters. It is after the control was filled with some text and subsequently that text was deleted (manually) in the control window. How can a test be done to verify that the control i ...Show All
karthik123 MSComctlLib.TreeCtrl.2 BackColor ???
MSComctlLib.TreeCtrl.2 does not have BackColor property. Is it possible to define one (it is of course possible) and actually make it functionable Thanks. And how did you know that this yellowish hue (255,255,192) is my favorite color for background in treeview contols! The problem, however, is that this color may be your end user's least favorite color and they absolutely HATE it. This is why there are settings in the Wind ...Show All
jayclarke112 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
