Q: | Why can't the plugin developed through Microsoft Visual Studio be loaded in SuperMap Desktop GIS 6R products? |
A: |
Please make sure that the assembly where the plugin is in will be automatically deployed to the corresponding folder under installation directory\Bin\Plugins and the configuration file (*.config) be deployed to installation directory\Workenvironment\Default when compiling projects in Visual Studio. If the plugin can't be properly loaded, please check the following points. Check the AseemblyName and CtrlAction properties of in the configuration file of the plugin. |
Q: | What should I do to avoid overwriting the self-developed plugins when performing the overwrite installation? |
A: | To solve the problem, you can create a new work environment to place the self-developed configuration files. |
Q: | Why does it fail when I press F5 to debug the sample project in Visual Studio 2008? |
A: |
The external program directory of the sample data is "..\..\Bin\.exe", which is relevant to the sample project file (*.sln). If first opening Visual Studio, then the *.sln file, the application will not be found. Solution: 1. Double click .sln file directly; 2. Modify the external program directory in Visual Studio. |
Q: | Run SuperMap.Tools.RegisterTemplate.exe to register the development environment, but there is no available controls in the toolbox of Microsoft Visual Studio, and there is no "Add SuperMap reference" item. |
A: |
The reason may be that: the installation package is a green compression package downloaded from the website. If not unlocks it in the Properties of the package, it may have problem. Please right click the package, click Properties and click Unblock. After that, decompress the package again, register the template again. |
Q: | How to solve the comparability problem of Microsoft .NET Framework when developing plugins? |
A: | Solution: 1. Copy the following contents to notepad:
Where sku=”.NETFramework,Version=v4.0” means the supported version for .NET Framework, which can be modified by users. |
Q: | When should the Recordset be released? |
A: | When the Recordset is a part object in a function and it's no longer used, you have to call the method of Dispose to release it. |
Q: | Whether should the map be connected with Workspace before displaying data? |
A: | Yes, it has to be connected with Workspace using the method of Map.Workspace = workspace before using MapControl to display data. |
Q: | Should the Workspace and Map be closed before exiting the program? |
A: | Yes, it needs to be. You can first close map or MapControl, and then close the Workspace. |
Q: | What is the difference between the map coordinate system and the screen coordinate system? |
A: | The origin of the map coordinate system is at the left bottom, and the positive direction of X and Y is rightward and upward respectively. The origin of the screen coordinate system is at the top left, and the positive direction of X and Y is rightward and downward respectively. |
Q: | How to perform avoid function when the Label map and the Graph map are displayed simultaneously? |
A: | By default, the isTextOrientationFixed property of Map is true, which indicates some texts are unable to be displayed on a map. when the Label map and Graph map are displayed simultaneously, or multi-layers exist in the same map, the display effect of the map depends on the sequence of layers added to the map. If the IsTextOverlapAvoided property is set to false, the overlapped texts can be displayed. |
Q: | Whether the DoMouseDown method of the MapControl class can be evoked or not when the MapControl object doesn't display? |
A: | When the MapControl object doesn't display, you had better not evoke the methods which begin with Do such as DoMouseDown; otherwise it may crash. |
Q: | Why the field expression used for making the unique map cannot be relational expression such as "SmID>100" when the dataset for making the unique map is in the datasource whose engine type is Oracle, SQL or DB2? |
A: | When you use the dataset in the datasource whose engine type is Oracle, SQL or DB2 to make the unique map, if you use the relational expression such as "SmID>100" as the field expression, the operation will fail and return null. Therefore the field expression should be the field name or the arithmetic expression such as "SmID" and "SmID + 1 ". |
Q: | Why the size of the same symbol marker, or line width, shows different sizes in the Deskpro and Objects .NET? |
A: | Objects .NET use millimeter as unit, while Deskpro takes the unit of 0.1 millimeter. |
Q: | Sometimes it fails when set the MapControl.Action to Create**? |
A: | If you want to draw temporary object, please set the TrackMode attribute in MapControl first. |
Q: | Why the effect is different from the effect of transferring the ViewEntire() method When we output or display the map? |
A: | Please check that whether you change the ImageSize property value of map or the size of the mapcontrol after transferring the ViewEntire() method. If you need viewentire the map after change the size ,you should transfer the ViewEntire() method again. |
Q: | The setting of the fill fore color in the selection is unsuccessful, and display its own color, only the sideline is displayed highlight by the setting? |
A: | Please check the ID of the filling marker in the Style of the selection. 1 means no filling, 0 means filling. |
Q: | Dispose the Geometry object before the AddNew() and Update() method in Recordset object, then update the recordset, users can still visit illegal contents? |
A: |
Please dispose after update(), with the following codes:
|
Q: | Why the spherical surface exist a large white region in the scene? |
A: | The current computer configuration is related. Please check up whether to set the hardware acceleration to the full station or not.Steps to open the hardware acceleration: Select the blank of the desktop, then right-click to select the “Properties” item, select the “settings”, click the “Advanced” button, choose the “Troubleshoot” to check up the station of hardware acceleration. |
Q: | Why sometimes an exception is thrown when some methods is used? |
A: | An exception will be thrown for the stability of the software. Usually it is caused by the program of operating environment. If encountered with this program, the user could catch the exception and resolve it by reviewing the type of the exception. |
Q: | It can't add reference when creating a plugin in Visual Studio. |
A: |
It's caused by the wrong Bin directory. Generally, the default is to use the reference files under the Bin folder directory of the installation directory. If users want to use the references in other Bin folder, it's needed to set the right Bin directory.
|
Q: | Select the SuperMap Desktop StartUp template when creating a project in VS2013 based on the 64 bit iDesktop, click Run and it will fail. How to solve it? |
A: | To develop plugins with the 64bit iDesktop, please set this: 1 set the target platform to x64. 2 In the Project property, modify the Output Directory to the Bin directory of the installed iDesktop. 3 If the "debug" -- > "Enable the debugger" >"Enable Visual Studio loading process" is in check, it's needed to remove the check state. |
Other top
Q: | How to view the version information? |
A: | Click the Start button, click Options at the bottom, and Click About to display the version information. |
Q: | What can we do if it pops up to install .NET Framework 4.0 when installing iDesktop? |
A: | Find the dotNetFx40_Full_x86_x64.exe program under installation directory\Support, double click to install it. Find the dotNetFx40_Full_x86_x64.exe program under installation directory\Support, double click to install it. |
Q: | The decompressed green package downloaded from SuperMap official website can't be launched. |
A: | Right click the downloaded compressed package to view its properties, remove the blocked item, then decompress it to use. |
Q: | It just flashes for while or pops up that the license is unavailable when double clicking the icon. |
A: | The reason is that there is no available license. Double click the SuperMap.LicenseCenter.exe program under installation directory\Tools\SuperMapLicenseCenter to install the license center. Generally, it will contain a 90-day trial license. If you have used before, you need to update the license right now. The methods are: 1 Contact globalsupport@supernap.com to buy the official license; 2 Apply a trial license on the website: http://www.supermapol.com/web/pricing/triallicense. |
Q: | Why can't I navigate to help page by pressing F1 after I set the HelpURL for the control in the Customize window? |
A: | You can navigate to the help page specified only if you also have specified the CtrlAction or the code segment for the control. |
Q: | Why is the online help document empty? |
A: | Right click the document to select Properties and remove the lock. |
Q: | why can't I play the animation in the help? |
A: | The animations are SWF files, users must install Flash player. |
Q: | Why can't I display the Set drop-down list by clicking the Set drop-down arrow in the Projection group on the Data tab? |
A: | You will not be able to display the Set drop-down list if you haven't add any projections to favorites. |
Q: | Why is there no result when searching with Chinese texts in the online help document? |
A: | The online help document doesn't support Chinese text and fuzzy searching. |
Q: | Why is the font on the UI of the desktop product not smooth? |
A: | The fonts seem rough with ClearType Off. To solve this problem, turn ClearType of your operating system on. |
Q: | Why do some characters get corrupted when I paste the content in a field of the attribute table to a word doc? |
A: |
This problem occurs due to the default paste settings in word. To solve this problem, you can: 1 Paste the contents into a *.txt file first, and then paste into a word file. 2 Change the paste settings in word. Navigate to ?Word Options?>?Advanced?>?Cut, copy, and paste?, click the drop-down arrow to the right of the Pasting from other programs and click Keep text only. Then past the contents to the word doc. 3 Paste the contents to the word doc, then click the drop-down arrow in the bottom right, and click Keep text only. |
Q: | What problems should draw our attention when using Oracle database? |
A: | You have to install Oracle Client Server before using the Oracle database; and you have to modify the maximum number of connection and cursor of server, when the connection number is large. |
Q: | What problems should draw our attention when using PostgreSQL database? |
A: | You have to install PostgreSQL Client Server before using the PostgreSQL database; and set the environment variable, if a firewall is installed on the server, you need to open the port of the monitor (the standard port is 5432). |
Q: | What problems should draw our attention when using DB2 database? |
A: | You need to install DB2 client. |
Q: | Why it is very slow for the computer to visit ODBC datasources like SQL Server? |
A: | Check the tracing state in Control Panel-> Administrative Tool->Data Sources (ODBC), the Tracing tab. If it is enabled, disable it will improve the visit speed. |