Problem with calling managed code dll from Excel
Hello!
I try to use an assembly I created in C# in Excel.
I use the commands csc, tlbexp & regasm to create the necessary files. I can use the library without any problem on my computer.
When I try to make the assembly work on another computer, I copy the dll and tlb file to the other machine and run regasm there. I can add the reference to the file out of Excel, but when I want to use my object in the VBA-code I get the Error message
"Run-time error '-2147024894 (80070002)'
Automation Error
The system cannot find the file specified"
Does anyone know what to do?
Thanks in advance!
w.
Answers (3)
0
I do not know I have a column in the table "marche

" named flag fence the last one will be filled if the checkbox "and last" and tick or not if it is ticked we will store O otherwise we will store N
I want when I display in the datagridview and select on one line the selected data will be placed before this property except the flag fence when it has the value O the checkbox will not check I do not know why
I hope that I have described
0
Did you meant to say how to display checkbox in the DataGridView control?
If that the case, here is an example:
https://www.aspsnippets.com/Articles/Add-CheckBox-Column-to-DataGridView-in-Windows-Forms-application-using-C-and-VBNet.aspx