06-12-2024 02:18 AM
Hello
We have a production computer with Windows 10 and a program that I once developed. Now it was time to upgrade this computer to a new Windows 11 computer and the Dymo printer does not work anymore.
See attached vi.
On my new computer I have downloaded alot of versions and registered all kind of files but it just gives me the errors.
Noticed that the ActiveX was renamed to Dymo.IDymoAddin6 while the old name was Dymo.IDymoAddin3.
Selected from "DLS SDK COM Type Library Version 1.0"
Do you have any clue what I'm doing wrong?
Solved! Go to Solution.
06-19-2024 04:30 AM
Can someone help me with this?
Or do we have to buy another brand? Any recommendations? Must be stickers.
06-19-2024 09:15 AM
We use the DYMO Label v8 SDK for 4xx and 5xx series label printers under Windows 10 and 11.
To actually be able to print the DYMO Label Software v8.7.x also needs to be installed and connected to a printer first !
The constructors you will need are Interop.Dymo(1.0.0.0).DymoLabelClass and .DymoAddinClass (Interop.Dymo.dll).
06-20-2024 03:54 AM
Yeah i remembered that i used v7.x of the Dymo software.
But where do you find Interop.Dymo.dll that you used?
06-20-2024 06:36 AM
I believe the installer creates a subfolder in the Documents folder for the current user and there are several copies in there.
You can look in: %USERPROFILE%\Documents\DYMO Label v.8 SDK\DLS SDK\Samples\High Level COM\dotNET Samples\C# Sample\bin\Release
06-21-2024 05:57 AM
Yes i found it.
But this is a .NET application and not ActiveX. But how do I build a .NET application in labview?
06-21-2024 06:47 AM
Creating properties and methods is the same as for ActiveX objects.
06-21-2024 07:51 AM
I understand. But i get:
1172 Constructor Node Error
Class not registered
I even tried to regsvr32 it, but it says it can't be registered.
06-21-2024 09:12 AM
Unfortunately this is where my knowledge of .NET assemblies ends.
Out of curiosity have you installed the Dymo Label software v8.7.4 and connected a printer? It seems to be a dependency for using the SDK.
06-24-2024 02:10 AM
I have a printer connected to the production computer. (Have labview trial on that computer)
I still get an error when I try to use print() but not when I use GetType().
Got this error message: (translated from Norwegian with google translate)
Invoke Node System.Reflection.TargetInvocationException: The target threw an exception during invocation.
Inner Exception: System.InvalidCastException: Unable to cast COM object of type 'Dymo.DymoAddInClass' to interface type 'Dymo.IDymoAddin6'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{0C7AADEF-16FC-400D-A827-3F7A93A94DF7}' failed due to the following error: There is no support for this interface (Exception from HRESULT: 0x80004002 ( E_NOINTERFACE)). <append><b>System.InvalidCastException</b> in dymo_test_net.vi
Will look into that Dymo Label software. The SDK you mean?
I have SDK installed, old Dymo Label version 7.7 and new Dymo Connect v1.4.6