<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: The DymoAddin Object</title>
	<atom:link href="http://developers.dymo.com/2010/04/30/the-dymoaddin-object/feed/" rel="self" type="application/rss+xml" />
	<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/</link>
	<description>For developers using DYMO software development kits</description>
	<lastBuildDate>Tue, 15 May 2012 11:04:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SaraBeeb</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-1187</link>
		<dc:creator><![CDATA[SaraBeeb]]></dc:creator>
		<pubDate>Thu, 23 Feb 2012 21:51:01 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-1187</guid>
		<description><![CDATA[its solved,
but print incomplete label, could you provide solution? 
Thanks.]]></description>
		<content:encoded><![CDATA[<p>its solved,<br />
but print incomplete label, could you provide solution?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pi</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-1186</link>
		<dc:creator><![CDATA[pi]]></dc:creator>
		<pubDate>Thu, 23 Feb 2012 20:26:27 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-1186</guid>
		<description><![CDATA[make sure you have DLS 8.4.0 (http://download.dymo.com/download/Win/DLS/DLS8Setup.8.4.0.1524.exe) installed.]]></description>
		<content:encoded><![CDATA[<p>make sure you have DLS 8.4.0 (<a href="http://download.dymo.com/download/Win/DLS/DLS8Setup.8.4.0.1524.exe" rel="nofollow">http://download.dymo.com/download/Win/DLS/DLS8Setup.8.4.0.1524.exe</a>) installed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SaraBeeb</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-1185</link>
		<dc:creator><![CDATA[SaraBeeb]]></dc:creator>
		<pubDate>Thu, 23 Feb 2012 20:00:07 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-1185</guid>
		<description><![CDATA[Hi, I found this problem,too
I use VBscript to DymoAddIn.open() and have already installed  8.3.0.1242.]]></description>
		<content:encoded><![CDATA[<p>Hi, I found this problem,too<br />
I use VBscript to DymoAddIn.open() and have already installed  8.3.0.1242.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-800</link>
		<dc:creator><![CDATA[Vladimir]]></dc:creator>
		<pubDate>Wed, 05 Oct 2011 23:31:00 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-800</guid>
		<description><![CDATA[Anytime]]></description>
		<content:encoded><![CDATA[<p>Anytime</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Kane</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-799</link>
		<dc:creator><![CDATA[Kevin Kane]]></dc:creator>
		<pubDate>Wed, 05 Oct 2011 22:01:22 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-799</guid>
		<description><![CDATA[Hi Vladimir,

Setting the class correctly and using the DymoAddin4 appears to have solved the problems. I am now getting the fields in the .label labels as well as being able to process labels created with earlier versions of the Dymo software.

Many thanks for your help with this.]]></description>
		<content:encoded><![CDATA[<p>Hi Vladimir,</p>
<p>Setting the class correctly and using the DymoAddin4 appears to have solved the problems. I am now getting the fields in the .label labels as well as being able to process labels created with earlier versions of the Dymo software.</p>
<p>Many thanks for your help with this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ludo Soete</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-786</link>
		<dc:creator><![CDATA[Ludo Soete]]></dc:creator>
		<pubDate>Tue, 04 Oct 2011 19:17:00 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-786</guid>
		<description><![CDATA[Hi,

I have a working Excel VBA application on XP &amp; Excel2003 with a older version of the DLS8 SETUP.
Because of rumors that the company will switch to Win7 / Office2010 i&#039;m trying to get it working on my PC at home
(VISTA / Exel2007), and hope it will work then also on Win7 &amp; Excel2010.
I don&#039;t have a 450Turbo printer at home too.

I installed the DLS8Setup.8.3.1.1332 on the Vista (without a 450 Turbo printer connected at the end of the installation) and checked the checbox &#039;DYMO Label software V.8 SDK&#039; in the VBE references listbox.

I use the same XLA utility as on the XP / Excel2003 machine, but it won&#039;t work at all.
I can&#039;t create the &#039;Dymo.DymoAddin&#039; object.

Here below a snipset of the VBA code.
Anyone any clue why it can&#039;t create the Dymo.DymoAddin object, but does on the XP/ Excel2003 machine?
I need to get it working before the switch to Win7 / Office2010.

Could it be that its because i haven&#039;t connected a DYMO printer at the end of the installation?

-------------------------------------------------------
Sub TestIfOnline()
  If CreateDymoPrinterObjects Then
    Application.Cursor = xlWait
    With g_oDymoPrinter
      g_sDymoPrintername = .GetCurrentPrinterName
      g_bOnLine = .IsPrinterOnline(g_sDymoPrintername)
    End With &#039;//g_oDymoPrinter
    If Not g_bOnLine Then
        g_iMyErrorNumber = 1
        frmError.Show
    End If
    Application.Cursor = xlDefault
  End If
End Sub
---------------------------------------------------------
Function CreateDymoPrinterObjects() As Boolean
&#039;This fuction creates IDYMOAddIn object
  On Error Resume Next
  If (g_oDymoPrinter Is Nothing) Then
    Set g_oDymoPrinter = CreateObject(&quot;Dymo.DymoAddin&quot;)      &#039;
  End If
  CreateDymoPrinterObjects = (Err = 0)
  If Not CreateDymoPrinterObjects Then
    MsgBox &quot;Unable to create OLE objects: Dymo.DymoAddin&quot;
End If
End Function
--------------------------------------------

Any help welcome.
Regards,
Ludo]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a working Excel VBA application on XP &amp; Excel2003 with a older version of the DLS8 SETUP.<br />
Because of rumors that the company will switch to Win7 / Office2010 i&#8217;m trying to get it working on my PC at home<br />
(VISTA / Exel2007), and hope it will work then also on Win7 &amp; Excel2010.<br />
I don&#8217;t have a 450Turbo printer at home too.</p>
<p>I installed the DLS8Setup.8.3.1.1332 on the Vista (without a 450 Turbo printer connected at the end of the installation) and checked the checbox &#8216;DYMO Label software V.8 SDK&#8217; in the VBE references listbox.</p>
<p>I use the same XLA utility as on the XP / Excel2003 machine, but it won&#8217;t work at all.<br />
I can&#8217;t create the &#8216;Dymo.DymoAddin&#8217; object.</p>
<p>Here below a snipset of the VBA code.<br />
Anyone any clue why it can&#8217;t create the Dymo.DymoAddin object, but does on the XP/ Excel2003 machine?<br />
I need to get it working before the switch to Win7 / Office2010.</p>
<p>Could it be that its because i haven&#8217;t connected a DYMO printer at the end of the installation?</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Sub TestIfOnline()<br />
  If CreateDymoPrinterObjects Then<br />
    Application.Cursor = xlWait<br />
    With g_oDymoPrinter<br />
      g_sDymoPrintername = .GetCurrentPrinterName<br />
      g_bOnLine = .IsPrinterOnline(g_sDymoPrintername)<br />
    End With &#8216;//g_oDymoPrinter<br />
    If Not g_bOnLine Then<br />
        g_iMyErrorNumber = 1<br />
        frmError.Show<br />
    End If<br />
    Application.Cursor = xlDefault<br />
  End If<br />
End Sub<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Function CreateDymoPrinterObjects() As Boolean<br />
&#8216;This fuction creates IDYMOAddIn object<br />
  On Error Resume Next<br />
  If (g_oDymoPrinter Is Nothing) Then<br />
    Set g_oDymoPrinter = CreateObject(&#8220;Dymo.DymoAddin&#8221;)      &#8216;<br />
  End If<br />
  CreateDymoPrinterObjects = (Err = 0)<br />
  If Not CreateDymoPrinterObjects Then<br />
    MsgBox &#8220;Unable to create OLE objects: Dymo.DymoAddin&#8221;<br />
End If<br />
End Function<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Any help welcome.<br />
Regards,<br />
Ludo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-783</link>
		<dc:creator><![CDATA[Vladimir]]></dc:creator>
		<pubDate>Mon, 03 Oct 2011 21:57:01 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-783</guid>
		<description><![CDATA[First, COM-class ProgID and the interface name(s) the class support are different things. So, in your code you have to create the object by providing its ProgID, that is &#039;‘Dymo.DymoAddIn&#039;, not ‘Dymo.DymoAddIn4&#039;. You still can cast/QueryInterfrace the object to IDymoAddIn4 if you need to access the new methods defined by this interface. Second, it is hard to say why you don&#039;t get object names without debugging. Here are some tips:
    - make sure DL.Open(LabeFile) completed succe3ssully. The call returns True on success, False otherwise. If it returns False, make sure the label file does exists, and it is a valid label file. To check it is a valid label file, try to open it using DYMO Label software v8.
    - call LB.GetObjectNames(True) and check the result. It should be non-empty string, assuming your label file loaded correctly and the label file contains some label objects.
    - install &lt;a href=&quot;http://technet.microsoft.com/en-us/sysinternals/bb896647&quot; rel=&quot;nofollow&quot;&gt;DebugView&lt;/a&gt;, run it, run your application, look for any error messages in DebugView]]></description>
		<content:encoded><![CDATA[<p>First, COM-class ProgID and the interface name(s) the class support are different things. So, in your code you have to create the object by providing its ProgID, that is &#8216;‘Dymo.DymoAddIn&#8217;, not ‘Dymo.DymoAddIn4&#8242;. You still can cast/QueryInterfrace the object to IDymoAddIn4 if you need to access the new methods defined by this interface. Second, it is hard to say why you don&#8217;t get object names without debugging. Here are some tips:<br />
    &#8211; make sure DL.Open(LabeFile) completed succe3ssully. The call returns True on success, False otherwise. If it returns False, make sure the label file does exists, and it is a valid label file. To check it is a valid label file, try to open it using DYMO Label software v8.<br />
    &#8211; call LB.GetObjectNames(True) and check the result. It should be non-empty string, assuming your label file loaded correctly and the label file contains some label objects.<br />
    &#8211; install <a href="http://technet.microsoft.com/en-us/sysinternals/bb896647" rel="nofollow">DebugView</a>, run it, run your application, look for any error messages in DebugView</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Kane</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-777</link>
		<dc:creator><![CDATA[Kevin Kane]]></dc:creator>
		<pubDate>Mon, 03 Oct 2011 20:40:26 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-777</guid>
		<description><![CDATA[I have version 8.3.1.1332.

I note that in the Dymo_TBL, there are separate IDymoAddins up to IDymoAddin5. Numbers 4 and 5 have procedures for IsTwinTurboPrinter. However, if I try to create an IDymoAddin4 object, I get a Class not registered error message and can&#039;t create the ActiveX object with code below

const
  //Dymo Library classes names:
  IDymoAddInName = &#039;Dymo.DymoAddIn4&#039;;
  IDymoLabelsName = &#039;Dymo.DymoLabels&#039;;

{ TDymoLabel }

constructor TDymoLabel.create(aOwner: TComponent);
begin
   inherited create(aOwner);
   //Create Dymo Label ActiveX objects.
   try
      DL := CreateOleObject(IDymoAddInName) as IDymoAddIn4;
      LB := CreateOleObject(IDymoLabelsName) as IDymoLabels;
   except
      MsgWarning(&#039;Unable to create Dymo Label ActiveX objects.&#039;);
   end;
end;

Does this suggest that the Dymo 8 software has not installed all the classes required and that maybe that is why I cannot get the fields in the label file for the .label files. I was just using the base IDymoAddin object and using the code below which was passed a stringlist of field names and data and the label file to print to get the fields from the label file and print the label. The LB.GetObjectNames(True), didn&#039;t return anything. Also included below is the contents on the .label file.   

procedure TDymoLabel.InstantPrintLabel(FieldValues: TStringlist; LabeFile: string;
                                       aCopies: byte = 1; PrintIt: boolean = True);
var
  ObjectList: String;
  FieldList: tstringlist;
  i: integer;
begin
   //Create Dymo Label ActiveX objects.
   if fileexists(LabeFile) then begin
      DL.Open(LabeFile);
      FieldList := TStringlist.create;
      ObjectList := LB.GetObjectNames(false);
      TokenToStringList(LB.GetObjectNames(True),&#039;&#124;&#039;,FieldList);
      For i := 0 to FieldList.Count - 1 do
         LB.SetField (FieldList[i], StrToDef(RepStr(FieldValues.values[FieldList[i]],&#039;/n&#039;,#13#10),&#039; &#039;));
      FieldList.free;
      if PrintIt then
         DL.Print(aCopies, false);
   end
   else
      LogAppError(&#039;File not found &#039; + LabeFile,1,&#039;&#039;);
end;




	Landscape
	Shipping
	30323 Shipping
	
		
	
	
		
			CLIENTSHORTNAME
			
			
			
			Rotation180
			False
			True
			Left
			Top
			ShrinkToFit
			True
			False
			
				
					Client short name
					
						
						
					
				
			
		
		
	
	
		
			CLIENTSHORTNAME2
			
			
			
			Rotation0
			False
			True
			Left
			Top
			ShrinkToFit
			True
			False
			
				
					Client short name
					
						
						
					
				
			
		
		
	


Thanks]]></description>
		<content:encoded><![CDATA[<p>I have version 8.3.1.1332.</p>
<p>I note that in the Dymo_TBL, there are separate IDymoAddins up to IDymoAddin5. Numbers 4 and 5 have procedures for IsTwinTurboPrinter. However, if I try to create an IDymoAddin4 object, I get a Class not registered error message and can&#8217;t create the ActiveX object with code below</p>
<p>const<br />
  //Dymo Library classes names:<br />
  IDymoAddInName = &#8216;Dymo.DymoAddIn4&#8242;;<br />
  IDymoLabelsName = &#8216;Dymo.DymoLabels&#8217;;</p>
<p>{ TDymoLabel }</p>
<p>constructor TDymoLabel.create(aOwner: TComponent);<br />
begin<br />
   inherited create(aOwner);<br />
   //Create Dymo Label ActiveX objects.<br />
   try<br />
      DL := CreateOleObject(IDymoAddInName) as IDymoAddIn4;<br />
      LB := CreateOleObject(IDymoLabelsName) as IDymoLabels;<br />
   except<br />
      MsgWarning(&#8216;Unable to create Dymo Label ActiveX objects.&#8217;);<br />
   end;<br />
end;</p>
<p>Does this suggest that the Dymo 8 software has not installed all the classes required and that maybe that is why I cannot get the fields in the label file for the .label files. I was just using the base IDymoAddin object and using the code below which was passed a stringlist of field names and data and the label file to print to get the fields from the label file and print the label. The LB.GetObjectNames(True), didn&#8217;t return anything. Also included below is the contents on the .label file.   </p>
<p>procedure TDymoLabel.InstantPrintLabel(FieldValues: TStringlist; LabeFile: string;<br />
                                       aCopies: byte = 1; PrintIt: boolean = True);<br />
var<br />
  ObjectList: String;<br />
  FieldList: tstringlist;<br />
  i: integer;<br />
begin<br />
   //Create Dymo Label ActiveX objects.<br />
   if fileexists(LabeFile) then begin<br />
      DL.Open(LabeFile);<br />
      FieldList := TStringlist.create;<br />
      ObjectList := LB.GetObjectNames(false);<br />
      TokenToStringList(LB.GetObjectNames(True),&#8217;|',FieldList);<br />
      For i := 0 to FieldList.Count &#8211; 1 do<br />
         LB.SetField (FieldList[i], StrToDef(RepStr(FieldValues.values[FieldList[i]],&#8217;/n&#8217;,#13#10),&#8217; &#8216;));<br />
      FieldList.free;<br />
      if PrintIt then<br />
         DL.Print(aCopies, false);<br />
   end<br />
   else<br />
      LogAppError(&#8216;File not found &#8216; + LabeFile,1,&#8221;);<br />
end;</p>
<p>	Landscape<br />
	Shipping<br />
	30323 Shipping</p>
<p>			CLIENTSHORTNAME</p>
<p>			Rotation180<br />
			False<br />
			True<br />
			Left<br />
			Top<br />
			ShrinkToFit<br />
			True<br />
			False</p>
<p>					Client short name</p>
<p>			CLIENTSHORTNAME2</p>
<p>			Rotation0<br />
			False<br />
			True<br />
			Left<br />
			Top<br />
			ShrinkToFit<br />
			True<br />
			False</p>
<p>					Client short name</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-750</link>
		<dc:creator><![CDATA[Vladimir]]></dc:creator>
		<pubDate>Wed, 21 Sep 2011 23:32:32 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-750</guid>
		<description><![CDATA[Yes, Delphi samples were excluded from DLS8 SDK installer. Please, notice, that the SDK installer contains documentation and samples only, not libraries. Libraries are included with DLS installer itself. And the SDK API is fully binary compatible, although the implementation is different. You can install DLS7 SDK to view old Delphi samples, it is available on http://sites.dymo.com/DeveloperProgram/Pages/LW_SDK_Windows.aspx, http://download.dymo.com/Download%20Drivers/Software%20for%20DYMO%20LabelWriter/Downloads/13/WIN_DLS_SDK_0508.EXE.

If you want to recreate  Dymo_TLB.pas (though it is not necessary), use &quot;Project/Import Type Library&quot; menu item in Delphi7, select &quot;DLS SDK  COM Type Library&quot;, and press &quot;Create Unit&quot; button.

Now, if you still have a problem (after installing DLS 8.3.1) with GetObjectNames method, please send the label file and the code fragment shows how you call the SDK. Thanks you.]]></description>
		<content:encoded><![CDATA[<p>Yes, Delphi samples were excluded from DLS8 SDK installer. Please, notice, that the SDK installer contains documentation and samples only, not libraries. Libraries are included with DLS installer itself. And the SDK API is fully binary compatible, although the implementation is different. You can install DLS7 SDK to view old Delphi samples, it is available on <a href="http://sites.dymo.com/DeveloperProgram/Pages/LW_SDK_Windows.aspx" rel="nofollow">http://sites.dymo.com/DeveloperProgram/Pages/LW_SDK_Windows.aspx</a>, <a href="http://download.dymo.com/Download%20Drivers/Software%20for%20DYMO%20LabelWriter/Downloads/13/WIN_DLS_SDK_0508.EXE" rel="nofollow">http://download.dymo.com/Download%20Drivers/Software%20for%20DYMO%20LabelWriter/Downloads/13/WIN_DLS_SDK_0508.EXE</a>.</p>
<p>If you want to recreate  Dymo_TLB.pas (though it is not necessary), use &#8220;Project/Import Type Library&#8221; menu item in Delphi7, select &#8220;DLS SDK  COM Type Library&#8221;, and press &#8220;Create Unit&#8221; button.</p>
<p>Now, if you still have a problem (after installing DLS 8.3.1) with GetObjectNames method, please send the label file and the code fragment shows how you call the SDK. Thanks you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Kane</title>
		<link>http://developers.dymo.com/2010/04/30/the-dymoaddin-object/#comment-749</link>
		<dc:creator><![CDATA[Kevin Kane]]></dc:creator>
		<pubDate>Wed, 21 Sep 2011 21:26:03 +0000</pubDate>
		<guid isPermaLink="false">https://dymodevelopers.wordpress.com/2010/04/30/the-dymoaddin-object/#comment-749</guid>
		<description><![CDATA[I have Dymo Label 8.3.1.1332 and the DYMO Label v.8 SDK (not sure if there is any version number assigned to that) which has a DLS 7 Compatibility Library directory that has a Samples directory which contains a High Level COM directory - under this there are directories for dotNet, Firefox, etc but not one for Delphi as there was in the DLS_SDK for version 7.]]></description>
		<content:encoded><![CDATA[<p>I have Dymo Label 8.3.1.1332 and the DYMO Label v.8 SDK (not sure if there is any version number assigned to that) which has a DLS 7 Compatibility Library directory that has a Samples directory which contains a High Level COM directory &#8211; under this there are directories for dotNet, Firefox, etc but not one for Delphi as there was in the DLS_SDK for version 7.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

