3
Answers

Problem with calling managed code dll from Excel

leitner

leitner

20y
3.5k
1
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
ma ouml

ma ouml

NA 433 17.4k 8y
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
Bryian Tan

Bryian Tan

NA 9.4k 887.3k 8y
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