vfp

Word Mail merge crashing with many records

I have a VFP form where the user can print the invoices for a batch of client. Each invoice can be preceded by a cover letter written in Word by the user. The printout is done on a multiple bins printer. Here's the logic: - Create the cursor for the cover letters - Create the cursor for the invoices - Create the mail merge in Word: ...

Visual FoxPro - File Access is Denied

Our ERP system is a hybrid. The actual data is SQL, but the tables which contain user information, profiles, rights, security, etc is in Visual FoxPro. I need to get exclusive access to the VFP database. I remove everyone from the system using the program itself, and it indicates everyone is out of the system. I get the following r...

VFP to .Net Compiler

Has anyone had experience of or got any knowledge about the VFP to .Net Compiler? I'm working for a company with an extensive range of VFP9 applications and they are looking for a quick way to get apps running in .Net. I've been asked to check out this compiler to see if it is a viable option but so far I haven't been able to get it to ...

How do I create a new VFP (OLEDB) table from an existing one using .NET?

We have an application that creates a number of Visual Foxpro (DBF) tables. Each of those tables have a different schema, but they all contain a known date field. I've been asked to create another application (in C#) that will copy the last week's worth of data from each table to a new table (in a different folder to the source tables)....

Floating-point for ARM in Visual C++

I'm using Visual C++ 2005 for building applications for ARM, Qualcomm Snapdragon chip. I know it supports VFPv3. Where can I get SDK or something like to use floating-point arithmetics hardware? Best of all if Visual C++ compiler would generate VFP instructions instread of emulating. ...

Visual FoxPro and VS2008 do not show all DBF records. A separate build does.

Hi, I am working on a project in Visual Studio 2008 (in vb.net). The app needs to import data from a Visual FoxPro database (dbc file). Do not ask why FoxPro. It needs to be vfp and the database is updated daily by another application; therefore, I cannot use any other database format. I connect to the database through OleDb FoxPro dri...

How would I include a (VFP) merge module in an ASP.NET Web Deployment Project?

I have an ASP.NET application that is installed using a Web Deployment Project. I'd like to add the Visual FoxPro merge module to the installer. Does anyone have examples of how to do this - or how to install any merge module in a Web Deployment Project? Going to WiX will be my fallback, but as the Web Deployment Project is working effe...

retrieve FoxPro 7.0 database schema

I need to obtain a list of tables in a Visual Fox Pro database. (7.0) This is what I'm doing.... but it's not working or I'm not doing it right... DataFactory dataFactory = new DataFactory(); dataFactory.CreateOldStarbaseConnection(); dataFactory.OpenOldStarbaseConnection(); OleDbConnection oldStarbaseConnection = dataFactory.OldStarb...

Assembly: convert floatingpointvalue to signed byte

Hi! I currently try to write a program for the VFP unit of the iPhone using ARM assembly code. The VFP can do floatingpoint calculations, but AFAIK no integer arithmetic. However, it can convert a float to a signed integer (4 bytes). Also, according to this quickreference: http://www.voti.nl/hvu/arm/ARMquickref.pdf it seems it does not ...

iPhone ARMv6 VFP asm latency, throughput and hazards

Hi! in this document: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301g/DDI0301G_arm1176jzfs_r0p7_trm.pdf on page 21-25 (pdf page 875) the througput and latency timings are given for the assembly instructions of the VFP unit. Are those numbers independant of vectorsize? 1: let's take FMULS which has throughput of 1 and latenc...

Sybase Advantage Database server and 64 bit VFP OLE providers

Does anyone know if the sybase ads vfp provider works in 64 bit? Currently we have to build our .NET applications targeting x86 to be able to use the vfpoledb provider that only runs in 32 bit. Any solutions or suggestions would be appreciated. ...

"Parameter is incorrect" error when invoking .NET assembly via COM component

Hello all! I have a .NET assembly that lives in the GAC. It is registered correctly so that it can be invoked by COM components. This .NET assembly contains a method and an overload to the method: public void Foo(string sValString, out string sOutString, string sOverloadString) { if( sOverloadString == string.Empty ) // d...

How to approach whitelisting an app/exe

We have an application that auto-installs upgrades of itself on our customers' (Windows OS/PCs) computers. It is lightweight (650K) and does a very specific task for our customers in helping us collect data for them as part of our overall service to our customers. It first checks our website to see if a newer version of the app exists an...

VFPODBC very slow

I'm using an MS Access 2003 front end to access the data on a network drive owned by a Visual Foxpro 9 application via odbc, and it seems to be unbelievably slow - there's about 1400 records in one particular table, and it takes a good minute to load up on the Access interface, although when using a basic DBF viewer, or the application t...

How easy is it to convert an application from Visual Foxpro 6 to Visual Foxpro 9?

Are there any problems converting a Visual Foxpro 6 application to Visual Foxpro 9; or is this straight forward? Any gotchas that I should watch out for during the process? ...

Total pages in report of VFP 8.0 can be reset by data grouping?

I have a report (using VFP 8.0) with a data grouping by Invoice Number, i need to reset the total of pages by changing of invoice number. I failed to do so, as the _pagetotal will always return total pages of all selected invoice. Please advice. ...

Does VBA have an equivalent of "Text To" from Visual FoxPro

Visual FoxPro supports syntax such as the following: Text To VariableName TEXTMERGE noshow select * from..... EndText This assigns the value of all text between "Text To" and "EndText" to the variable. It eliminates the need for multi line statements separateed by "+ ;" Does VBA have something similar? ...

InvalidCastException Object[*] to Object[]

I have a COM object written in Visual Fox Pro 9.0. It has the following procedure: PROCEDURE GetArray(m.vcArrayName as String) as array RETURN @&vcArrayName The COM object is referenced in a VS2010 project using C#. The signature of the procedure in C# is: object GetArray(string vcArrayName); When debugging I can see that the r...

VFP Unit Matrix Multiply problem on the iPhone

Hi. I'm trying to write a Matrix3x3 multiply using the Vector Floating Point on the iPhone, however i'm encountering some problems. This is my first attempt at writing any ARM assembly, so it could be a faily simple solution that i'm not seeing. I've currently got a small application running using a maths library that i've written. I'm ...

COPY TO xxxx.xls TYPE XLS (VFP 8.0 SP1)

Hi All, I downloading table from SQL 2008 using VFP 8.0 (SP1) using command: COPY TO xxx TYPE XLS Some of the data in the excel is disappearing. Example, Table in SQL: Cus(ID int(4), CusNam VARCHAR(35)) When i issue the following command at VFP Forms: (a) COPY TO xxx TYPE FOX2x [Data display correctly as following] *ID CusNa...