Select to view content in your preferred language

normal.gxt file Change ArcSDE Datasources

2562
2
01-18-2011 06:09 AM
AllisonBergman
Emerging Contributor
I found this code from http://arcscripts.esri.com/details.asp?dbid=14632
an ArcScript titled Change ArcSDE Datasources.  However it comes to the user in a normal.gxt file.   I found the location of the normal.gxt file on my computer within the ArcCatalog application folder.  My question is, how safe is is to replace it to test this application?  and is there another way to gain access to this tool?
0 Kudos
2 Replies
JohnHauck
Frequent Contributor
The Normal.gxt will retain certan chages you have made such as chages to the location of toolbars or what tools are present on a toolbar. If a file with the name Normal.gxt doesn't exist at this location on the startup of ArcCatalog it will recreate this file with all of the default settings as if opening ArcCatalog for the first time.

I would suggest that you rename your current Normal.gxt and then move the new one over. That way you could always go back to the previous one if necessary.

Optionally you could open ArcCatalog with the gxt provided with the ArcScript and export the forms and then delete the provided gxt. Then open ArcCatalog with your old gxt and add 2 new UI button controls to handle the showing of the forms.

When you open ArcCatalog with the ArcScripts gxt and then open the VBA editor you'll notice code in 2 locations:
Normal.gxt > ArcCatalog Objects > ThisDocument
  - this is the current UI controls click event handler code to show the forms.
Normal.gxt > Forms
  - this is the forms and associated code behind

Hope this helps!
0 Kudos
AllisonBergman
Emerging Contributor
Thank you very much for answering my question.
0 Kudos