Hi,
I have used the code available at the following url:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/WinCalcManager_Using_FormulaBuilder_at_Run%20Time.html
I am getting an error in resolving formula builder reference. Please could someone advise..
Not sure if there is an issue with the tool or my code.
thanks
Hello ayrus,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Boris,
Thank You for your response; I have downloaded your sample and it works fine.
The problem is that I am not able to replicate the what you have done when I create a sample project.
I am using Infragistics 11.2.2011.2.2019 control on Win 7 64Bit OS:
Here is what I have done:
1) Created VB.Net 2010 project
2) Added 3 text box and 1 button control
3) Added Calcmanager Control - CLR 4x
4) Added "Infragistics2.Win.UltraWinCalcManager.v11.2.FormulaBuilder" reference
5) Copied the following sub:
Private Sub ShowFormulaBuilderDialog(ByVal formulaProvider As IFormulaProvider) ' Declare a new FormulaBuilderDialog Dim formulaBuilderDialog As New FormulaBuilderDialog(formulaProvider) ' Show the dialog Dim dResult As DialogResult = formulaBuilderDialog.ShowDialog(Me) ' If the user cancelled, do nothing If dResult = System.Windows.Forms.DialogResult.Cancel Then Return End If ' Apply the formula formulaProvider.Formula = formulaBuilderDialog.Formula End Sub
and am getting following error on following line:
Dim formulaBuilderDialog As New FormulaBuilderDialog(formulaProvider)
"Error 1 Type 'FormulaBuilderDialog' is not defined. C:\Users\surya\Desktop\Formulae Bldr 3\Formulae Bldr 3\Form1.vb 13 41 Formulae Bldr 3"
Thanks Boris; works fine Now.