SBarnes wrote:Hi Mike,
I couldn't get it to work for VB.Net though, I thought putting it in a plugin and then having a vb.net plugin reference the c# plugin would work but unfortunately not, may be you have an idea on how to get that to work?
Hi Stuart - worked fine for me in 07.01.00 - both C# and VB.NET.
Attached are 3 plugins - one to add your extension method, one testing it in VB.NET and one testing in C# (don't have both the VB.Net test plugin and c# one enabled at the same time or you won't know which one is doing the hiding).
I'm testing by hiding the column "PartNo" of the sales order entry form grdLines grid - I'm doing this in the Setup method of the FormPlugin class - if you're adding your own column perhaps you're trying to hide it before it was added?
Mike