-
- Refrencing other parts of a grid.
by Aleniko
- 3 Replies
- Last post
by Naomi Nosonovsky
- Hi; I have a class I created which shows qtty of open orders. I am always dropping this class in a grid. I want to color this dynamically depending on if there is a matching record in a certain table. I have the following code in the init of the class just for testing: : IF this.Parent.Class = "Column" this.Parent.DynamicBackColor = "IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255), RGB(0
-
- Double controls showing up...
by Aleniko29139
- 8 Replies
- Last post
by Lonny R
- Hi all;
I am trying to find out what is the best way to put a grid in a form so
the classes used in the grid are not the base classes but my own
classes.
If I drag the table from the DE or anywhere else, the grid created is using base classes.
Should I manually create the grid by groping my own grid into the form
and then start assigning the new columns etc, or is there a better
-
- Speed with CALCULATE
by Ed W
- 14 Replies
- Last post
by Tamar E. Granor
- I apologize in advance if my explanation and questions do not use the language and conventions of programming professionals, I'm a self-taught amateur. I've used VFP 6.0 successfully for many years and written many programs that have worked well but they certainly lack the sophistication and elegance that professionals would produce.
BACKGROUND: 6 tables are related via a common index
-
- Upgrading to Foxpro 9 SP2 causes Interop errors
by Atish R Chandra
- 10 Replies
- Last post
by Atish R Chandra
- I've been working on some custom software which uses a multi-threaded COM server which is called through VB.net. Before upgrading to SP2 I have had no issues, however now that I have upgraded my system to SP2 I can't get the VB.net code to create the foxpro COM object correctly. I keep getting the following error System.Runtime.InteropServices.COMException 0x80010105 I haven't been able to isolate
-
- Request to Refrain from Linking to UT Threads
by AndyKr
- 14 Replies
- Last post
by AndyKr
- I have removed the posts on this topic, and combined them, into a single, separate thread to avoid cluttering up a genuine quesion:
Naomi
Since you have withheld your E-Mail address I must post this caution publicly.
Please do NOT refer to "for-profit" sites - like the Universal Thread - in replies on this forum.
The reason is that the Universal Thread is not
-
- Help on Report Writer Wizard
by jpu94030
- 3 Replies
- Last post
by jpu94030
- Hi guys,
Hellllpppppp.
I am very new with VFP and already getting frustrated. I would appreciate a little help from you gurus.
Using the Report Writer Wizard always gives me this error message:
"The DBC containing the selected table was previously opened non-exclusively and the field(s) you chose for sorting are not in existing index tag. Please select field(s) which already have
-
- Problem when updating!!!! Help!!!
by pamtru
- 10 Replies
- Last post
by Naomi Nosonovsky
- Hi i have a problem when running this query in shared mode or set exclu off.
update table set field=5
It is very slow in a network or mapped drive. The crazy thing is that if the mapped drive is to a directory in the local computer it is very slow too. Example
use c:\table shared
update table set field=5
this go allright but now let suppose that i shared the fold
-
- Cursor adapters, ADO and Native VFP Data
by CChalom
- 14 Replies
- Last post
by CetinBasoz
- Hi,
I've been using Remote Views to access native VFP DBC's.through ODBC.
As I want to use some of the new functionalities of VFP data, AutoInc, Varchars, Blob fields, I was recommended to try using ADODB with Cursor Adapters.
But I've found no samples using VFP native data... Can someone recommend be some kind of literature for that
I was told that accessing data using AD
-
- Create New tables in existing DBC in specified directory or path
by TechMate
- 6 Replies
- Last post
by CetinBasoz
- I have never used Foxpro before until now. I am able to create a set of stored procedures to create two new tables from existing tables for reporting purposes in a DBC. I am using Visual FoxPro 9.0 for working.
What I am trying to achieve: I want the client to execute a stored procedure which will create the two new tables in the same directory (or path where this database currently resides).
-
- Screen clears when mouse is moved
by Gary ZZZZZ
- 2 Replies
- Last post
by Bronxgodzilla
- Help needed.
I am using VFP8.0 with VFP8SP1 installed.
Running an old program with @SAY GET commands.
Sometimes when I move the mouse, the VFP screen will clear unexpectedly. This is either something internal to VFP8, or the video card or driver, but I have no way of knowing which it is.
Has anyone else experienced this problem or does anyone have a solution
Thanks in adva
-
- Creating Index with oledb for FoxPro
by Sergio Aguilar
- 3 Replies
- Last post
by Sergio Aguilar
- Hello, well I'm trying to create an index over a field of a dbf file with a VB 2005 program, I'm using an oledb connexion. The code is like this
public sub test()
dim objcnx as oledbconnection
dim objcmd as olddbcommand
objcnx=new oledbconnection()
objcmd = new oledbcommand()
objcnx.connectionstring="Provider=vfpoledb.1;Data Source=c:\test.dbf;collating Sequence= machine
-
- My exe does not running other PC
by mezofi
- 14 Replies
- Last post
by mezofi
- Hi! I built a project and I have a big problem. It is run only my PC, and if I put it on a pendrive (exe). But if I put it on an other PC , this program show only main page. Then when I click someone button, the program show an error message: Command contains unrecognized phrase/keyword (Error 36) It is very strange, because if it is on my pendrive the program good have not got any error. Mez fi f
-
- Search the subfolders from different folders
by Karan CHAN CHAN CHAN
- 9 Replies
- Last post
by CetinBasoz
- Hi all,
I am preparing a small program, the main idea is to convert the txt file to .dbf.
There is an "A" folder contains 405subfolders, i have to convert the file from the subfolder of "A" to subfolder of "B" ("B" folder also got 405 subfolers which have the same subfolder name with "A").
Now the problem is --> how do i se
-
- Error reading file 1104
by Manoelrpn
- 0 Replies
- Last post
by Manoelrpn
- But the problem is with windows server 2003 and not windows server 2000,
I have the same problem.....
-
- sample class library
by jmom
- 6 Replies
- Last post
by jmom
- I have access to VFP6,8, &9 class libraries, but not everyone does. I tried copying a classes folder that has a datachecker from a samples.vcx from a local directory and copy it into a shared folder. When rebuilding project, it had a message saying could not find a MAINHWND and other Procedures. I tried searching for the names it provided, but no luck. Is there a datachecker sample in the V
-
- Proper practice - using class properties in forms/reports.
by Aleniko
- 11 Replies
- Last post
by dereck27
- Hi all; A pretty simple question: lets assume I have a class which is used for entering a range (customers, dates etc). It consists of 2 text boxes. I am dropping this class into a form which is producing a report. My question: What is the common/best way of accessing the control source of the textboxes in the class I can do any of the following: - Access them directly by their relative names (ie
-
- how to get around processing a field if a command button is clicked.
by ibbm
- 8 Replies
- Last post
by Naomi Nosonovsky
- I have a data entry screen with fields that get validated and command buttons on the bottom to add, save, delete etc.
when the cursor is on a field that has a valid event and I click on Save, the valid event happens before the save. I want to override all field validations if a command button is pressed. How do I do this
Thanks in advance.
-
- Microsoft: No Visual FoxPro 10
by CDFAUX
- 14 Replies
- Last post
by dni
- An official announcement of MICROSOFT: http://redmondmag.com/news/article.asp editorialsID=8320
Although all the signals pointed in this sense, obviously the official confirmation is a bad news. I believe that still lack clarity in the communication of Microsoft. I understand that SEDNA tries to leave liberated to the community the future development of VFP, but if the intention of Microsoft
-
- 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
-
- title bar's font
by RavindraPatil
- 4 Replies
- Last post
by dni
- Hi friends,
can we change font of form's title bar if yes, may i know how
thank u
-
- CREATE TABLE, but where is it saved on the drive?!
by Barts007
- 11 Replies
- Last post
by CetinBasoz
- I¡¯m trying to create a new free table, which is a dbf file in FoxPro, but I do not understand where is it saved on the drive.
Plus, I¡¯m getting a n error: ¡°Invalid path or file name.¡±
I¡¯m using VB.NET,:
SetConnectionString = "Provider=vfpoledb.1;Data Source=C:\VFP\myFile.dbf"
¡.
ExecuteNonQuery("CREATE TABLE 'C:\VFP\myFile.dbf' FREE (yr INT)")
What'
-
- How can I trap ALT key in KeyPress Event of TextBox or Form ?
by nrpanda
- 7 Replies
- Last post
by Tamar E. Granor
- Hi !
I have developed a simple form with 5 textboxes and 2 command buttons. I want to trap ALT key in the KeyPress event of TextBox or Form. I am able to trap Shift Key in KeyPress event of both TextBox and Form only. When I am putting code line {Read Event} in Form.Activate event, then I am able to trap CTRL key. But in no way I am able to trap ALT key. I am using Microsoft Visual Foxpro 6.0
-
- How to find a ref in a class lib?
by Aleniko
- 3 Replies
- Last post
by Aleniko
- Hi Again; I'm trying to build my app and I'm getting the following error: Visual Class Library c:\devel\srvfp\krcb.vcx has the following errors: Form 9CUSTSERVICE01 - Undefined I'm trying to find the class that references this form. I tried to use the "Code Ref" tool in VFP9 to find this - no success. I manually opened up most of my classes and there is no ref to this form. I even &quo
-
- Help me: build messagebox()
by le tan duc
- 9 Replies
- Last post
by Naomi Nosonovsky
- use API(), I want to build a function MESSAGEBOX() (as Messagebox() in VFP) (with it i don't want to fix my programs) (messagbox() i have build have parameters similar to Messagebox fuxnction in VFP) Thanks
-
- Forum Usage
by Naomi Nosonovsky
- 14 Replies
- Last post
by AndyKr
- Since this thread has gone off-topic, may I please ask few questions about this forum usage.
1) How can I see replies in the chronological order E.g. I only want to see the latest replies but I can not figure out how to do it.
2) Can I turn off Alerts for good I often forget to uncheck them when posting a message.
3) Why most of the messages appear in a very small unreadable f