visual-foxpro

How to release inprocess COM Server object from Excel VBA

南楼画角 提交于 2019-12-04 03:30:11
问题 How do you force Excel (2007) VBA to release references to a COM server object? I have written an inprocess (Single instance DLL) COM Server in Visual Foxpro 9 SP2 which is instantiated from Excel 2007 VBA code on my development machine. Excel seems to be holding a reference to the COM object/dll even though I set it = Nothing. This prevents me from rebuilding the DLL due to a "File access is denied TestCOM.dll" message until I quit Excel which is a pain everytime I want to make a change and

Visual FoxPro driver for 64 bit Windows 7

☆樱花仙子☆ 提交于 2019-12-04 02:04:04
I've installed Visual FoxPro driver from this link on my 64 Bit Windows 7 Home Premium OS and tried to register vfpoledb.dll using REGSVR32. I could able to register this dll but when run my application which accesses VFP database is throwing the following error: System.InvalidOperationException: The 'VFPOLEDB.1' provider is not registered on the local machine. The same application is working fine in 32 bit Windows 7 Home Premium OS without any issues. I have googled for 64 bit VFP driver and found out that there are no VFP drivers for 64 bit OS from this link . Kindly help me to resolve this

How to decrypt a string encrypted by V FoxPro

自古美人都是妖i 提交于 2019-12-02 09:02:51
I have a program built in Visual Fox Pro which read and write information in a database, but the information is encrypted. I have the source code so, I have the key (same key to encrypt and dencrypt) use to encrypt/decrypt. But I cannot get the algorithm used to encrypt/dencrypt. I need this in order to create a new program with C# which can read the information and save it in another DB. Below you have some examples of the information encrypted: ùœ¢Qa³•ù¼?- pJ´’ˆò»Æ8-skYIÞµ§¬†Œ‚„Šç 럭IpAÔúùÈP@kJ´’ˆò»Æ8-skYIÞµ§¬†Œ‚„Šç I read that VFP doesn't have a native algorithm to encrypt so the developer

File access is denied

对着背影说爱祢 提交于 2019-12-02 01:46:31
I'm using SQL command within FoxPro 6.0 command window, and encountered the "File access is denied." My SQL command is: SELECT * FROM main.dbf WHERE Client = "ABC" Situation: Windows 7 Pro FoxPro 6.0 main.dbf is shared to many users. main.dbf is not hidden and is not write only Any comments will be greatly appreciated! Is this DBF file on a shared drive? If so, another user may have the file open Exclusive, or you are trying to open the file Exclusive. By default, Foxpro tries to open tables exclusively. In the command window or your program, issue these commands: SET EXCLUSIVE OFF USE main

Sql Parametrized syntax error with VFP OleDb

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 21:45:08
问题 I'm trying to make an SQL parametrized update command for a DBF File ( Visual Fox Pro ) I don't know why, but i have a "syntax error" on the "DbCommand.ExecuteNonQuery();". The exception error message is "Syntax Error.". I don't have any additionnal informations. string maRequete = "UPDATE " + strNomTable + " set " + "evetype = @evetype ," + "evedes = @evedes ," + "evecli = @evecli ," + "eveusermo = @eveusermo ," + "eveinterv = @eveinterv where eveNum = '" + strEvtNumeroString.ToString() + "'

How to release inprocess COM Server object from Excel VBA

为君一笑 提交于 2019-12-01 18:19:14
How do you force Excel (2007) VBA to release references to a COM server object? I have written an inprocess (Single instance DLL) COM Server in Visual Foxpro 9 SP2 which is instantiated from Excel 2007 VBA code on my development machine. Excel seems to be holding a reference to the COM object/dll even though I set it = Nothing. This prevents me from rebuilding the DLL due to a "File access is denied TestCOM.dll" message until I quit Excel which is a pain everytime I want to make a change and test it. I have boiled the code down to a very simple test setup: The VFP9 project (TestCOM) has just

Looking for a SQL-based RDBMS with a Windows GUI [closed]

扶醉桌前 提交于 2019-12-01 12:44:25
I have an application I developed 20 years ago with INFORMIX-SQL version 2.10 for MS-DOS 5.0. I have it working on MS-DOS 6.22, within Microsoft Virtual PC 2007, under Windows Vista, but I would like to re-write this application with a WINDOWS-based RDBMS. I'm looking for a product, similar in functionality to informix-sql, but for windows which: Will generate royalty-free (.exe) programs which don't require a runtime. Quickly prototype screens, reports, stored procedures (app generator). Integrated Development Environment. Rich functionality. I've looked at: FourJs Visual FoxPro Access Oracle

Looking for a SQL-based RDBMS with a Windows GUI [closed]

时间秒杀一切 提交于 2019-12-01 10:29:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I have an application I developed 20 years ago with INFORMIX-SQL version 2.10 for MS-DOS 5.0. I have it working on MS-DOS 6.22, within Microsoft Virtual PC 2007, under Windows Vista, but I would like to re-write this application with a WINDOWS-based RDBMS. I'm looking for a product, similar in functionality to

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

北城余情 提交于 2019-12-01 09:32:59
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). The distinct tables will remain (e.g. if there are three source tables, there will be three destination tables). Over time the tables may change (e.g. new fields added), so I can't make assumptions about table structure (apart from the existence of the

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

随声附和 提交于 2019-12-01 06:52:06
问题 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). The distinct tables will remain (e.g. if there are three source tables, there will be three destination tables). Over time the tables may change (e.g. new