View Full Version : VB.net problems
amessineo
05-20-2008, 10:00 AM
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.
Any help would be greatly appreciated,
Andy
craiger_ny
05-20-2008, 04:03 PM
PM me your e-mail adress. I have written PCDMIS automation apps in VB.Net.
vpt.se
05-21-2008, 04:41 AM
I guess that there are many that would be interested in that as well. Maybe you could post some of it here?
vektor
05-21-2008, 06:22 AM
Please! :)
craiger_ny
05-21-2008, 09:00 AM
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.
Thanks
amessineo
05-30-2008, 11:50 AM
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.
Andy
vpt.se
05-30-2008, 11:53 AM
amessineo, it would be interesting to see it! Could you post it?
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.