StrataFrame Forum

Method not found: 'Void MicroFour.StrataFrame.UI.TopMostListItem.set_TopMostDropDown...

http://forum.strataframe.net/Topic12565.aspx

By Jeff Pagley - 11/8/2007

Hi SF Team,

I have a working application currently deployed.   The client wanted to see "n/a" showing for combo boxes which have no value selected in them.  Therefore, I implemented the TopMostItem property of a StrataFrame Wrapped DevExpress ComboBoxEdit controls I have on the form.  My settings are as followed: TopMostDescription = "n/a", TopMostDropDown = is blank, TopMostValue = 0.  The form works great on my development machine, but I am getting the error message below on the clients' computers.  Can you tell me what I am missing?

Method not found: 'Void MicroFour.StrataFrame.UI.TopMostListItem.set_TopMostDropDown(System.String)'.

Exception (MissingMethodException): Source="Project Tracker"; Target=null; Tag=null;

Message = "Method not found: 'Void MicroFour.StrataFrame.UI.TopMostListItem.set_TopMostDropDown(System.String)'."

Environment: ThreadIdentity="" DateTime=["2007-11-08 11:00:49.109"] ThreadName=null WindowsIdentity="STRUSS\JPagley" ThreadId="1" DomainName="projecttracker.exe" OSVersion=["Microsoft Windows NT 5.0.2195 Service Pack 4"] MachineName="INVENTORY"

UserName="JPagley"

Remaining Stack Trace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

at Project_Tracker.JobForm.InitializeComponent()

at Project_Tracker.JobForm..ctor()

at Project_Tracker.MDIMainForm.tsmiDataEntry_Click(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ToolStrip.WndProc(Message& m)

at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)

at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

By StrataFrame Team - 11/8/2007

They don't have the most up-to-date StrataFrame DLLs.  The TopMostDropDown property was added with version 1.6.1 (or somewhere around there), but the version number of the assemblies has not changed since v1.6.0.0, so most likely, your setup program did not update the StrataFrame assemblies within the GAC.  Replace those assemblies and you should be good to go.
By Jeff Pagley - 11/8/2007

Hi Ben,

That was the problem.  I was looking at the DLLs Version number instead of the time/date stamp of the DLLs.

Thanks,

jjp