Forum Discussion

RadhaG's avatar
RadhaG
Occasional Visitor
2 years ago

Could not convert variant of type (Dispatch) into type (Integer)

I am getting Exception error saying "Could not convert variant of type (Dispatch) into type (Integer)" for Keyword test. Below is the object name from Object Spy.

Aliases.VelociDoc_ST2.HwndSource_MainWindow.WinFormsAdapter.frmVisitCharts.pnlTabViewPanel.pnlTabViewPanel.PvElementHost3.HwndSource_AdornerDecorator.AdornerDecorator.ItemsControl2.ItemsControl.Button2.WPFObject("Grid", "", 1).WPFObject("TextBlock", "J42", 1)