Answer Questions
Fadi Al-Sheikh Create a Directory
How can i create a directory when the app begins but validating if the directory exists avoiding an error code thanks a lot! *//ummh, may be somethin like this: if !directory("My Folder") then Mkdir "My Folder" endif Hi Christof, Your #1 comment is not true. MKDIR "C:\Customer1\Data" DIRECTORY ("C:\Customer1\Data") && .T. And in VFP8 and up, you can pass a second pa ...Show All
Andrew.Fetchko refresh
i am placing a value one field depending on what is entered in one field for example if a zip code is entered in the zip field then the corresponding city is entered in the city field. i get the city to appear but only if i tab to the city field. how can i get it to automatically be entered upon tabbing or clicking out of the zip field. im just not sure where to put the code. am learning visual foxpro after programming un ...Show All
Hei Help! Save me from this error cursor not saved error message!!!
Hi all; I have this grid who's control source is a cursor who is exclusive. Somewhere in the grid I use a replace command to change one of the fields in the cursor. When I move to the next row, and change a field I get an error stating that the current row is not saved and needs to be saved. I have tried everything including putting a FLUCH FORCE command after the replace command. I don't see why an exclusively opened table shoul ...Show All
Joyjit library location
SET LIBRARY TO FFLUSH DIR temp.txt && size on disk is still 0 WAIT WINDOW "File Size = 0" = XFFLUSH() DIR temp.txt && size on disk is 8196 WAIT WINDOW "File Size Does Not Equal 0" CLOSE ALL I'm trying to run this example code (fox9)- not finding this library - searched for fll's,dll's,vcx's - I look in C:\PROGRAM FILES\MICROSOFT VISUAL FOXPRO 9\SAMPLES\API\ and find a table named examples - whi ...Show All
Alex.P. Limit edit box
I have a issue with an fox app where I need to limit a editbox to no more then 3 lines of 40 characters. three text box controls will not provide the word-wrap support I am looking for.. Is there away to do this chris krelle I ended up using the keypress event of three text boxes. and manualy controled the scrolling of the text! Thank you to all.. Every one was a help.. :) Chris Krelle myEditbox.MaxLength = 3*40 ...Show All
MajaA Help in VFP 6
Hello! I would like to know how can I auto-increment a field in VFP 6.0. The field is for storing an ID and it's of type numeric. Can anyone suggest a piece of code I would like to know how can I auto-increment a field in VFP 6.0 First you need to create a table to store the next value of the integer primary key for each table in your database. Table with this structure: Structure For: SYS_TABLE.DBF ...Show All
Foxcare VFPOLEDB on 64 bit Operating Systems
This is a bit annoying because there doesn't seem to be any reference about this on any of Microsoft's sites. Is the VFPOLEDB not compatible with 64 bit operating systems When trying to use it with either XP Pro 64-bit Edition or Windows Server 2003 64-bit edition, I get the "Provider not installed on local Machine." I find it hard to believe (sort of) that Microsoft would not specify that, nor get a patch out for it. Many of my ...Show All
DeveloperStudent12 _urlcombobox problem
I am trying to use this object since it offers much convenience as opposed to shellexecute. This is the problem I run into. When I issue commands in INIT: THIS.AddItem ("www.msn.com",1,1) THIS.AddItem("www.yahoo.com",2,1) THIS.AddItem("www.pdr.net",3,1) The items appear in combobox doubled. This set of urls is repeated twice! Not every url is doubled individualy but the whole set of three urls. This i ...Show All
a9192shark With ... EndWith
How does nesting work with With ... EndWith Does VFP work out which object I am referring to if I just enter .cDescription for example Is there a potential for ambiguity if the 2 objects have the same property I would like to use nested With ... EndWith but I am wary of introducing some difficult to find bugs. It should work fine with simple nesting. I prefer not to use nested WITH..ENDWITH for maintainabili ...Show All
tonyr1977 Serial Communication
Dear Experts There is a Weight Bridge having an Indicator to show Weight. Is there any simple way to get data from Indicator through Serial Communication while using Microsoft Communication Control Please Help Tariq, Check UT downloads section for 'serial.zip' from Marc Grajover (lastname is what I remember, might be spelled wrong). It has details about MScomm control and sample to use with a weight meter. ...Show All
Ultrawhack Problem with SUM() function?
I have a table with colums for debit and credit, each column has 2 decimals. I enter in the command window: sum(debit) to x and sum(credit) to y, then x=y. Result: they are not equal. I ask output: x and y, they are equal. Then I type: SET DECIMALS TO 10 and do the same things. Now the output shows me that x is not the same as y. There are differences in the 5th decimal position of x and y. How is this possible My table has only 2 decimals! I ...Show All
Richard C problem to use in "textbox"
Hi all; my language is Arabic I have a problem to use in "text box" vfp. i can not edit entered in the "textbox" of form. I choosing own of character (in right) my text but chose any of character (in left) I used to setting for the right to left property but it is disregarded. The cursor in the "textbox" is left to right and but I want the cursor in the "textbox" be right to left. My wind ...Show All
FredK5813 only VFP can control VFP
is there a posibility that we can open a VFP appilication at a remote location without using any 3rd party software like pcanywhere . Example...I am at the server and want to re-open a VFP client application which is closed by the user at the client PC. i am using winsock for the communication between my VFP server applic. and VFP client applic. pc How could we do that Is anybody has an idea ... Because I want m ...Show All
DanL_DeLorme running an app from a different partition
I want to run a VFP application (an exe file) from another partition. When I tried to click on the icon it gave me an error message that msvcr71.dll not found. In fact there is one on that partition but a much older version it seems. I can register the newer version of the dll on that partition and try again but I want to find out first if there are any general considerations for me to take into account before I did it. In case of dBase I had ...Show All
Giovanni Gavazzi HOW TO ADD AUTOMATICALLY A LOT OF .dbf FILE INTO A DATABASE .dbc FILE ???
Hi! In a folder I have a lot of .dbf file! I want to do the upsize to a MSDE, but I can't do it from a folder that contains the .dbf file....I need a .dbc file! So, when I create a new .dbc file from the project manager, fox can't allow me to add automatically all the .dbf file that are in my folder! I must add one by one...but this procedure is too much slow! Can you tell me how to add automatically a lot of .dbf file into a .dbc If exist ...Show All
