VARCHART XNet - Frequently Asked Questions
1. What if Problems Occur with Registering?
If during registration of VARCHART XNet an error message occurs "REGSVR32 Error Return: 0X0000007e", the file vcprct32.dll does not exist or is not stored in a directory specified by the PATH.
If during registration of VARCHART XNet an error message occurs "REGSVR32 Error Return: 0X000000b6" and "Number 6877 not found in dynamic link library MFC42.DLL", the file mfc42.dll does not exist or is not stored in a directory specified by the PATH.
If one of the files does not exist, please contact the support of NETRONIC Software GmbH.
2. How can VARCHART XNet be Licensed?
If you wish to continue an expired licence or to register a component for the first time, please open the Licensing dialog box on the General property page and click on the Request button.
Then the Request License Information dialog will open. Please enter your registration number, your name and the name of your company and click on Send email to NETRONIC. An email to NETRONIC will be generated automatically. As soon as we have received it, we will generate your license code and return it to you.
Please copy the license code to the text field of the licensing dialog and click on the button Activate License. Please leave the property pages of VARCHART XNet by OK. Re-open some property page, make some change and store it. The new licence will then be activated.
3. How to Integrate a License File into an ASP.NET Website Project of Visual Studio 2005
In a website project, Visual Studio 2005 stores the license information for XNet ASP.NET to the file app_licenses.dll. When building a project (Build > Rebuild all), the file is not updated. If you received a new license file, it is necessary to go through the steps described below to enforce the acceptance of the new license:
- Open the project in VS 2005
- In the project explorer, click on the file NETRONIC.XNet.Web.dll, which you can find in the directory bin. In the field Auto-refresh path the property window indicates the folder from which the file NETRONIC.XNet.Web.dll is updated automatically.
- Please close VS 2005.
- Please copy the license file NETRONIC.XNet.Web.VcNet.lic to the folder mentioned in step 2.
- Please open the project in VS 2005.
- Please rebuild the project by clicking on Build > Rebuild all. The license file is now copied to the bin folder of the project.
Please close VS 2005 and re-open the project in VS 2005. - In the project explorer, please click on the file licenses.licx by using the right mouse button and select build runtime licenses from the pop-up menu. The file app_licenses.dll will be rebuilt and the new license information will be copied from the file NETRONIC.XNet.Web.VcNet.lic to the DLL file.
- Please close VS 2005 and re-open the project in VS 2005.
- Re-build the project by Build > Rebuild all once again.
4. How can I Make VARCHART XNet Use a modified INI file?
Some of the VARCHART XNet settings in ActiveX cannot be modified on the property pages. Still, you can adjust them by the INI file:
- Open the General property page. The Configuration file field shows the current configuration file (for example project.ini).
- Please click on the Browse button. The Load/Save dialog will open. Please enter a file name into the Temporary data file field to be used as a temporary dummy configuration file, such as dummy.ini. Click on Save.
- Now click on the OK or Apply button of the General property page. The configuration file dummy.ini will automatically be generated and applied.
- You can now modify your INI file which in our example is the project.ini, by some text file editor and save your changements.
- On the General property page, select the modified file in the Configuration file field (project.ini) and click on OK. Your modified INI file is being effective from now on.
5. How can Context Menus be Disabled?
You can prevent a predefined context menu to pop up by setting the returnStatus to vcRetStatNoPopup. The below programming samples apply to the ActiveX edition and VB6:
//switching off the context menu of the diagram
Private Sub VcNet1_OnDiagramRClick (ByVal x As Long, ByVal y As Long, returnStatus As Variant)
returnStatus = vcRetStatNoPopup
End Sub
//switching off the context menu of links
Private Sub VcNet1_OnLinkRClickCltn (ByVal linkCltn As VcNetLib.VcLinkCollection, ByVal x As Long, ByVal y As Long, returnStatus As Variant)
returnStatus = vcRetStatNoPopup
End Sub
//switching off the context menu of nodes
Private Sub VcNet1_OnNodeRClick (ByVal node As VcNetLib.VcNode, ByVal location As VcNetLib.LocationEnum, ByVal x As Long, ByVal y As Long, returnStatus As Variant)
returnStatus = vcRetStatNoPopup
End Sub
6. What Prevents Nodes from Being Generated Interactively?
Nodes can only be created interactively if:
- ... on the General property page the check box Allow creation of nodes and links was activated
- ... in the programing code the property AllowNewNodesAndLinks was not set to False
- ... the return status of the event OnNodeCreate was not set to vcRetStatFalse.
Sub Form_Load
VcNet1.AllowNewNodesAndLinks = False
End Sub
7. What can be Done if Printing Problems Occur?
If in ActiveX printing of your diagram is impossible or if you cannot set up the printer, please verify whether the file vcprct32.dll exists. Also, please verify if the file can be located by the PATH settings, and if the Windows default printer was set up.
If the file vcprct32.dll does not exist, please contact the support of NETRONIC Software GmbH.
