Hi.
I need to pass 2 strings from VB.NET to an OCX written for VB6. VS2008 put a wrapper on the OCX, but while the routine is called, the string parameters are not correctly received.
I do not know why but I am guessing that it is because, as I understand it, in VB6 parameters are passed By Ref as a default while in VB.NET, parameters are passed Bv Val as a default.
When I imported the OCX into VS 2008, it seems to have automatically defaulted the string parameters for the routine I need to By Val because the ocx export info did not specify anything.
Is there anyway to override VS 2008 so that I can pass the strings correctly to the OCX?
Is there something else instead that I could do?
I have 30000 files encrypted with FastEncrypt by JSoft, which seems to have gone out of business, and I need to incorporate FastEncrypt into a VB.NET program in order to use them.
Any help would be greatly appreciated.
Thank you.