I have a VB6 project folder that I somehow need to get converted to VB 2010 Express. Any ideas? The converters on the web do not work as I have tried several of them.
It depends to a great extent on what VB6 features your application uses; the automatic converters don't work because VB.NET is quite simply a different language than VB6, and simply does not implement some very fundamental features of VB6. You probably used a feature that doesn't exist in .NET, and will have to code around it.
There in lies the issue. I did not code this. It is a driver/program to run a 3 port USB stepper motor driver. The manufacturer, although still in business, refuses to update the .ocx file. I have no way of opening this file to see what is in it to try and duplicate it. The forms within the project I can handle but I am stuck with the .ocx.
In thinking about it, is it possible to call up the .ocx file within my own VB 2010 app without having to modify it, or will I need to create a .dll instead?
Comments
In thinking about it, is it possible to call up the .ocx file within my own VB 2010 app without having to modify it, or will I need to create a .dll instead?
It is possible to wrap an ocx in .NET using runtime callable wrappers; COM InterOp.
If you have the .NET SDK, you can use tlbimp.exe to build the wrapper and expose the interfaces.
http://msdn.microsoft.com/en-us/library/8bwh56xe.aspx
http://msdn.microsoft.com/en-us/library/ms973800.aspx
The ability to create COM object and expose its' interface in VS Express is another thing.
http://msdn.microsoft.com/en-us/library/8ccdh774(v=vs.100).aspx
C.W.