-
- Define window in VFP
by lowellnelson
- 8 Replies
- Last post
by lowellnelson
- I am a neophyte VFP "programmer." Long ago I created a table in FoxPro 2 which included some memo fields, and some code which displayed a stack of windows so that as I scrolled through browse in one window, modify memo in other windows simultaneously displayed the contents of memo fields linked to the recno() of the cursor in the browse window. I am finally trying to reconstruct this in
-
- create a key in registry
by le tan duc
- 7 Replies
- Last post
by le tan duc
- Please help me to create a key (Keyname='key name') in it: String name: (defalut) Type: REG_SZ Data: "Agribank" Thanks.
-
- iNSTALLATION dISK
by honey1016
- 2 Replies
- Last post
by AndyKr
- In Visual Foxpro Version 7.0 how to create an installation disk Please help me and give me the step by step procedure. Thank you
-
- VFP equivalent of VB Set statement
by hangover
- 4 Replies
- Last post
by hangover
- I am trying to change the SaveSentMessageFolder property of an Outlook mail item through VFP so that when my application sends an email it is saved in a specific folder (not the default 'Sent Items' folder).
However when I try to change it (e.g. loMailItem.SaveSentMessageFolder = loFolder) , instead of changing the folder to which the sent item is saved, it renames the 'Sent Items' folder.
-
- Setting a date in VP 6
by ibbm
- 4 Replies
- Last post
by ibbm
- I want to set a date field to zeros
I use to use "replace datefield" with {"00/00/00"} but vp 6 doesn't like it.
Any help would be appreciated. Thanks
-
- How do VFP get the last modified date-time information?
by Bit
- 2 Replies
- Last post
by Naomi Nosonovsky
- Hi,
Concerning a dbf file details.
Can VFP datetime() provide the
last modified, create, last acces "date-time"
details to developer
Thanks in adv,
BIT
-
- Delete File
by ScottCamp
- 4 Replies
- Last post
by Naomi Nosonovsky
- I am trying to copy files from one directory to another, then delete everything in the first diractory. I am using version 5 currently. everything works except I get this annoying confirmation box making sure I want to delete the files in the 1st directory. I know there's gotta be a way to supress that, but I don't know how.
below is the code I'm using to do this.
_______________________
-
- How to check if a local printer is shared in VFP at runtime.
by ControlNode
- 11 Replies
- Last post
by ControlNode
- I'm looking for a way of determining if a local printer is shared. I've looked into APRINTERS(), ENUMPRINTERCONNECTIONS of WSCRIPT.NETWORK and a couple other places/things and not found a way of doing this. I know there has to be a way of checking, but again time limits are preventing me from looking for an extended period for a fix and again I turn to asking.
-
- Formatting Graphs
by Derek Dowle
- 9 Replies
- Last post
by Derek Dowle
- I am using FoxPro 9 and have inserted a graph onto a page of a page frame of a form.
I have been following the principles of the 'How do I create a graph using MSGraph from Marcia Akins white paper Creating Graphs In VFP. This white paper has been very helpful as I did not know where to start before reading it.
I have succeeded in populating the graph with the correct data and displ
-
- finding duplicates with a query with fox 6 or 9...
by ibbm
- 12 Replies
- Last post
by ibbm
- Is there anyway to do a query that displays only duplicate records Preferrably in 6 as I'm not ready for v9.
Thanks as always!
-
- Copying a numeric value with decimals from a cursor into excel without rounding up
by mrfitness
- 14 Replies
- Last post
by Naomi Nosonovsky
- I am having trouble with copying numeric values with decimal places into excel. I have a select statement (some being sums of numeric fields with 2 decimal places) with a group by function and I place these results in cursor c1. When it tries to enter this value into excel, it rounds all values up. (eg 309.66 becomes 310) I tried changing the format of the excel file to numeric with 2 decimal plac
-
- DELETE works after APPEND but not INSERT
by Hans L
- 3 Replies
- Last post
by Hans L
- I have two 'New record' options in an app: - INSERT INTO {Table] FROM MEMVAR - APPEND BLANK In the resulting editing form, I have a an Undo button with DELETE GO TOP DO FORM frmpartlist THISFORM.Release In option APPEND BLANK, the DELETE works as expected (by me, that is). In option INSERT INTO {Table] FROM MEMVAR, the inserted record hangs around until I close VFP; when I open VFP and the app aga
-
- Older Foxpro Dos freezing on XP.
by Aleniko
- 8 Replies
- Last post
by Rick Borup
- Hi everyone; I hope you don't mind the pre historic question:
I have an older app written in FPD2.6.
On some new machines, the app will freeze up roughly a few times a day. It always happen when the user clicks a 'popup'.
Any one experienced this Any ideas where to start
I am in the process of updating my app to VFP but it will take some time and I would want the old app to
-
- Future of Visual Foxpro
by FoxyNet
- 14 Replies
- Last post
by Craig Berntson
- 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 product
-
- Subclassing visual foxpro base classes?
by mathmo
- 8 Replies
- Last post
by mathmo
- Just about finished reading through the first of the Learning Visual FoxPro Videos , the author is very much in favour of making subclasses for all the visual foxpro base classes. However, I'm wondering how common is this in practise Or is it merely his personal preference
-
- I can't see the content of the last field of the record
by Markspiz
- 28 Replies
- Last post
by Markspiz
- I tryed to open a "dbf" table with VFP to read some data with mi preferred platform (VFP). But in the last field of the record I can't read the right data (VFP return all blanks fileds). If I try to MODIFY STRUCTURE of the table in VFP the lenght of the record is 1614 bytes, an other utility for managing dbf table give me a record size of 1870 bytes. Is there a way to read this table cor
-
- How to control the scanner with VFP?
by hoabinh
- 5 Replies
- Last post
by AndyKr
- Hi everyone,
Could I build a program in VFP to control my scanner as: connect, scan, and save file....
Where could I find out the TWAIN OCX support for it
Thanks a lot.
-
- Qick Sql question
by Brad McCormick
- 4 Replies
- Last post
by CetinBasoz
- Good Morning Everyone, Quick question, how can i use a variable with a like statement as in select * from table where col1 like var
-
- Exporting Data to Text File
by Dohko
- 5 Replies
- Last post
by Alex Feldstein
- Hi
I would like to know how can I add some text to an exported file from Fox Pro.
For example I have a Database named Sample. With 1 column Named State.
This column contains numbers.
SELECT State, COUNT(*); FROM sample; GROUP BY State ; INTO CURSOR MyCount COPY TO temp.txt DELIMITED
Using this code gives me txt file with the numbers and the frequencies. Is there any way
-
- FWRITE always return 0
by Eddie N
- 2 Replies
- Last post
by Eddie N
- I open and write a file in low-level, using FOPEN and FWRITE. All goes well except one. When I call the FWRITE, the return value is always 0 , whereas the HELP file clearly stated that "FWRITE( ) returns the number of bytes written to the file. If FWRITE( ) can't write to the file for any reason, 0 is returned." But the file is there, the string written to the disk.
Code Snipp
-
- how could i change the gateway and DNS
by Madix_t
- 1 Replies
- Last post
by dni
- hello good day to all experts
how could i change the workstation's gateway, and its preferred & alternate DNS automatically from VFP, so that i don't have to open local network connection status for every workstation and change it manually. I have two service provider at my internet, and if one ISP bugsdown, i have to reconfigure the gateway, and DNS manually the LAN at a particular PC
-
- How to get the Report Preview in Full Screen ?
by Paramu
- 3 Replies
- Last post
by Naomi Nosonovsky
- Helo,
Is there any idea to get the report in full screen... my codings as follows....It's not working properly...
Is the any genius to help me Please.........
-------------------------------
SET REPORTBEHAVIOR 90
LOCAL loPreviewContainer, ox AS ReportListener
DO ( _REPORTPREVIEW ) WITH loPreviewContainer
loPreviewContainer. Caption = 'PIS Special Report
-
- How to change a kind of propertyiy in all forms and formsets in a project?
by 31128839
- 2 Replies
- Last post
by dni
- Hello everyone:
Could you give me an example of how to change a kind of propertyiy in all forms and formsets in a project, thank you!
-
- VPF 6: Problem sending the item from the combo to report designer
by MillBear
- 8 Replies
- Last post
by dni
- Hi all,
I have a problem sending the data to the report designer after selecting the data from the pull-down combo. There is a field namely lbl_attname in the report designer.
In Click procedure of the command button,
if not(empty(thisform.Combo1.value))
lbl_attname = alltrim(thisform.Combo1.value)
else
lbl_attname = 'To whom it con
-
- How to let user choose a data path?
by Lightening
- 5 Replies
- Last post
by Lightening
- I wish to let the user choose a folder to dump data.
How can I achieve that To be user friendly, I whish to give them an interface like putfile() or getfile() screen. Not a text box to manualy enter the path. Thanks.