Schneider Electric GIS Tech Support

Forum discussion for Schneider Electric GIS products, including ArcFM, ArcFM Viewer, Designer, Responder, and others.
It is currently Wed May 22, 2013 10:35 pm

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Custom Dock Controls not getting added
PostPosted: Tue Nov 02, 2010 12:19 pm 
Offline

Joined: Mon Jun 07, 2010 1:55 pm
Posts: 15
I am trying to add a dll which contains a Dock Control through Engine Administrator and it complains saying that the Key "Dock Control Key Name" already exists. But it is not already in there. I am doing this after a fresh install of ArcFM 10. Is there any place where I have to manually delete this entry ?

Thanks,
Sai Dhalli

_________________
Sai Dhalli


Top
 Profile  
 
 Post subject: Re: Custom Dock Controls not getting added
PostPosted: Tue Nov 02, 2010 12:39 pm 
Offline
Telvent North America Rep
User avatar

Joined: Wed Aug 18, 2010 4:09 pm
Posts: 108
Location: Fort Collins, Colorado
Did you recompile the dock panel to use the 10.0 libraries? Would it be possible to upload a sample of your dock control (it can be absent any real code)


Top
 Profile  
 
 Post subject: Re: Custom Dock Controls not getting added
PostPosted: Tue Nov 02, 2010 12:44 pm 
Offline

Joined: Mon Jun 07, 2010 1:55 pm
Posts: 15
Yes, I recompiled it to use all the 10.0 libraries. Here is my Dock Control Class code


public class StopsToRoute:DockControl
{

public StopsToRoute()
: base("RouteToStops")
{


base.Name = "Route to Stops";
base.Caption = "Route to Stops";
base.TabText = "Add Stops";

InitializeComponent();
}
}

_________________
Sai Dhalli


Top
 Profile  
 
 Post subject: Re: Custom Dock Controls not getting added
PostPosted: Tue Nov 02, 2010 1:54 pm 
Offline
Telvent North America Rep
User avatar

Joined: Wed Aug 18, 2010 4:09 pm
Posts: 108
Location: Fort Collins, Colorado
Hmm, I copied/pasted (removed initialize component) and added it with EngineAdmin no problem. Can you look for any .layout files on your system that might be hanging around? I think there one in the installation directory and also one written to the Documents and Setting\<current user>\app data directory.

For my Win7 machine it's under C:\Users\bill.MINER\AppData\Roaming\Miner and Miner. Clear any layout files hanging around and try adding it again.


Top
 Profile  
 
 Post subject: Re: Custom Dock Controls not getting added
PostPosted: Tue Nov 02, 2010 2:56 pm 
Offline

Joined: Mon Jun 07, 2010 1:55 pm
Posts: 15
I cleared the installation directory and the "C:\Documents and Settings\UserName\Application Data\Miner and Miner" directory before re installing. I still have the same problem.

_________________
Sai Dhalli


Top
 Profile  
 
 Post subject: Re: Custom Dock Controls not getting added
PostPosted: Tue Nov 02, 2010 3:52 pm 
Offline
Telvent North America Rep
User avatar

Joined: Wed Aug 18, 2010 4:09 pm
Posts: 108
Location: Fort Collins, Colorado
No layout files on your system at all? I'm not sure then, something's pretty weird there...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group