This project is read-only.

Installation instructions:

Requirements:

    • Visual FoxPro Professional 2012 download from CodePlex
    • GDIPlusX download from CodePlex
    • .Net 4.0 Framework

First time setup:

Note: These are very early instructions to get this package running. For now, it requires several manual steps, but the process will be improved as the product development continues.

1. Download the source from the Source Code page and extract the files to a folder on your computer.

2. Copy scintilla.dll and scilexer.dll from the Source folder to your C:\Windows\System32 folder.

3. Register vfpdotnet.ocx as follows:

  • Open a Cmd.exe window in the "Open as Administrator" mode to run this next command
  • Run:  Regsvr32 “C:\windows\System32\vfpdotnet.ocx”

4. Register DotNetControl.dll as follows:

  • Note: This is a .Net assembly that requires being registered by the .Net Framework
    (From the same “Open as Adminsitrator” command window above)
  • Run: %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\<Path>\Source\Toolbars\bin\Release\DotNetControl.dll"

5. Install the GDIPlusX project from VFPX.

  • You can download it from here: http://vfpx.codeplex.com/releases/view/15083
  • All you need is to exact the file “System.app” and place it in you main FoxPro installation folder.
    (i.e. C:\Program Files (x86)\Microsoft Visual FoxPro 9\ or wherever you installed VFP)

Now start VFP, and go to the Command Window:

Cd "C:\<Path>\Source\"

Do “VfpDotNetSetup.prg”
 (Only required before first use. Adds a new index tag to Wizards\fdKeywrd.dbf table)

Do "Main.prg"
(This will activate a new Toolbar and a ToolBox with UI controls in it.)

Now, to start the Form Editor:
Do "VisualEditor.prg"
(Currently, VisualEditor.prg is hard-coded to load "Test.scx" so that form will be loaded automatically when you run this prg.)

You will now see a Form Designer window open up where you can drag some controls from the Toolbox onto the Form in the Form Designer.

These control are accessible from the native FoxPro Properties window and they work with PEM Editor as well.

 

Again, this project is at a very early stage and it will require a lot testing a feedback to help it progress.

Please post you comments and questions on the Discussions page or the Issue Tracker page.

Last edited Apr 12, 2012 at 7:16 PM by mattslay, version 15

Comments

GonzaloAraujoC Jul 13, 2013 at 10:58 PM 
This tool will register any tlb and create all the classid and prepare windows and workspace for correct use:

http://www.slmsistemas.net/Downloads/RegisterActiveX.exe

Work in Windows 7/8 Windows 2008/2012 32 and 64 bits.

Is developed to make all TLB and ActiveX Type Library work with any .NET or other languages like Visual FoxPro, Visual Basic, etc, this tool will perform many steps and ejecute tasks like regasm.exe

Greetings

Gonzalo

@GonzaloAraujoC

Cyberfacz Feb 21, 2013 at 11:03 PM 
No puedo con el paso 3
ya instale el .net...4
tengo win7 Ultimate

HernanCano Sep 16, 2012 at 6:56 PM 
Hi, boys.
I want to know who took with this project and goes on with it.
I am very interested in it, for aplying with another project.
Thanks.

HernanCano Sep 2, 2012 at 6:12 AM 
Same error as vicos and dan_ro.
I want to use this utility; I am evaluating it for integrating to some another.
Can somebody help me?
In my case is when I "do Main.prg".
WinXP SP3.

OLE error code 0x80040154: Unknown COM status code:
_Screen.vfpDotnetToolBarArea = Newobject("vfpdotnettoolbars", "VfpDotNetIDE")
.

dan_ro Aug 9, 2012 at 12:38 PM 
same OLE error code 0x80040154: Class not registered at line:
_Screen.vfpDotnetToolBarArea = Newobject("vfpdotnettoolbars", "VfpDotNetIDE") when running "Main.prg"

pcelba Jul 13, 2012 at 11:04 AM 
As I wrote somewhere else I don't need this product in my VFP IDE just now.

BUT this product could be very useful if it will run under VFP Run-time because Intellisense is totally missing there and VFP IDE availability will be problematic soon. Do you plan this possibility?

BTW, neither VFP nor VFP Run-time is listed in Requirements above...

GusFitti Jun 29, 2012 at 9:36 PM 
Excellent work.

vicos Apr 26, 2012 at 11:44 AM 
My OS is Windows 7 32 bit.

jijopappachan Apr 26, 2012 at 7:20 AM 
Hi Vicos,
Please let me know your OS details. So that I can try.

vicos Apr 25, 2012 at 9:49 AM 
Hi Jijo!
OLE error code 0x80040154: Class not registered at line:
_Screen.vfpDotnetToolBarArea = Newobject("vfpdotnettoolbars", "VfpDotNetIDE")

jijopappachan Apr 25, 2012 at 8:15 AM 
Hi Vicos, Sorry for the late reply, We are not yet implemented the complete prgEditor. Currently we are concentrating on Visual Editor(visualEditor.prg).

jijopappachan Apr 25, 2012 at 8:12 AM 
Hi gaggreen, can you please paste the exact error message and your OS information here.

vicos Apr 20, 2012 at 11:34 PM 
How can I edit a prg in prgeditor?

vicos Apr 20, 2012 at 11:33 PM 
Same error and me!

gagreen1214 Apr 19, 2012 at 3:06 PM 
Tried to execute main.prg -- get an error that the vfpDotNetIDE which relies on the DotNetControl.dll is not registered. However, I successfully complete the step above to register with REGASM.EXE. Is there another dependency? I tried to open the visual class directly and get the same error.