Tab Pro Version 2.0
UPGRAD.TXT
FarPoint Technologies, Inc.
-------------------------------------------------------------------------
This document contains instructions for upgrading existing projects that 
used either Tab Pro version 1.1 or Tab/VBX version 1.1 controls. Refer 
to the appropriate instructions for your development environment.

**** Upgrading Existing Tab Pro Version 1.1 Projects **** 
   
If you have created applications using Tab Pro version 1.1, you must   
upgrade your existing projects. Complete the steps provided for your   
development environment.   
   
Upgrading Visual Basic® Projects to Use the VBX Controls   
   
If you formerly used Tab Pro version 1.1 VBX controls and now want to use  
version 2.0 VBX controls, complete the following steps.   
   
To upgrade existing Visual Basic projects for VBX controls   
   
1. Open your existing project.   
2. If the project used the file TABPRO11.BAS,use the file TABPRO.BAS 
   in place of it. 
3. Save the project file and form files as text.   
4. Edit the project file (.MAK) to change the following references:   
	Change . . .	To . . .   
	IMPPRO11.VBX	IMPPRO20.VBX   
	TABPRO11.VBX	TABPRO20.VBX   
5. Edit the form files (.FRM) to change all TabPro and ImprintPro class   
   references as follows:   
	Change . . .		To . . .   
	fpVBImprintPro11	vaImprint   
	fpVBTabPro11		vaTabPro   
6. Load your project and verify your changes.   
   
Upgrading Visual Basic Projects to Use the OCX Controls   
   
If you formerly used Tab Pro version 1.1 VBX controls and now want to  
use version 2.0 OCX controls, complete the following steps.   
   
To upgrade existing Visual Basic projects for OCX controls   
   
1. Open your existing project.   
2. If the project used the file TABPRO11.BAS, use the file TABPRO.BAS 
   in place of it. 
3. Save the project file and form files as text.   
4. Edit the project file (.MAK) to change the following references:   
	Change . . .	To . . .   
	IMPPRO11.VBX	IMPPRO20.VBX   
	TABPRO11.VBX	TABPRO20.VBX   
5. Edit the form files (.FRM) to change all TabPro and ImprintPro class   
   references as follows:   
	Change . . .		To . . .   
	fpVBImprintPro11	vaImprint   
	fpVBTabPro11		vaTabPro   
6. Load your project and verify your changes.   
7. Save the project to rewrite the binary data in the .FRX file.   
8. Start Visual Basic 4.0 (16-bit) or Visual Basic 4.0 (32-bit) and load  
   the project file (.MAK).   
   
Upgrading C++ Projects to Use the VBX Controls   
   
If you formerly used Tab Pro version 1.1 VBX controls and now want to  
use version 2.0 VBX controls, complete the following steps.   
   
To upgrade existing C++ projects for VBX controls   
1. Open your existing project.   
2. If the project used the file TABDLL11.H, use the file TABDLL.H.  
   in place of it. If the project used the file TABPRO11.H, use the file 
   TABPRO.H in place of it.   
3. If you used AppStudio to put a Tab control on a dialog, open the   
   .RC file as text in a text editor and make the following changes:   
	Change:	CONTROL "IMPPRO11.VBX;fpVBImprintPro11;	  
	To: 	CONTROL "IMPPRO20.VBX;vaImprint;   
 
	Change:	CONTROL "TABPRO11.VBX;fpVBTabPro11;  
	To: 	CONTROL "TABPRO20.VBX;vaTabPro;  
4. Rebuild your project and run it.   
   
Upgrading C or C++ Projects to Use the 16-Bit DLL Controls   
   
If you formerly used Tab Pro version 1.1 DLL controls and now want to  
use version 2.0 16-bit DLL controls, complete the following steps.   
   
To upgrade existing C or C++ projects for 16-Bit DLL controls   
1. Open your existing project.   
2. If the project used the file TABDLL11.H, change the filename to  
   TABDLL.H.   
3. If you hard coded the class name of the Imprint or Tab control in   
   your project, make the following changes:   
	a. Either use the define (FPCLASS_IMPRINT for Imprint or 
	   FPCLASS_TAB for Tab) or   
	b. Make the following changes as needed:   
		Change . . .	To . . .   
		fpImprintPro11	fpImprintPro1620 (16-bit DLL)   
		fpTabPro11	fpTabPro1620 (16-bit DLL)   
4. Rebuild your project and run it.   
   
Note  To find the class names for 16- or 32-bit controls, search for the   
      define FPCLASS_IMPRINT or FPCLASS_TAB in the TABDLL.H file.   
 

 
 
**** Upgrading Existing Tab/VBX Version 1.1 Projects **** 
 
If you have created applications using Tab/VBX version 1.1, you must  
upgrade your existing projects. Complete the steps provided for your  
development environment. 
 
Upgrading Visual Basic Projects to Use the VBX Controls 
 
If you formerly used Tab/VBX version 1.1 controls and now want to use  
Tab Pro version 2.0 VBX controls, complete the following steps. 
 
To upgrade existing Visual Basic projects for VBX controls 
1. Open your existing project. 
2. If the project used the file TABVBX11.BAS, use the file TABPRO.BAS 
   in place of it. 
3. Save the project file and form files as text. 
4. Edit the project file (.MAK) to change the following references: 
	Change . . .	To . . . 
	FPIMPRNT.VBX	IMPPRO20.VBX 
	FPTAB11.VBX	TABPRO20.VBX 
5. Edit the form files (.FRM) to change all Tab/VBX class references  
   as follows: 
	Change . . .	To . . . 
	fpVbImprint	vaImprint 
	TabCtl		vaTabPro 
6. Load your project and verify your changes. 
 
Upgrading Visual Basic Projects to Use the OCX Controls 
 
If you formerly used Tab/VBX version 1.1 controls and now want to use  
version Tab Pro version 2.0 OCX controls, complete the following steps. 
 
To upgrade existing Visual Basic projects for OCX controls 
1. Open your existing project. 
2. If the project used the file TABVBX11.BAS, use the file TABPRO.BAS 
   in place of it. 
3. Save the project file and form files as text. 
4. Edit the project file (.MAK) to change the following references: 
	Change . . .	To . . . 
	FPIMPRNT.VBX	IMPPRO20.VBX 
	FPTAB11.VBX	TABPRO20.VBX 
5. Edit the form files (.FRM) to change all Tab/VBX class references  
   as follows: 
	Change . . .	To . . . 
	fpVbImprint	vaImprint 
	TabCtl		vaTabPro 
6. Load your project and verify your changes. 
7. Save the project to rewrite the binary data in the .FRX file. 
8. Start Visual Basic 4.0 (16-bit) or Visual Basic 4.0 (32-bit) and  
   load the project file (.MAK). 
 
Upgrading C++ Projects to Use the VBX Controls 
 
If you formerly used Tab/VBX version 1.1 controls and now want to use  
Tab Pro version 2.0 VBX controls, complete the following steps. 
 
To upgrade existing C++ projects for VBX controls 
1. Open your existing project. 
2. If the project used the file TABVBX11.H, use the file TABVBX.H 
   in place of it. 
3. If you used AppStudio to put a Tab control on a dialog, open the .RC  
   file as text in a text editor and make the following changes: 
	Change:	CONTROL "FPIMPRNT.VBX;fpVbImprint;	  
	To: 	CONTROL "IMPPRO20.VBX;vaImprint;   
 
	Change:	CONTROL "FPTAB11.VBX;TabCtl;  
	To: 	CONTROL "TABPRO20.VBX;vaTabPro;  
4. Rebuild your project and run it.


© 1996 FarPoint Technologies, Inc.
