Has anyone been able to write vb.net code that works with PC-DMIS? I have a very small VB6 application that collects data and puts it into an archive file. I want to upgrade the application to give the operator more options and log the data into a database but I can not register the pcdlrn.tlb library. Is there a .net component that may work?
Another problem that may be giving me an issue is that I am not developing on a machine with the PC-DMIS installed on it. We have only one key and it is installed on an operational PC. This was not a problem with the VB6 application development but it seems to be giving me an issue with the .net development.
Could someone that has version 4 or higher of PCDMIS please add the PCDMIS library reference to a VB project and let me know how it goes. Let me know if you copied the .tlb file to your PC to add it or if it is a registered component. Preferably do it with a VB.Net project but if all you have is Excel that would be fine. I just need to know if there are any issues for other folks and if you are either succesful or fail describe how you are doing it.
I was finally able to develop an application using the PCDMIS tbl file. I loaded Visual Basic 2008 on the VB6 machine and found out the COM component was registered by VB6 on that machine, so I could add it to my project.
You could then use the registry entry of the COM registration to move the registration to another machine.
I developed an app to pull all the measurements after the program runs and put them into a database.
If any one needs help getting this to work please email me.