<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-31855614</id><updated>2011-04-27T23:21:01.761-07:00</updated><category term='Windows Mobile'/><category term='ceCmd'/><category term='Command-Line'/><title type='text'>Srego Blog</title><subtitle type='html'>Information about Srego, Inc products.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://srego.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-31855614.post-3008211898823537262</id><published>2008-12-31T13:54:00.000-08:00</published><updated>2008-12-31T13:55:22.929-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ceCmd'/><title type='text'>Srego ceCmd beta program extended until March</title><content type='html'>The beta program for the &lt;a href="http://srego.com/sregocecmd.htm"&gt;Srego ceCmd&lt;/a&gt; application has been extended until March.&lt;br /&gt;&lt;br /&gt;The&lt;strong&gt; Srego ceCmd&lt;/strong&gt; application is a GUI application run from the desktop, but it controls a connected Pocket PC, Window Mobile, or Windows Smartphone device. Similar in spirit to both the &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack command-line &lt;/a&gt;utilities and the &lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX control&lt;/a&gt;, the &lt;strong&gt;Srego ceCmd&lt;/strong&gt; provides the user with a tool to copy files to and from the connected device, create and delete directories, delete files, start applications, and check device information. A built-in command history is supported as well as the use of Command Files which can be created and run to simplify repeated tasks. The current directory concept is also used by the &lt;strong&gt;Srego ceCmd&lt;/strong&gt; allowing users to set the current directory on the device and simply use this relative path when manipulating files on the device. Files can also be dragged-and-dropped from the desktop into this current directory on the device.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-3008211898823537262?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/3008211898823537262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=3008211898823537262&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/3008211898823537262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/3008211898823537262'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2008/12/srego-cecmd-beta-program-extended-until.html' title='Srego ceCmd beta program extended until March'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-5722158231808328632</id><published>2008-07-14T07:06:00.000-07:00</published><updated>2008-07-14T07:19:48.781-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ceCmd'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='Command-Line'/><title type='text'>Srego ceCmd Beta extended until the end of the Year</title><content type='html'>The beta program for the &lt;a href="http://srego.com/sregocecmd.htm"&gt;Srego ceCmd&lt;/a&gt; application has been extended until the end of the year.&lt;br /&gt;&lt;br /&gt;The&lt;strong&gt; Srego ceCmd&lt;/strong&gt; application is a GUI application run from the desktop, but it controls a connected Pocket PC, Window Mobile, or Windows Smartphone device.    Similar in spirit to both the &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack command-line &lt;/a&gt;utilities and the &lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX control&lt;/a&gt;, the &lt;strong&gt;Srego ceCmd&lt;/strong&gt; provides the user with a tool to copy files to and from the connected device, create and delete directories,  delete files, start applications, and check device information.  A built-in command history is supported as well as the use of Command Files which can be created and run to simplify repeated tasks.   The current directory concept is also used by the &lt;strong&gt;Srego ceCmd&lt;/strong&gt; allowing users to set the current directory on the device and simply use this relative path when manipulating files on the device.  Files can also be dragged-and-dropped from the desktop into this current directory on the device.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-5722158231808328632?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/5722158231808328632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=5722158231808328632&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/5722158231808328632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/5722158231808328632'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2008/07/srego-cecmd-beta-extended-until-end-of.html' title='Srego ceCmd Beta extended until the end of the Year'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-8134244172588940811</id><published>2008-05-20T08:13:00.000-07:00</published><updated>2008-05-20T08:15:09.311-07:00</updated><title type='text'>Srego CE ToolPack version 1.0.0.61 is Available</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_qGIonhYSpfY/RhzsVND1-eI/AAAAAAAAABA/j-RemyBx3iE/s1600-h/srego_logo_1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5052172731030043106" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_qGIonhYSpfY/RhzsVND1-eI/AAAAAAAAABA/j-RemyBx3iE/s200/srego_logo_1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX&lt;/a&gt; version 1.0.0.61 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:courier new;"&gt;01.00.00.61 - 05/16/08&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:courier new;"&gt;&lt;div&gt;&lt;br /&gt;- NEW - New Method:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;  long TestFile( BSTR filename )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;- FIX - Recompiled to better run with Vista.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-8134244172588940811?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/8134244172588940811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=8134244172588940811&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/8134244172588940811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/8134244172588940811'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2008/05/srego-ce-toolpack-version-10061-is.html' title='Srego CE ToolPack version 1.0.0.61 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qGIonhYSpfY/RhzsVND1-eI/AAAAAAAAABA/j-RemyBx3iE/s72-c/srego_logo_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-2928920201998956222</id><published>2008-04-06T08:10:00.000-07:00</published><updated>2008-04-06T08:12:35.500-07:00</updated><title type='text'>Srego ceCmd version 1.0.0.15 (beta) is Available</title><content type='html'>The beta of the &lt;a href="http://srego.com/sregocecmd.htm"&gt;Srego ceCmd&lt;/a&gt; application has been updated.    The beta expiration has been extended to July 1.   The Srego ceCmd utility will be integrated into the next version of the  &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line&lt;/a&gt; tools.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-2928920201998956222?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/2928920201998956222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=2928920201998956222&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/2928920201998956222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/2928920201998956222'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2008/04/srego-cecmd-version-10015-beta-is.html' title='Srego ceCmd version 1.0.0.15 (beta) is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-998668091367130764</id><published>2008-01-16T15:30:00.000-08:00</published><updated>2008-01-16T15:36:36.099-08:00</updated><title type='text'>Srego ceCmd version 1.0.0.14 (beta) is Available</title><content type='html'>The beta of the &lt;a href="http://srego.com/sregocecmd.htm"&gt;Srego ceCmd&lt;/a&gt; application has been updated.&lt;br /&gt;&lt;br /&gt;This version will be the last beta version of the Srego ceCmd application.   All future versions will be part of the &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line&lt;/a&gt; tools.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01.00.00.14 - 1/2/08&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;- FIX - Change made to prevent application from closing when&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;        used with Windows Vista with a device connected at&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;        startup.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-998668091367130764?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/998668091367130764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=998668091367130764&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/998668091367130764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/998668091367130764'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2008/01/srego-cecmd-version-10014-beta-is.html' title='Srego ceCmd version 1.0.0.14 (beta) is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-2869447074813582365</id><published>2008-01-02T08:37:00.000-08:00</published><updated>2008-01-02T08:41:19.057-08:00</updated><title type='text'>Srego ceCmd version 1.0.0.12 (beta) is Available</title><content type='html'>The beta of the &lt;a href="http://srego.com/sregocecmd.htm"&gt;Srego ceCmd&lt;/a&gt; application has been updated.&lt;br /&gt;&lt;br /&gt;The beta period has also been extended to the end of the January since some new functionality has been added and problem with Vista have been reported.&lt;br /&gt;&lt;br /&gt;The RUN command has been added to allow command files to be created and executed.  The command file is just a list of commands that can be used with the ceCmd tool.  The file can be on the device or on the desktop.&lt;br /&gt;&lt;br /&gt;The REM command has been added to allow comments to be placed in a command file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01.00.00.12 - 1/2/08&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;br /&gt;- NEW - Extended Expiration Timeout.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;- FIX - The DEL command gave a correct success message when 1 file was deleted.&lt;br /&gt;&lt;br /&gt;- FIX - The COPY command would not copy a file from device to an explicit path on the desktop.&lt;br /&gt;&lt;br /&gt;- NEW - The RUN command has been added to run a command file from either the desktop or the device.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-2869447074813582365?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/2869447074813582365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=2869447074813582365&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/2869447074813582365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/2869447074813582365'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2008/01/srego-cecmd-version-10012-beta-is.html' title='Srego ceCmd version 1.0.0.12 (beta) is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-565758526988854889</id><published>2007-09-11T16:20:00.000-07:00</published><updated>2007-09-11T16:21:53.651-07:00</updated><title type='text'>Srego CE ToolPack Command-Line Version 3.0.0.7 is Available</title><content type='html'>The &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line&lt;/a&gt; tool version 3.0.0.7 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03.00.00.07 - 09/11/07&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;br /&gt;- FIX - ceCD - putting quotes around a path caused the path to not be found.  Quotes are not ignored.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;- FIX - ceCD - using the parent directory token (..) or the current directory token (.) in a new current directory would work, but it did not resolve the token out of the path.&lt;br /&gt;&lt;br /&gt;- NEW - ceReg - Support for REG_MULTI_SZ types has been added.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-565758526988854889?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/565758526988854889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=565758526988854889&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/565758526988854889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/565758526988854889'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/09/srego-ce-toolpack-command-line-version.html' title='Srego CE ToolPack Command-Line Version 3.0.0.7 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-1585365367570140659</id><published>2007-08-19T15:05:00.000-07:00</published><updated>2007-08-19T15:14:32.829-07:00</updated><title type='text'>Using GetSchemaTable to get Info about Columns in VB.NET</title><content type='html'>Here is a simple example in VB.NET that uses &lt;strong&gt;GetSchemaTable&lt;/strong&gt; to retrieve information about the columns returned from a SQL Select statement. If you say "Select * from table", this method is useful for learning what information you will have returned.   For a C# example and more information on the topic, look &lt;a href="http://support.microsoft.com/kb/310107"&gt;here&lt;/a&gt;.&lt;pre&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Dim myConn As New OleDbConnection(ConnectionString)&lt;br /&gt;&lt;br /&gt;Dim sql As String = "Select * from Table_ABC"&lt;br /&gt;&lt;br /&gt;Dim myCommand As New OleDbCommand(sql, myConn)&lt;br /&gt;&lt;br /&gt;myConn.Open()&lt;br /&gt;&lt;br /&gt;Dim objDR As OleDbDataReader&lt;br /&gt;&lt;br /&gt;objDR = myCommand.ExecuteReader(CommandBehavior.CloseConnection)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;' Retrieve column schema into a DataTable.&lt;br /&gt;Dim schemaTable As DataTable&lt;br /&gt;schemaTable = objDR.GetSchemaTable()&lt;br /&gt;&lt;br /&gt;' For each field in the table...&lt;br /&gt;For Each myField As DataRow In schemaTable.Rows&lt;br /&gt;&lt;br /&gt;    ' For each property of the field...&lt;br /&gt;    For Each myProperty As DataColumn In schemaTable.Columns&lt;br /&gt;&lt;br /&gt;       'Display the field name and value.&lt;br /&gt;        Debug.WriteLine(myProperty.ColumnName + _&lt;br /&gt;            " = " + myField(myProperty).ToString())&lt;br /&gt;&lt;br /&gt;    Next&lt;br /&gt;&lt;br /&gt;Debug.WriteLine("")&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-1585365367570140659?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/1585365367570140659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=1585365367570140659&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/1585365367570140659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/1585365367570140659'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/08/using-getschematable-to-get-info-about.html' title='Using GetSchemaTable to get Info about Columns in VB.NET'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-5820886781887323853</id><published>2007-08-15T08:35:00.000-07:00</published><updated>2007-08-15T08:44:29.637-07:00</updated><title type='text'>ceReg now supports REG_MULTI_SZ</title><content type='html'>With version 3.0.0.7 of the &lt;a href="http://www.srego.com/sregocetp.htm"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;Srego&lt;/span&gt; CE &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Toolpack&lt;/span&gt; Command-Line utilities&lt;/a&gt;, the &lt;strong&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;ceReg&lt;/span&gt;&lt;/strong&gt; utility supports reading and writing of the Multiple String type (REG_MULTI_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;SZ&lt;/span&gt;) in the device's registry. The REG_MULTI_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;SZ&lt;/span&gt; type allows a list of delimited strings to be stored in one value. &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_5"&gt;Mimicking&lt;/span&gt; the Reg command on the desktop, multiple strings are specified with a "&lt;span style="font-family:courier new;"&gt;\0&lt;/span&gt;" delimiter:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;phone\0fax\0mail&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the Remote Registry Editor, the Multi String value looks like:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qGIonhYSpfY/RsMeq39cENI/AAAAAAAAAB8/_GH0Lk53xAQ/s1600-h/reg.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5098952925038514386" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_qGIonhYSpfY/RsMeq39cENI/AAAAAAAAAB8/_GH0Lk53xAQ/s400/reg.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reading a Multi String value is also similar to the desktop's Reg command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;ceReg /r /1 /sub software\srego\test /name testValue&lt;br /&gt;&lt;br /&gt;ceReg - version 03.00.00.07&lt;br /&gt;(c) Srego, Inc - 2007&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\software\srego\test] &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;"testValue"="fax\0mail\0phone\00&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-5820886781887323853?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/5820886781887323853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=5820886781887323853&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/5820886781887323853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/5820886781887323853'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/08/cereg-now-supports-regmultisz.html' title='ceReg now supports REG_MULTI_SZ'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qGIonhYSpfY/RsMeq39cENI/AAAAAAAAAB8/_GH0Lk53xAQ/s72-c/reg.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-6180769625568719930</id><published>2007-07-09T08:07:00.000-07:00</published><updated>2007-07-09T08:08:58.238-07:00</updated><title type='text'>Srego CE ToolPack Command-Line Version 3.0.0.6 is Available</title><content type='html'>The &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line&lt;/a&gt; tool version 3.0.0.6 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03.00.00.06 - 07/08/07&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;br /&gt;- NEW - ceTouch - The /rf option was added to allow a timestamp to be retrieved from an existing file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;- NEW - ceTouch - Additional error information is provided if a file's timestamp cannot be updated.&lt;br /&gt;&lt;br /&gt;- CHG - ceDir - The default timestamp is now the last written time instead of the created timestamp.&lt;br /&gt;&lt;br /&gt;- FIX - cePush, cePull - Better error handling when invalid options are given.&lt;br /&gt;&lt;br /&gt;- FIX - cePush, cePull - Now support the /F flag to copy a file only if it already exists on the destination.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-6180769625568719930?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/6180769625568719930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=6180769625568719930&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6180769625568719930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6180769625568719930'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/07/srego-ce-toolpack-command-line-version.html' title='Srego CE ToolPack Command-Line Version 3.0.0.6 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-6170447938841312247</id><published>2007-07-01T21:05:00.000-07:00</published><updated>2007-07-01T21:07:44.424-07:00</updated><title type='text'>Srego ceCmd version 1.0.0.11 is Available (Beta Extended)</title><content type='html'>The beta of the &lt;a href="http://srego.com/sregocecmd.htm"&gt;Srego ceCmd&lt;/a&gt; application has been updated.&lt;br /&gt;&lt;br /&gt;The beta period has also been extended to the end of the year.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;br /&gt;01.00.00.11 - 07/01/07&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;- NEW - Extended Expiration Timeout.&lt;br /&gt;&lt;br /&gt;-----------&lt;br /&gt;01.00.00.10 - 06/20/07&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;- FIX - the CD command was not properly handling paths that included ..&lt;br /&gt;&lt;br /&gt;- FIX - the DIR command did not handle a path if it ended in .. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-6170447938841312247?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/6170447938841312247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=6170447938841312247&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6170447938841312247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6170447938841312247'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/07/srego-cecmd-version-10011-is-available.html' title='Srego ceCmd version 1.0.0.11 is Available (Beta Extended)'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-7214065520815976994</id><published>2007-06-21T10:23:00.000-07:00</published><updated>2007-06-21T10:32:02.309-07:00</updated><title type='text'>Installing .CAB files on a Device with the Command-Line Tools or the ActiveX control</title><content type='html'>&lt;span style="color:#000000;"&gt;With the &lt;a href="http://srego.com/sregocetp.htm"&gt;Srego CE Toolpack Command lines &lt;/a&gt;tools, there are two way to install a cab file on the device:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;1) The &lt;strong&gt;cePush&lt;/strong&gt; command has a /deploy flag.  If this flag is specified and you are pushing a .cab file to the device, it will automatically be installed after it is copied to the device.&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#3333ff;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#3333ff;"&gt;cePush  sample.cab  /deploy&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;2) the &lt;strong&gt;ceStart&lt;/strong&gt; utility can also be used.  If the .cab file is already on the device, you can specify something like this to activate the .cab file on the device:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;ceStart \windows\wceload.exe  "\my documents\sample.cab"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;If you are using the &lt;a href="http://srego.com/sregocetpx.htm"&gt;Srego CE Toolpack ActiveX control&lt;/a&gt;, you will use the &lt;strong&gt;StartApplicationEx&lt;/strong&gt; method as shown below with VB6 sample code:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Dim stat As Boolean&lt;br /&gt;   &lt;br /&gt;Dim parameters As String&lt;br /&gt;   &lt;br /&gt;parameters = Chr(34) + "\my documents\PGTViewer_WinMobile_7004.CAB" + Chr(34)&lt;br /&gt;   &lt;br /&gt;stat = SregoCETPx1.StartApplicationEx("\windows\wceload.exe", parameters)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;There are two keys to making  the StartApplicationEx correctly activate the .cab file.  The application parameter must be “\windows\wceload.exe” and the parameters must be the path to the .cab file.   If the path has spaces in it, you must put quotes around the path as shown in this example.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-7214065520815976994?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/7214065520815976994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=7214065520815976994&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/7214065520815976994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/7214065520815976994'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/06/installing-cab-files-on-device-with.html' title='Installing .CAB files on a Device with the Command-Line Tools or the ActiveX control'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-6489950415937941015</id><published>2007-06-10T11:30:00.000-07:00</published><updated>2007-06-10T11:34:15.120-07:00</updated><title type='text'>ceAttrib added to the Command-Line Srego Toolpack</title><content type='html'>With version 3.0.0.5 of the &lt;a href="http://srego.com/sregocetp.htm"&gt;Srego CE Toolpack Command-Line utilities&lt;/a&gt;, a new utility called ceAttrib has been added.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;ceAttrib &lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;ceAttrib&lt;/strong&gt; utility is run on a desktop computer to set file attributes on the connected device.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;ceAttrib&lt;/strong&gt; utility will accept wildcards in the path name (* and ?) to get or set file attributes on more than one file.&lt;br /&gt;&lt;br /&gt;There are 4 attributes the &lt;strong&gt;ceAttrib&lt;/strong&gt; utility can be used to change: ReadOnly, Archive, Hidden, and System.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;ceAttrib&lt;/strong&gt; utility can also be used to see what attributes are set on a file. It will show ReadOnly, Archive, Hidden, System, and Directory.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;ceAttrib&lt;/strong&gt; utility will use the current directory (set by ceCD) and does require quotes around paths with spaces.&lt;br /&gt;&lt;br /&gt;*** Note: Some attributes cannot be changed on certain platforms. For example, the System attribute cannot be changed on a Windows Mobile 5.0 or Windows Mobile 6 device.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Usage:&lt;br /&gt;&lt;br /&gt;ceAttrib - version 03.00.00.05&lt;br /&gt;(c) Srego, Inc - 2007&lt;br /&gt;&lt;br /&gt;Usage: ceAttrib [path] [/?] [+R -R] [+A -A] [+S -S] [+H -H]&lt;br /&gt;&lt;br /&gt;[path] Specifies file(s) to touch. Wildcards are permitted.&lt;br /&gt;&lt;br /&gt;[/?] Display usage.&lt;br /&gt;&lt;br /&gt;[+R] Set Read-Only Attribute&lt;br /&gt;[-R] Clear Read-Only Attribute&lt;br /&gt;&lt;br /&gt;[+A] Set Archive Attribute&lt;br /&gt;[-A] Clear Archive Attribute&lt;br /&gt;&lt;br /&gt;[+S] Set System Attribute&lt;br /&gt;[-S] Clear System Attribute&lt;br /&gt;&lt;br /&gt;[+H] Set Hidden Attribute&lt;br /&gt;[-H] Clear Hidden Attribute&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Examples: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To show the file attribute for a single file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;ceAttrib gps.log &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;ceAttrib - version 03.00.00.05&lt;br /&gt;(c) Srego, Inc - 2007&lt;br /&gt;&lt;br /&gt;Current Device Directory: \My Documents&lt;br /&gt;&lt;br /&gt;A \My Documents\gps.log&lt;br /&gt;&lt;br /&gt;Files: 1&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;To show more than one file’s attributes, you can use wildcards:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;ceAttrib *.* &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;ceAttrib - version 03.00.00.05&lt;br /&gt;(c) Srego, Inc - 2007&lt;br /&gt;&lt;br /&gt;Current Device Directory: \My Documents&lt;br /&gt;&lt;br /&gt;A \My Documents\gps.log&lt;br /&gt;RA \My Documents\PGTViewer_WinMobile_7004.CAB&lt;br /&gt;A \My Documents\MadisonCty.gtx&lt;br /&gt;&lt;br /&gt;Files: 3&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;To add the Read Only attribute to a file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;ceAttrib gps.log +R &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;ceAttrib - version 03.00.00.05&lt;br /&gt;(c) Srego, Inc - 2007&lt;br /&gt;&lt;br /&gt;Current Device Directory: \My Documents&lt;br /&gt;&lt;br /&gt;RA \My Documents\gps.log&lt;br /&gt;&lt;br /&gt;Files Updated: 1&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To remove the Read Only attribute to a file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;ceAttrib gps.log -R &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;ceAttrib - version 03.00.00.05&lt;br /&gt;(c) Srego, Inc - 2007&lt;br /&gt;&lt;br /&gt;Current Device Directory: \My Documents&lt;br /&gt;&lt;br /&gt;A \My Documents\gps.log&lt;br /&gt;&lt;br /&gt;Files Updated: 1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-6489950415937941015?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/6489950415937941015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=6489950415937941015&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6489950415937941015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6489950415937941015'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/06/ceattrib-added-to-command-line-srego.html' title='ceAttrib added to the Command-Line Srego Toolpack'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-5069757751213262024</id><published>2007-06-10T11:01:00.000-07:00</published><updated>2007-06-10T11:02:54.805-07:00</updated><title type='text'>Srego CE ToolPack Command-Line Version 3.0.0.5 is Available</title><content type='html'>The &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line&lt;/a&gt; tool version 3.0.0.5 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03.00.00.05 - 06/10/07&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;- NEW - ceTouch - The /t options allows a specific time to be specified.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;- FIX - ceStart - Was not processing parameters correctly.&lt;br /&gt;&lt;br /&gt;- NEW - ceAttrib - New utility added.&lt;br /&gt;&lt;br /&gt;-----------&lt;br /&gt;03.00.00.04 - 05/16/07&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;- FIX - cePush, cePull - both has a problem with the /D flag because of the 2 second granularity of the device timestamp.  The utilities were changed to allow a 1 second window around the timestamps being compared.&lt;br /&gt;&lt;br /&gt;- FIX - ceTouch - was saying that it could not update any file.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-5069757751213262024?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/5069757751213262024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=5069757751213262024&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/5069757751213262024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/5069757751213262024'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/06/srego-ce-toolpack-command-line-version.html' title='Srego CE ToolPack Command-Line Version 3.0.0.5 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-4470815577645012195</id><published>2007-06-09T15:14:00.000-07:00</published><updated>2007-06-09T15:16:02.177-07:00</updated><title type='text'>Srego ceCmd version 1.0.0.9 is Available</title><content type='html'>The beta of the &lt;a href="http://srego.com/sregocecmd.htm"&gt;Srego ceCmd&lt;/a&gt; application has been updated.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01.00.00.09 - 06/09/07&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;br /&gt;- NEW - Start command added.&lt;br /&gt;- FIX - Fixes to the CD command.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01.00.00.08 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;------------&lt;br /&gt;- FIX - Copying files from the root on the device would give an error that the        source could not be found.&lt;br /&gt;- FIX - The CD command did not work correctly in all cases.&lt;br /&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-4470815577645012195?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/4470815577645012195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=4470815577645012195&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/4470815577645012195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/4470815577645012195'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/06/srego-cecmd-version-1009-is-available.html' title='Srego ceCmd version 1.0.0.9 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-2471219334522666483</id><published>2007-05-17T20:47:00.000-07:00</published><updated>2007-05-17T20:49:01.106-07:00</updated><title type='text'>Srego CE ToolPack Command-Line Version 3.0.0.4 is Available</title><content type='html'>The &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line&lt;/a&gt; tool version 3.0.0.4 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03.00.00.04 - 05/16/07&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;- FIX - cePush, cePull - both has a problem with the /D flag because of the 2 second granularity of the device timestamp.  The utilities were changed to allow a 1 second window around the timestamps being compared.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;- FIX - ceTouch - was saying that it could not update any file.&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-2471219334522666483?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/2471219334522666483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=2471219334522666483&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/2471219334522666483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/2471219334522666483'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/05/srego-ce-toolpack-command-line-version.html' title='Srego CE ToolPack Command-Line Version 3.0.0.4 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-6717087100482587567</id><published>2007-04-13T19:10:00.000-07:00</published><updated>2007-04-13T19:17:21.202-07:00</updated><title type='text'>Changes in ActiveSync 4.5 Break CopyDB and ceDBCopy.exe</title><content type='html'>Microsoft &lt;a href="http://www.microsoft.com/windowsmobile/activesync/activesync45.mspx"&gt;states&lt;/a&gt; in its description of ActiveSync 4.5:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;em&gt;Conversion of database files for use on a mobile device is not supported by ActiveSync 4.5. On previous versions, this feature was limited to devices running Windows Mobile software for Pocket PC 2003 and earlier&lt;/em&gt;.&lt;/li&gt;&lt;/ul&gt;This change breaks the &lt;a href="http://srego.blogspot.com/2006/08/undocumented-copydb-method.html"&gt;&lt;strong&gt;CopyDB&lt;/strong&gt; method&lt;/a&gt; in the &lt;a href="http://srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX&lt;/a&gt; control and the &lt;strong&gt;ceDBCopy.exe&lt;/strong&gt; utility in the &lt;a href="http://srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line Tools&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-6717087100482587567?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/6717087100482587567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=6717087100482587567&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6717087100482587567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6717087100482587567'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/04/changes-in-activesync-45-break-copydb.html' title='Changes in ActiveSync 4.5 Break CopyDB and ceDBCopy.exe'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-5123024885564996273</id><published>2007-04-11T07:08:00.000-07:00</published><updated>2007-04-11T07:10:53.608-07:00</updated><title type='text'>Srego CE ToolPack ActiveX version 1.0.0.60 is Available</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_qGIonhYSpfY/RhzsVND1-eI/AAAAAAAAABA/j-RemyBx3iE/s1600-h/srego_logo_1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5052172731030043106" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_qGIonhYSpfY/RhzsVND1-eI/AAAAAAAAABA/j-RemyBx3iE/s200/srego_logo_1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX&lt;/a&gt; version 1.0.0.60 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:courier new;"&gt;01.00.00.60 - 04/11/07 &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:courier new;"&gt;&lt;div&gt;&lt;br /&gt;- NEW - To better support non VB 6 platforms, two methods were added to create and maintain a ByteArray buffer (ByteBufferClear and ByteBufferAddValue). A new version of the RegSetBinaryValue was added called RegSetBinaryValueFromByteBuffer which does not require the passing of the byte array and simplifies its use for other development platforms.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;- NEW - New Methods:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;boolean ByteBufferClear() &lt;/li&gt;&lt;br /&gt;&lt;li&gt;boolean ByteBufferAddValue(long value)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;boolean RegSetBinaryValueFromByteBuffer(long key, BSTR subKeyName, BSTR valueName);&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-5123024885564996273?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/5123024885564996273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=5123024885564996273&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/5123024885564996273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/5123024885564996273'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/04/srego-ce-toolpack-activex-version-10060.html' title='Srego CE ToolPack ActiveX version 1.0.0.60 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qGIonhYSpfY/RhzsVND1-eI/AAAAAAAAABA/j-RemyBx3iE/s72-c/srego_logo_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-4493242033157418203</id><published>2007-03-30T14:48:00.000-07:00</published><updated>2007-03-30T15:05:16.535-07:00</updated><title type='text'>The Srego ceCmd utility (CE Command Prompt) is Available for Testing</title><content type='html'>&lt;p align="center"&gt;&lt;a href="http://1.bp.blogspot.com/_qGIonhYSpfY/Rg2GRNiNueI/AAAAAAAAAA4/3v16SWMNCTk/s1600-h/cecmd.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5047838387601258978" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_qGIonhYSpfY/Rg2GRNiNueI/AAAAAAAAAA4/3v16SWMNCTk/s320/cecmd.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;Srego ceCmd&lt;/strong&gt; is a Command-Prompt Window similar to the Windows Command Prompt. It is installed and runs on the desktop, but it manipulates a connected Windows Mobile Device. The ceCmd uses RAPI to communicate with the connected device and no software needs to be installed on the device itself. The utility supports devices running Pocket PC, Windows Mobile, Smartphone, and CE.NET. On the &lt;a href="http://www.srego.com/support.html"&gt;Srego support web page&lt;/a&gt;, you can download a trail version of the software or read the product documentation&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;Srego ceCmd&lt;/strong&gt; application is still in beta and is not yet complete, but it does contain a significant amount of functionality. The idea behind &lt;strong&gt;ceCmd&lt;/strong&gt; is to provide another style of input for a connected Windows CE device. The ceCmd is not exactly like a Windows Command Prompt because there are several things about the Windows Command Prompt that can be improved upon (especially when applied to a connected device). However, if you are familiar with using a Windows Command Prompt, the ceCmd should feel familar. The basic functionality of ceCmd is described below:&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;File Info and Manipulation Commands &lt;/strong&gt;&lt;/p&gt;&lt;strong&gt;&lt;ul&gt;&lt;li&gt;&lt;/strong&gt;&lt;strong&gt;DIR&lt;/strong&gt; - Directory Information &lt;/li&gt;&lt;li&gt;&lt;strong&gt;COPY&lt;/strong&gt; – Copy files on the device, from the device to the desktop, from the desktop to the device &lt;/li&gt;&lt;li&gt;&lt;strong&gt;DEL&lt;/strong&gt;, &lt;strong&gt;ERASE&lt;/strong&gt; – Delete files on the device &lt;/li&gt;&lt;li&gt;&lt;strong&gt;MKDIR&lt;/strong&gt;, &lt;strong&gt;MD&lt;/strong&gt; - Create Directories on the device &lt;/li&gt;&lt;li&gt;&lt;strong&gt;RMDIR&lt;/strong&gt;, &lt;strong&gt;RD&lt;/strong&gt; - Remove Directories on the device &lt;/li&gt;&lt;li&gt;&lt;strong&gt;CD&lt;/strong&gt; , &lt;strong&gt;CHDIR&lt;/strong&gt; – Change the current directory on the device &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Command History &lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Use the Up/Down Arrow Keys to traverse the command history&lt;br /&gt;Command History Dialog to view and manipulate command history (View/Command History) &lt;/li&gt;&lt;li&gt;Command history is persistent between sessions &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Drag and Drop File Copying &lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Drag and Drop files on the Srego ceCmd Application window and they will be copied to the device’s current directory. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Device Information &lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;INFO&lt;/strong&gt; – Get information about the connected device:&lt;br /&gt;Device Id, Available and Total Memory, Available and Total Storage Space, Battery Status, AC Line Status, Processor Type&lt;/li&gt;&lt;li&gt;&lt;strong&gt;VER&lt;/strong&gt; – Displays the connected device’s Windows CE Version. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Miscellaneous Commands and Features&lt;/strong&gt;&lt;/p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;HELP&lt;/strong&gt; – Get help on individual commands. &lt;/li&gt;&lt;li&gt;&lt;strong&gt;EXIT&lt;/strong&gt; – Exit the Srego ceCmd application. &lt;/li&gt;&lt;li&gt;&lt;strong&gt;CLS&lt;/strong&gt; – Clear the display buffer.&lt;/li&gt;&lt;li&gt;Connection Status indicator&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-4493242033157418203?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/4493242033157418203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=4493242033157418203&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/4493242033157418203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/4493242033157418203'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/03/srego-cecmd-utility-is-available-for.html' title='The Srego ceCmd utility (CE Command Prompt) is Available for Testing'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qGIonhYSpfY/Rg2GRNiNueI/AAAAAAAAAA4/3v16SWMNCTk/s72-c/cecmd.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-2814520471924121804</id><published>2007-03-28T14:31:00.000-07:00</published><updated>2007-03-28T14:33:22.560-07:00</updated><title type='text'></title><content type='html'>&lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX&lt;/a&gt; version 1.0.0.59 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01.00.00.59 - 03/28/07 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;- NEW - New Methods:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;boolean GetCurrentRecPropStringAlt(long pos, VARIANT* data, VARIANT* size);   &lt;/li&gt;&lt;li&gt;BSTR SetLocale(long category, BSTR locale);&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;-----------&lt;br /&gt;01.00.00.58 -&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;- CHG - The GetCurrentRecPropBlob will now return LPWSTR types as a byte array.~&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-2814520471924121804?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/2814520471924121804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=2814520471924121804&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/2814520471924121804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/2814520471924121804'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/03/srego-ce-toolpack-activex-version-1.html' title=''/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-3584819090906932153</id><published>2007-03-28T14:30:00.000-07:00</published><updated>2007-03-28T14:31:17.211-07:00</updated><title type='text'>Srego CE Toolpack Command-Line version 3.0.0.3 is Available</title><content type='html'>The &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line&lt;/a&gt; tool version 3.0.0.3 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03.00.00.03 - 03/28/07&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;- NEW - the /Deploy flag was added to cePush.  This flag allows files, such as a .cab file, to be immediately executed after it has been copied to the device.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-3584819090906932153?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/3584819090906932153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=3584819090906932153&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/3584819090906932153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/3584819090906932153'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/03/srego-ce-toolpack-command-line-version.html' title='Srego CE Toolpack Command-Line version 3.0.0.3 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-8926694833294029294</id><published>2007-01-25T12:32:00.000-08:00</published><updated>2007-01-25T12:43:52.193-08:00</updated><title type='text'>Motivation behind the Srego CE ToolPack Command-Line Utilities</title><content type='html'>The command-line tools that make up the &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE Toolpack&lt;/a&gt; have fairly long history.   Their development was inspired by the need to easily move files back and forth between a desktop computer and a connected Windows CE Device (Pocket PC, Window Mobile).  Of course, there are existing ways to accomplish this task.  The File Explorer (with the help of AciveSync) provides a nice GUI interface that fully integrates the desktop files with the device’s files all through drag-and- drop manipulation.  File Explorer provides very effective ad hoc file manipulation and an easy way to explore files on the device.  The File Explorer’s interface is ideal for these tasks, but it is not very good at tasks that will be repeated often, tasks that may include a complex set of actions, tasks that will be scheduled, or any task that is automating some workflow.  In the desktop world, we would simply write a script to perform these tasks and leave the File Explorer to what it does best.   How do you do perform these tasks on a device?  This problem posed an in-house question that needed to be solved for developing and testing applications written for handheld devices.  The need to frequently move data files back and forth between the desktop and device resulted in &lt;strong&gt;cePush&lt;/strong&gt; and &lt;strong&gt;cePull&lt;/strong&gt;.  In development mode, test files and result files could be shuttled between the desktop and device very easily.  At a Command Prompt, the command is entered once, then DOS Key (the up and down arrow traversal of the command history or the F7 command history menu) is used to perform the file moves over and over.  For more complex tasks, a .bat file can be created to perform a set of transfers.   The batch file can even employ some logic and can be scheduled.  The original cePush and cePull were very simple; they had no wild card support and no options.  There were later enhanced to provide equivalent functionality found in the Command Prompt's Copy command.&lt;br /&gt;&lt;br /&gt;The in-house success with &lt;strong&gt;cePush&lt;/strong&gt; and &lt;strong&gt;cePull&lt;/strong&gt; commands led to the need to create even more utilities that would remove directories on the device (&lt;strong&gt;ceMkdir&lt;/strong&gt;, &lt;strong&gt;cdRmdir&lt;/strong&gt;), delete files on the device (&lt;strong&gt;ceDel&lt;/strong&gt;), and simply see what files are on the device on the device (&lt;strong&gt;ceDir&lt;/strong&gt;).  Then the need for moving and copying files on the device to the device (versus from the device to the desktop) was needed (&lt;strong&gt;ceMove&lt;/strong&gt;, &lt;strong&gt;ceCopy&lt;/strong&gt;).  &lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;cePush&lt;/strong&gt; and &lt;strong&gt;cePull&lt;/strong&gt; utilities were updated to support more synchronization operations (checking time and dates to see if an up-to-date file is already present).   With this functionally a new utility was added to update a files timestamp  (&lt;strong&gt;ceTouch&lt;/strong&gt;, similar to the UNIX touch utility).   The &lt;strong&gt;&lt;a href="http://srego.blogspot.com/2007/01/cejump.html"&gt;ceJump&lt;/a&gt;&lt;/strong&gt; utility was added to streamline editing files on the device. &lt;br /&gt;With all of these utilities available, it became obvious that the one thing missing from the Command Prompt style-environment was the concept of a current directory.  The &lt;strong&gt;ceCD&lt;/strong&gt; utility was added to implement this concept and all of the utilities were modified to utilize a current directory concept which often reduces the lengthy paths that need to be typed (for example &lt;span style="color:#000099;"&gt;\my documents&lt;/span&gt; was a commonly typed path for the device and always requires quotes, setting this path to be the current simplifies the command).  &lt;br /&gt;&lt;br /&gt;The last utility added to the toolpack was the &lt;strong&gt;ceReg&lt;/strong&gt; utility which allows registry modifications from the desktop command-line.  It is a simplified version of the Reg utility on the desktop, but it still allows the creation, query, and updating of registry entries on the device.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-8926694833294029294?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/8926694833294029294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=8926694833294029294&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/8926694833294029294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/8926694833294029294'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/01/motivation-behind-srego-ce-toolpack.html' title='Motivation behind the Srego CE ToolPack Command-Line Utilities'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-6954542724828553046</id><published>2007-01-23T07:56:00.000-08:00</published><updated>2007-01-23T08:11:43.916-08:00</updated><title type='text'>Working with .cdb files created from .mdb files</title><content type='html'>&lt;div&gt;When you convert a .mdb file to a .cdb file (when you copy it to the device with ActiveSync), there are several additional tables that get created:&lt;br /&gt;&lt;br /&gt;MSysTables&lt;br /&gt;MSysFields&lt;br /&gt;MSysIndexes&lt;br /&gt;MSysProcs&lt;br /&gt;&lt;br /&gt;You can use the two of these to get Metadata from the .cdb file:&lt;br /&gt;&lt;br /&gt;MSysTables&lt;br /&gt;TableName&lt;br /&gt;TableId&lt;br /&gt;TableFlags (0 for user, 3 for system)&lt;br /&gt;&lt;br /&gt;MSysFields&lt;br /&gt;TableId&lt;br /&gt;FieldName&lt;br /&gt;FieldId&lt;br /&gt;Len&lt;br /&gt;Type (2=INT16, 18=UINT16, 3=INT32, 19=UINT32, 64=FileTime, 1=String, 65=Blob, 11=BOOL, 5=DOUBLE)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here are two sample functions to get the meta data from the tables:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;Function GetTableListFromCDB(cdbFile As String, _&lt;br /&gt;tableId() As Long, _&lt;br /&gt;tableName() As String, _&lt;br /&gt;tableFlags() As Long, _&lt;br /&gt;tableCount As Integer) As Boolean&lt;br /&gt;&lt;br /&gt;tableCount = 0&lt;br /&gt;&lt;br /&gt;' Mount a Database Volume&lt;br /&gt;Dim filename As String&lt;br /&gt;Dim volumeId As String&lt;br /&gt;&lt;br /&gt;volumeId = _&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;SregoCETPx1.MountDatabaseVolume(cdbFile, OPEN_EXISTING)&lt;br /&gt;&lt;br /&gt;If volumeId = "" Then&lt;br /&gt;MsgBox "Unable to mount database volume"&lt;br /&gt;GetTableListFromCDB = False&lt;br /&gt;Exit Function&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;' Open Database in mounted Volume&lt;br /&gt;Dim dbHandle As Long&lt;br /&gt;dbHandle = SregoCETPx1.OpenDatabaseByName(volumeId, _&lt;br /&gt;"MSysTables", 0, CEDB_AUTOINCREMENT)&lt;br /&gt;&lt;br /&gt;If dbHandle &lt;&gt; 0 Then ' make sure database was opened&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;' read each record&lt;br /&gt;While SregoCETPx1.ReadDatabaseRecord(dbHandle) &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;&lt;br /&gt;tableName(tableCount) = _&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;SregoCETPx1.GetCurrentRecPropValue(0)&lt;br /&gt;&lt;br /&gt;tableId(tableCount) = _&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;SregoCETPx1.GetCurrentRecPropValue(1)&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;tableFlags(tableCount) = _&lt;/div&gt;&lt;br /&gt;&lt;div&gt;SregoCETPx1.GetCurrentRecPropValue(2)&lt;br /&gt;&lt;br /&gt;tableCount = tableCount + 1&lt;br /&gt;&lt;br /&gt;Wend&lt;br /&gt;&lt;br /&gt;SregoCETPx1.CloseDatabase dbHandle&lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;SregoCETPx1.UnmountDatabaseVolume volumeId&lt;br /&gt;&lt;br /&gt;GetTableListFromCDB = True&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Function GetFieldListFromCDB(cdbFile As String, _&lt;/div&gt;&lt;br /&gt;&lt;div&gt;tableId As Long, fieldName() As String, _&lt;/div&gt;&lt;br /&gt;&lt;div&gt;fieldId() As Long, fieldLen() As Long, _&lt;/div&gt;&lt;br /&gt;&lt;div&gt;fieldType() As Long, _&lt;/div&gt;&lt;br /&gt;&lt;div&gt;fieldCount As Integer) As Boolean&lt;br /&gt;&lt;br /&gt;fieldCount = 0&lt;br /&gt;&lt;br /&gt;' Mount a Database Volume&lt;br /&gt;Dim filename As String&lt;br /&gt;Dim volumeId As String&lt;br /&gt;&lt;br /&gt;volumeId = _&lt;/div&gt;&lt;br /&gt;&lt;div&gt;SregoCETPx1.MountDatabaseVolume(cdbFile, _&lt;/div&gt;&lt;br /&gt;&lt;div&gt;OPEN_EXISTING)&lt;br /&gt;&lt;br /&gt;If volumeId = "" Then&lt;br /&gt;MsgBox "Unable to mount database volume"&lt;br /&gt;GetFieldListFromCDB = False&lt;br /&gt;Exit Function&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Dim recTableId As Long&lt;br /&gt;&lt;br /&gt;' Open Database in mounted Volume&lt;br /&gt;Dim dbHandle As Long&lt;br /&gt;Dim id As Long&lt;br /&gt;dbHandle = SregoCETPx1.OpenDatabaseByName(volumeId, _&lt;br /&gt;"MSysFields", 0, CEDB_AUTOINCREMENT)&lt;br /&gt;&lt;br /&gt;If dbHandle &lt;&gt; 0 Then ' Success&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;' read each record&lt;br /&gt;While SregoCETPx1.ReadDatabaseRecord(dbHandle)&lt;br /&gt;&lt;br /&gt;recTableId = SregoCETPx1.GetCurrentRecPropValue(0)&lt;br /&gt;&lt;br /&gt;If recTableId = tableId Then&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;fieldName(fieldCount) = _&lt;/div&gt;&lt;br /&gt;&lt;div&gt;SregoCETPx1.GetCurrentRecPropValue(1)&lt;br /&gt;&lt;br /&gt;id = SregoCETPx1.GetCurrentRecPropValue(2)&lt;br /&gt;fieldId(fieldCount) = ShiftRight(id, 24)&lt;br /&gt;&lt;br /&gt;fieldLen(fieldCount) = _&lt;/div&gt;&lt;br /&gt;&lt;div&gt;SregoCETPx1.GetCurrentRecPropValue(3)&lt;br /&gt;fieldType(fieldCount) = _&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;SregoCETPx1.GetCurrentRecPropValue(4)&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;fieldCount = fieldCount + 1&lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Wend&lt;br /&gt;&lt;br /&gt;SregoCETPx1.CloseDatabase dbHandle&lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;SregoCETPx1.UnmountDatabaseVolume volumeId&lt;br /&gt;&lt;br /&gt;GetFieldListFromCDB = True&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;' Power2 from http://search.devx.com/&lt;br /&gt;Function Power2(ByVal exponent As Long) As Long&lt;br /&gt;Static res(0 To 31) As Long&lt;br /&gt;Dim i As Long&lt;br /&gt;&lt;br /&gt;' rule out errors&lt;br /&gt;If exponent &lt;&gt; 31 Then Err.Raise 5&lt;br /&gt;&lt;br /&gt;' initialize the array at the first call&lt;br /&gt;If res(0) = 0 Then&lt;br /&gt;res(0) = 1&lt;br /&gt;For i = 1 To 30&lt;br /&gt;res(i) = res(i - 1) * 2&lt;br /&gt;Next&lt;br /&gt;' this is a special case&lt;br /&gt;res(31) = &amp;H80000000&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;' return the result&lt;br /&gt;Power2 = res(exponent)&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;' ShiftRight from http://search.devx.com/&lt;br /&gt;Function ShiftRight(ByVal value As Long, ByVal times As Long) As Long&lt;br /&gt;' we need to create a mask of 1's corresponding to the&lt;br /&gt;' digits in VALUE that will be retained in the result&lt;br /&gt;Dim mask As Long, signBit As Long&lt;br /&gt;&lt;br /&gt;' return zero if too many times&lt;br /&gt;If times &gt;= 32 Then Exit Function&lt;br /&gt;' return the value if zero times&lt;br /&gt;If times = 0 Then ShiftRight = value: Exit Function&lt;br /&gt;&lt;br /&gt;' evaluate the sign bit in advance&lt;br /&gt;signBit = (value &lt; times="31" mask =" Not" value =" (value" shiftright =" (value"&gt;&lt;br /&gt;&lt;br /&gt;To use these function, you do something like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;List1.Clear&lt;br /&gt;&lt;br /&gt;Dim tableName(100) As String&lt;br /&gt;Dim tableId(100) As Long&lt;br /&gt;Dim tableFlags(100) As Long ' 0-user, 3-system&lt;br /&gt;Dim tableCount As Integer&lt;br /&gt;&lt;br /&gt;Dim fieldId(100) As Long&lt;br /&gt;Dim fieldName(100) As String&lt;br /&gt;Dim fieldLen(100) As Long&lt;br /&gt;Dim fieldType(100) As Long&lt;br /&gt;Dim fieldCount As Integer&lt;br /&gt;&lt;br /&gt;Dim i As Integer&lt;br /&gt;Dim j As Integer&lt;br /&gt;&lt;br /&gt;tableCount = 0&lt;br /&gt;&lt;br /&gt;Dim cdbFile As String&lt;br /&gt;&lt;br /&gt;cdbFile = "\my documents\gps.cdb"&lt;br /&gt;&lt;br /&gt;If GetTableListFromCDB(cdbFile, tableId, tableName, _&lt;br /&gt;tableFlags, tableCount) Then&lt;br /&gt;&lt;br /&gt;For i = 0 To tableCount - 1&lt;br /&gt;' only show user tables&lt;br /&gt;If tableFlags(i) = 0 Then &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;List1.AddItem "Table: " + tableName(i) + _&lt;br /&gt;" ID: " + Str(tableId(i))&lt;br /&gt;&lt;br /&gt;If GetFieldListFromCDB(cdbFile, tableId(i), &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;fieldName, fieldId, _&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;fieldLen, fieldType, _&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;fieldCount) Then&lt;br /&gt;&lt;br /&gt;For j = 0 To fieldCount - 1&lt;br /&gt;&lt;br /&gt;List1.AddItem (" " + Str(fieldId(j)) + _&lt;br /&gt;" - " + fieldName(j) + " Type: " + _&lt;br /&gt;Str(fieldType(j)) + _&lt;br /&gt;" Len: " + Str(fieldLen(j))) + _&lt;br /&gt;" ID: " + Str(fieldId(j))&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;List1.AddItem ""&lt;br /&gt;End If&lt;br /&gt;End If&lt;br /&gt;Next&lt;br /&gt;End If&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The output looks like this:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_qGIonhYSpfY/RbYzh-YBpPI/AAAAAAAAAAk/rhnD6bwR7Fw/s1600-h/dboutput1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5023259093150835954" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_qGIonhYSpfY/RbYzh-YBpPI/AAAAAAAAAAk/rhnD6bwR7Fw/s320/dboutput1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This code sample gets a list of all user tables in the .cdb and display them in a listbox along with each field in that table. The key things here are the TableId and the FieldId. These number are what tie the metadata to the real records in the table.&lt;br /&gt;&lt;br /&gt;If you are really going to read a real table, you would do something like the following. My sample .cdb file is gps.cdb and it has a table in it called note.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;' Mount a Database Volume&lt;br /&gt;Dim filename As String&lt;br /&gt;Dim volumeId As String&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;volumeId = SregoCETPx1.MountDatabaseVolume(cdbFile, OPEN_EXISTING)&lt;br /&gt;&lt;br /&gt;If volumeId = "" Then&lt;br /&gt;List1.AddItem "Unable to mount Volume: " + cdbFile&lt;br /&gt;Exit Sub&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;' Open Database in mounted Volume&lt;br /&gt;Dim dbHandle As Long&lt;br /&gt;dbHandle = SregoCETPx1.OpenDatabaseByName(volumeId, _&lt;br /&gt;"note", 0, CEDB_AUTOINCREMENT)&lt;br /&gt;&lt;br /&gt;If dbHandle &lt;&gt; 0 Then ' make sure database was opened successfully&lt;br /&gt;&lt;br /&gt;Dim recCount As Integer&lt;br /&gt;recCount = 0&lt;br /&gt;&lt;br /&gt;While SregoCETPx1.ReadDatabaseRecord(dbHandle) ' read each record&lt;br /&gt;&lt;br /&gt;Dim pCount As Long&lt;br /&gt;Dim recId As Long&lt;br /&gt;&lt;br /&gt;recId = SregoCETPx1.GetCurrentRecId&lt;br /&gt;pCount = SregoCETPx1.GetCurrentRecPropCount&lt;br /&gt;&lt;br /&gt;List1.AddItem Str(recCount) + " - RecId: " + _&lt;br /&gt;Str(recId) + " PropCnt: " + Str(pCount)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For i = 0 To pCount - 1 ' display each property in record&lt;br /&gt;&lt;br /&gt;Dim pId As Long&lt;br /&gt;Dim pVal As Variant&lt;br /&gt;Dim pLen As Long&lt;br /&gt;Dim pFlags As Long&lt;br /&gt;Dim pType As Long&lt;br /&gt;&lt;br /&gt;pId = SregoCETPx1.GetCurrentRecPropId(i)&lt;br /&gt;pVal = SregoCETPx1.GetCurrentRecPropValue(i)&lt;br /&gt;pLen = SregoCETPx1.GetCurrentRecPropLen(i)&lt;br /&gt;pFlags = SregoCETPx1.GetCurrentRecPropFlags(i)&lt;br /&gt;pType = SregoCETPx1.GetCurrentRecPropType(i)&lt;br /&gt;&lt;br /&gt;Dim tempstr As String&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select Case pType&lt;br /&gt;&lt;br /&gt;Case CEVT_I4, CEVT_I2, CEVT_UI4, CEVT_UI2, CEVT_R8&lt;br /&gt;&lt;br /&gt;tempstr = Val(pVal)&lt;br /&gt;&lt;br /&gt;Case CEVT_LPWSTR&lt;br /&gt;&lt;br /&gt;tempstr = pVal&lt;br /&gt;&lt;br /&gt;Case CEVT_BOOL&lt;br /&gt;&lt;br /&gt;If pVal Then tempstr = "True" Else tempstr = "False"&lt;br /&gt;&lt;br /&gt;Case CEVT_BLOB&lt;br /&gt;&lt;br /&gt;tempstr = SregoCETPx1.GetCurrentRecPropBlobStr(i)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Case CEVT_FILETIME&lt;br /&gt;&lt;br /&gt;tempstr = CStr(pVal)&lt;br /&gt;&lt;br /&gt;Case Else&lt;br /&gt;&lt;br /&gt;tempstr = "***" ' unhandled type&lt;br /&gt;&lt;br /&gt;End Select&lt;br /&gt;&lt;br /&gt;List1.AddItem (" " + Str(pId) + " = " + tempstr)&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;recCount = recCount + 1&lt;br /&gt;&lt;br /&gt;Wend&lt;br /&gt;&lt;br /&gt;SregoCETPx1.CloseDatabase dbHandle&lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;SregoCETPx1.UnmountDatabaseVolume volumeId&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The output looks like this:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qGIonhYSpfY/RbYyC-YBpOI/AAAAAAAAAAc/XqMfKUp0R4E/s1600-h/dboutput.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5023257461063263458" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_qGIonhYSpfY/RbYyC-YBpOI/AAAAAAAAAAc/XqMfKUp0R4E/s320/dboutput.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;The property id of each field in the record can be looked up in the FieldId list populated by the previous calls.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-6954542724828553046?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/6954542724828553046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=6954542724828553046&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6954542724828553046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/6954542724828553046'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/01/working-with-cdb-files-created-from-mdb.html' title='Working with .cdb files created from .mdb files'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qGIonhYSpfY/RbYzh-YBpPI/AAAAAAAAAAk/rhnD6bwR7Fw/s72-c/dboutput1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-116853489356566625</id><published>2007-01-11T08:57:00.000-08:00</published><updated>2007-01-11T09:02:32.303-08:00</updated><title type='text'>ceJump</title><content type='html'>The &lt;strong&gt;ceJump&lt;/strong&gt; utility is one of the more arcane tools in the &lt;a href="http://srego.com/sregocetp.htm"&gt;Srego CE ToolPack&lt;/a&gt;. The tool is arcane because it is not obvious from its name what it does and there is no Command Prompt equivalent for the desktop. This posting’s goal is to help clarify what this tool is for and help users get more out of the Srego CE ToolPack Command-Line tools.&lt;br /&gt;&lt;br /&gt;The concept behind &lt;strong&gt;ceJump&lt;/strong&gt; is simple. It provides a quick way to edit a file located on the connected device from the desktop. The same tasks can be accomplished with other tools in the CE ToolPack. It may be enlightening to see what the process is using the other tools to better understand what ceJump actually does.&lt;br /&gt;&lt;br /&gt;Let’s say we have a file on the device called addprop.txt. This file is located in the \my documents directory and is a simple text file. I need to edit the entries in this file fairly frequently to tune the application using it. Here is the process with using ceJump:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;cepull "\my documents\addprop.txt" c:\temp\addprop.txt&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;notepad c:\temp\addprop.txt&lt;br /&gt;&lt;/span&gt;&lt;make&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;cepush c:\temp\addprop.txt "\my documents\addprop.txt"&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;With ceJump, the process is much simpler:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;span style="font-family:courier new;"&gt;ceJump "\my documents\addprop.txt"&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;If the current directory on the device (set with ceCD.exe) is \my documents, then you could simply say:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#3333ff;"&gt;ceJump addprop.txt &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The &lt;strong&gt;ceJump&lt;/strong&gt; utility will automatically pull the specified file from the connected device to the system temp directory on the desktop, then launches the associated application via the operating system shell. When the user exits the launched application, the file is checked to see if it had been modified. If the file had been modified it is automatically pushed back to the connected device. The utility “Jumps” over all of the steps for moving the file back and forth between the device and the desktop. Granted, you must be editing a file that the desktop shell has an association for, but your productivity with working with these files can be greatly increased.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/x/blogger/1076/3325/1600/485772/cejump.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://photos1.blogger.com/x/blogger/1076/3325/320/580909/cejump.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-116853489356566625?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/116853489356566625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=116853489356566625&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/116853489356566625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/116853489356566625'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2007/01/cejump.html' title='ceJump'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-116517001697564744</id><published>2006-12-03T10:17:00.000-08:00</published><updated>2006-12-03T10:20:16.983-08:00</updated><title type='text'>Srego CE Toolpack Command-Line version 3.0.0.2 is Available</title><content type='html'>The &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line&lt;/a&gt; tool version 3.0.0.2 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03.00.00.02 - 12/03/06&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;span style="font-family:courier new;"&gt;&lt;li&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;FIX - ceStart - Now correctly handles the current directory.&lt;br /&gt;&lt;/li&gt;&lt;/span&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;FIX - ceRmdir - was not being delivered.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-116517001697564744?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/116517001697564744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=116517001697564744&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/116517001697564744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/116517001697564744'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/12/srego-ce-toolpack-command-line-version.html' title='Srego CE Toolpack Command-Line version 3.0.0.2 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-116239737944164394</id><published>2006-11-01T08:05:00.000-08:00</published><updated>2006-11-01T08:09:39.453-08:00</updated><title type='text'>Srego CE ToolPack ActiveX version 1.0.0.57 is Available</title><content type='html'>&lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX&lt;/a&gt; version 1.0.0.57 is Available.&lt;br /&gt;&lt;br /&gt;Visit the Srego &lt;a href="http://www.srego.com/support.htm"&gt;Support&lt;/a&gt; page to download.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01.00.00.57 - 11/01/06&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-----------&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;FIX - PushFile and PushFileEx would incorrectly return success if a file on the device of the  same name as the pushed file was locked by another application.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-116239737944164394?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/116239737944164394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=116239737944164394&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/116239737944164394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/116239737944164394'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/11/srego-ce-toolpack-activex-version.html' title='Srego CE ToolPack ActiveX version 1.0.0.57 is Available'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115886411577389070</id><published>2006-09-21T11:32:00.000-07:00</published><updated>2006-09-21T11:41:55.800-07:00</updated><title type='text'>Setting Time and Date on the Device From the Desktop</title><content type='html'>An interesting problem that has come up several times is how to set the time and date on the device via RAPI (which also includes the &lt;a href="http://srego.com/sregocetpx.htm"&gt;Srego  CE ToolPack ActiveX&lt;/a&gt; control).  There may be a simple solution to this that I don't know, but I have not found one so far.   It is very simple to write an app for the device to set the time and date, and then call the app via RAPI with the Parameters.  The sample set time app is available &lt;a href="http://www.srego.com/ceSetTime.zip"&gt;here&lt;/a&gt;; the eVC++ 4.0 source code is available on request.&lt;br /&gt;&lt;br /&gt;The sample code below will check to see if the ceSetTime.exe is already on the device, if not it will push it to the device.  Then the time and date from the desktop is used as parameters when starting the ceSetTime app on the device.  One problem with this approach is the security prompt from Windows Mobile 5.0.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;VB 6.0 Sample Code&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;   ' Check to see if ceSetTime.exe utility is on the device&lt;br /&gt;   &lt;br /&gt;    If Not SregoCETPx1.VerifyFile("\windows\ceSetTime.exe") Then&lt;br /&gt;   &lt;br /&gt;    ' if ceSetTime.exe exe is not on the device, then copy it to the device&lt;br /&gt;    ' The ceSetTime.exe should be in the same path as the main app in this&lt;br /&gt;    ' example; however, it could be anywhere as long as you know the location&lt;br /&gt;   &lt;br /&gt;        If Not SregoCETPx1.PushFile(App.Path + "\ceSetTime.exe", _&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;                       "\windows", False) Then&lt;br /&gt;       &lt;br /&gt;            Debug.Print "unable to copy utility to device"&lt;br /&gt;       &lt;br /&gt;        End If&lt;br /&gt;   &lt;br /&gt;    End If&lt;br /&gt; &lt;br /&gt;   ' Build the command line for the ceSetTime.exe utility&lt;br /&gt;   '&lt;br /&gt;   '   ceSetTime &lt;year&gt; &lt;month&gt; &lt;day&gt; &lt;hour&gt; &lt;minute&gt; &lt;second&gt;&lt;br /&gt;   '&lt;br /&gt;   '   the argument will be a valid integer value or and asterisk (*) to&lt;br /&gt;   '   keep the devices original setting&lt;br /&gt; &lt;br /&gt;    Dim timeStr As String&lt;br /&gt; &lt;br /&gt;    timeStr = Str(Year(Date)) + " " + Str(Month(Date)) + " " + _&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;              Str(Day(Date)) + " " + _&lt;br /&gt;              Str(Hour(Time)) + " " + Str(0) + " " + Str(Second(Time))&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;  ' Run the ceSetTime.exe on the device with the &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;  ' desktop's time as a parameter&lt;br /&gt; &lt;br /&gt;    SregoCETPx1.StartApplicationEx "\windows\ceSetTime.exe", timeStr&lt;br /&gt;&lt;br /&gt;  ' Delete ceSetTime.exe from device&lt;br /&gt; &lt;br /&gt;    SregoCETPx1.DeleteFile App.Path + "\ceSetTime.exe"&lt;br /&gt;   &lt;br /&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115886411577389070?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115886411577389070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115886411577389070&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115886411577389070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115886411577389070'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/09/setting-time-and-date-on-device-from.html' title='Setting Time and Date on the Device From the Desktop'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115561231488568235</id><published>2006-08-14T20:23:00.000-07:00</published><updated>2006-08-14T20:30:31.826-07:00</updated><title type='text'>Scripting and Automation: Creating .bat files for the Windows Mobile Device</title><content type='html'>Just like a batch file (.bat) can be used on the desktop to perform a series of tasks in a repeatable fashion, the &lt;a href="http://srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line utilities&lt;/a&gt; provide an easy way to create scripts that interact with a connected Windows CE or Windows Mobile device.&lt;br /&gt;&lt;br /&gt;A Batch File simply contains a list of commands that need to be run repeatedly. The commands in a batch file could be to copy files, delete files, move files, modify the registry, query the registry, launch applications, etc. A Batch File can contain complex logic such as looping, conditional statements, and use command-line parameters. Batch Files can also be assigned to shortcuts and placed on the Windows desktop so that they can easily be executed.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line utilities&lt;/a&gt; mimic many of the desktop commands provided by the Command Prompt, so using the Srego CE ToolPack in your scripts is very easy; just use the ToolPack version of the command you would normally use on the desktop.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115561231488568235?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115561231488568235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115561231488568235&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115561231488568235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115561231488568235'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/08/scripting-and-automation-creating-bat.html' title='Scripting and Automation: Creating .bat files for the Windows Mobile Device'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115474836361676653</id><published>2006-08-04T20:06:00.000-07:00</published><updated>2006-08-04T20:39:54.336-07:00</updated><title type='text'>The ceDir Utility</title><content type='html'>The &lt;strong&gt;&lt;a href="http://srego.blogspot.com/2006/07/cepush-utility.html"&gt;cePush&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="http://srego.blogspot.com/2006/07/cepull-utility.html"&gt;cePull&lt;/a&gt;&lt;/strong&gt; utilities in the &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack&lt;/a&gt; Command-line tools described in the previous posts do not have a direct correlation to the standard set of Command Prompt utilities. One could argue that cePush and cePull are the equivalent to Copy, but there is also a ceCopy which is a direct correlative to the Command Prompt Copy. So, the ceDir utility described in this post does directly correlate to the Command Prompt Dir command. The difference is that it shows the contents of the device's file system, not the desktop (where it is run).&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;ceDir&lt;/strong&gt; utility is run on a desktop computer to display a file list from a connected device. The ceDir utility is similar to the Command Prompt’s Dir command except the file list is for the device instead of the desktop computer. Many of the options found in the Dir command are found in ceDir.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Usage:&lt;br /&gt;ceDir [path][filename] [/?] [/MY] [/B] [/-C] [/O] [/T] [/A]&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[path][filename]        Specifies directory and/or files to list.&lt;br /&gt;[/?] Display usage.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[/MY] Display My Documents directory.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[/B] Minimum Infomation.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[/-C] Do not display the thousand separator.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[/O][-][sortorder] Sort files:         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     N = by Name (alphabetical)         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     E = by Extension (alphabetical)         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     G = group directories first         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     S = by Size (smallest first)         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     D = by date/time (oldest first)         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     - = Prefix will reverse order&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[/T][timefield] Specifies Time Field to use:         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     C = Creation (default)         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     A = Last Access         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     W = Last Written&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[/A][-][attribute]         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     D = Directorires         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     H = Hidden files         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     S = System files         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     R = Read-Only files         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     A = Archive files&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[/S]  Display all subdirectories&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Examples&lt;/strong&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The default (no parameters) will display the contents of the current directory on the connected device. By default, the current directory is \My Documents, but can be changed with the ceCD command. One or more directories can be specified as parameters. If a directory (like \my documents) includes spaces, you must enclose the path in quotes (“”). The following three instances all show the contents of the \My Documents directory on the device:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\TEMP&gt;ceDir&lt;/span&gt; (if the current directory is \My Documets)&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\TEMP&gt;ceDir "\my documents"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;or &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\TEMP&gt;ceDir /MY &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ceDir - version 03.00.00.01&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(c) Srego, Inc - 2006 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Current Device Directory: \My Documents &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Directory of \My Documents &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/04/2002 08:43:00 AM  1,241,958 demo.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;11/25/2004 07:34:46 AM    121,601 test.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;12/16/2004 02:16:14 PM    101,160 TTFtest.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;12/14/2004 03:40:20 PM    252,668 Madison.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;12/06/2004 07:00:21 PM  [DIR]     My Pictures&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;11/11/2004 04:47:54 PM  1,830,399 MadisonCo.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/28/2003 09:18:20 AM     27,900 demoGPS.txt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;08/15/2003 11:58:33 AM     41,812 gps.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/04/2004 08:08:48 AM  1,041,605 4s1e26.ecw&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/04/2004 08:05:56 AM  1,236,230 4s1e25.ecw&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/22/2005 08:19:54 AM  2,354,049 electGas.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/26/2004 06:00:02 PM  [DIR]     My Music&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/26/2004 06:00:02 PM  [DIR]     Business&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/26/2004 06:00:02 PM  [DIR]     Personal&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/26/2004 06:00:02 PM  [DIR]     Templates&lt;br /&gt;&lt;br /&gt;     10 File(s) 8,249,382 bytes&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;     5 Dir(s)&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The /MY option can be used to specify the \my documents directory regardless of the current directory. This option is no different than specifying the full path except that it is only 3 keystrokes instead of 15.Just like Command Prompt Dir command, ceDir can use wildcards in path to filter the output:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:&gt;ceDir *.gtx &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ceDir - version 03.00.00.01&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(c) Srego, Inc - 2006 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Current Device Directory: \My Documents &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Directory of \My Documents &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/04/2002 08:43:00 AM 1,241,958 demo.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;11/25/2004 07:34:46 AM   121,601 test.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;12/16/2004 02:16:14 PM   101,160 TTFtest.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;12/14/2004 03:40:20 PM   252,668 Madison.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;11/11/2004 04:47:54 PM 1,830,399 MadisonCo.gtx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;02/22/2005 08:19:54 AM 2,354,049 electGas.gtx&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;6 File(s) 5,901,835 bytes&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;0 Dir(s) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;The /O option can be used to sort the results by a variety of properties. The /ON will sort by name:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&lt;br /&gt;C:&gt;ceDir *.gtx /on&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ceDir - version 03.00.00.01&lt;br /&gt;(c) Srego, Inc - 2006&lt;br /&gt;&lt;br /&gt;Current Device Directory: \My Documents&lt;br /&gt;&lt;br /&gt;Directory of \My Documents&lt;br /&gt;&lt;br /&gt;02/04/2002 08:43:00 AM 1,241,958 demo.gtx&lt;br /&gt;02/22/2005 08:19:54 AM 2,354,049 electGas.gtx&lt;br /&gt;12/14/2004 03:40:20 PM 252,668 Madison.gtx&lt;br /&gt;11/11/2004 04:47:54 PM 1,830,399 MadisonCo.gtx&lt;br /&gt;11/25/2004 07:34:46 AM 121,601 test.gtx&lt;br /&gt;12/16/2004 02:16:14 PM 101,160 TTFtest.gtx&lt;br /&gt;6 File(s) 5,901,835 bytes&lt;br /&gt;0 Dir(s)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The /O-N will sort by name in reverse order:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;C:&gt;ceDir *.gtx /o-n&lt;br /&gt;&lt;br /&gt;ceDir - version 03.00.00.01&lt;br /&gt;(c) Srego, Inc - 2006&lt;br /&gt;&lt;br /&gt;Current Device Directory: \My Documents&lt;br /&gt;&lt;br /&gt;Directory of \My Documents&lt;br /&gt;&lt;br /&gt;12/16/2004 02:16:14 PM            101,160 TTFtest.gtx&lt;br /&gt;11/25/2004 07:34:46 AM            121,601 test.gtx&lt;br /&gt;11/11/2004 04:47:54 PM          1,830,399 MadisonCo.gtx&lt;br /&gt;12/14/2004 03:40:20 PM            252,668 Madison.gtx&lt;br /&gt;02/22/2005 08:19:54 AM          2,354,049 electGas.gtx&lt;br /&gt;02/04/2002 08:43:00 AM          1,241,958 demo.gtx&lt;br /&gt;                        6 File(s)   5,901,835 bytes                 &lt;br /&gt;                        0 Dir(s)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The /OS will sort by file size:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;C:&gt;ceDir *.gtx /o-s&lt;br /&gt;&lt;br /&gt;ceDir - version 03.00.00.01&lt;br /&gt;(c) Srego, Inc - 2006&lt;br /&gt;&lt;br /&gt;Current Device Directory: \My Documents&lt;br /&gt;&lt;br /&gt;Directory of \My Documents&lt;br /&gt;&lt;br /&gt;12/16/2004 02:16:14 PM            101,160 TTFtest.gtx&lt;br /&gt;11/25/2004 07:34:46 AM            121,601 test.gtx&lt;br /&gt;12/14/2004 03:40:20 PM            252,668 Madison.gtx&lt;br /&gt;02/04/2002 08:43:00 AM          1,241,958 demo.gtx&lt;br /&gt;11/11/2004 04:47:54 PM          1,830,399 MadisonCo.gtx&lt;br /&gt;02/22/2005 08:19:54 AM          2,354,049 electGas.gtx&lt;br /&gt;                        6 File(s)   5,901,835 bytes                 &lt;br /&gt;                        0 Dir(s)&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115474836361676653?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115474836361676653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115474836361676653&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115474836361676653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115474836361676653'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/08/cedir-utility.html' title='The ceDir Utility'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115455838499498067</id><published>2006-08-02T15:30:00.000-07:00</published><updated>2006-08-04T20:26:37.613-07:00</updated><title type='text'>Determining the Size of a Directory on the Device</title><content type='html'>A common question with the &lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX&lt;/a&gt; control is how to find the size of a directory on the device. There is not a single method to determine this value, but it is not very difficult to determine using the following code:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Dim filelist As Variant&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Dim typelist As Variant&lt;br /&gt;&lt;br /&gt;Dim count As Variant&lt;br /&gt;&lt;br /&gt;If SregoCETPx1.GetFileListEx("\storage card\my documents\*.*", _&lt;br /&gt;&lt;br /&gt;filelist, typelist, count, "/S") Then&lt;br /&gt;&lt;br /&gt;Dim total As Double&lt;br /&gt;&lt;br /&gt;total = 0&lt;br /&gt;&lt;br /&gt;For i = 0 To count - 1&lt;br /&gt;&lt;br /&gt;If typelist(i) = 1 Then&lt;br /&gt;&lt;br /&gt;total = total + _&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;   &lt;/span&gt;SregoCETPx1.GetFileSize(filelist(i), 0)&lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;Debug.Print "Total: " + Str(total)&lt;br /&gt;&lt;br /&gt;End If&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115455838499498067?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115455838499498067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115455838499498067&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115455838499498067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115455838499498067'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/08/determining-size-of-directory-on.html' title='Determining the Size of a Directory on the Device'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115447734542084047</id><published>2006-08-01T16:59:00.000-07:00</published><updated>2006-08-01T17:13:20.126-07:00</updated><title type='text'>The Undocumented CopyDB Method</title><content type='html'>&lt;p&gt;Current verisons of the &lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX&lt;/a&gt; control have an undocumented method. This method is not in the documentation because it did not meet the expectations of the users who wanted it added; however, many may find it useful none the less. The &lt;strong&gt;CopyDB&lt;/strong&gt; method is an equivalent to the &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack Command-Line &lt;/a&gt;tool &lt;strong&gt;ceCopyDB&lt;/strong&gt;. The problem most users found with this method is that once you start it coping a .cdb file to the desktop from the device or an .mdb from the desktop to the device, it doesn't return control to your application until it is finished. So, there is no progress reporting, cancelling, or doing something else while it copies.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;long CopyDB(long mode, BSTR sourceFile, BSTR destFile, BSTR options);&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;mode&lt;/strong&gt; - set to 0 for copy from desktop to device; 1 for device to desktop.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;sourceFile&lt;/strong&gt; and &lt;strong&gt;destFile&lt;/strong&gt; - the appropriate filename on the desktop or device.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Options&lt;/strong&gt; - this is a string of option identical to the ceDbCopy.exe. The exception is that you do not use the /D2P, /P2D, /D, or /P flags as they are already specified with the other parameters. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;[/SY] Keep tables in sync&lt;br /&gt;[/T table name] Specific table to copy, this option is repeatable&lt;br /&gt;[/O] Allow overwrite&lt;br /&gt;&lt;br /&gt;To use the options, you just string them together with a space between the different options:&lt;br /&gt;“/T tab1 /T tab2”&lt;br /&gt;&lt;br /&gt;You will have to experiment with this to see what works and what doesn’t.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Private Sub Command1_Click()&lt;br /&gt;    ' Copy Desktop to Device&lt;br /&gt;     MousePointer = vbHourglass&lt;br /&gt;     If SregoCETPx1.CopyDB(0, "c:\temp\test33.mdb", _&lt;br /&gt;          "\my documents\test.cdb", "") Then&lt;br /&gt;        List1.AddItem "Successfully copied."&lt;br /&gt;     Else&lt;br /&gt;          temp = SregoCETPx1.GetErrorMessage&lt;br /&gt;          While temp &lt;&gt; ""&lt;br /&gt;             List1.AddItem temp&lt;br /&gt;             temp = SregoCETPx1.GetErrorMessage&lt;br /&gt;          Wend&lt;br /&gt;     End If&lt;br /&gt;     MousePointer = vbDefault&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Command2_Click()&lt;br /&gt;     ' Copy Device to Desktop&lt;br /&gt;     MousePointer = vbHourglass&lt;br /&gt;     If SregoCETPx1.CopyDB(1, "\my documents\test.cdb", _&lt;br /&gt;                            "c:\temp\test1.mdb", "") Then&lt;br /&gt;         List1.AddItem "Successfully copied."&lt;br /&gt;     Else&lt;br /&gt;          temp = SregoCETPx1.GetErrorMessage&lt;br /&gt;          While temp &lt;&gt; ""&lt;br /&gt;             List1.AddItem temp&lt;br /&gt;             temp = SregoCETPx1.GetErrorMessage&lt;br /&gt;          Wend&lt;br /&gt;     End If&lt;br /&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115447734542084047?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115447734542084047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115447734542084047&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115447734542084047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115447734542084047'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/08/undocumented-copydb-method.html' title='The Undocumented CopyDB Method'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115429186658609127</id><published>2006-07-30T13:33:00.000-07:00</published><updated>2006-07-30T13:37:46.596-07:00</updated><title type='text'>The cePull Utility</title><content type='html'>The counterpart to the &lt;strong&gt;cePush&lt;/strong&gt; utility (described in the last post) is &lt;strong&gt;cePull&lt;/strong&gt;.  The &lt;strong&gt;cePull&lt;/strong&gt; utility performs the opposite task by copying files from a connected device to the desktop.   A variety of options are supported.&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc68532818"&gt;&lt;strong&gt;cePull&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;The &lt;strong&gt;cePull&lt;/strong&gt; utility is run on a desktop computer to copy files from the connected device to the desktop machine.  The &lt;strong&gt;cePull&lt;/strong&gt; utility is similar to the Command Prompt’s Copy command except the source files are always on the device and the destination is always on the desktop computer. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#000099;"&gt;Usage:&lt;br /&gt;cePull [device path] [destination path] [Options]&lt;br /&gt;[device path]  source path on device&lt;br /&gt;[destination path]  destination path&lt;br /&gt;Options:&lt;br /&gt;  [/?] Display usage.&lt;br /&gt;  [/Y] Suppress overwrite confirmation.&lt;br /&gt;  [/S] Suppress hash mark status.&lt;br /&gt;  [/D] Copies only files whose source time is newer than the destination time.&lt;br /&gt;  [/R] Includes all Subdirectories.&lt;br /&gt;  [/O &lt;path&gt;] Omit path&lt;br /&gt;  [/OF &lt;file&gt;] Omit path file&lt;br /&gt;  [/X &lt;file&gt;] Exclude file&lt;br /&gt;  [/XF &lt;file&gt;] Exclude file file &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If the source or destination paths contain spaces, make sure to enclose the paths in quotes.  For example, if the source path is \My Documents on the device, it should be specified as "\My Documents" on the command line.&lt;br /&gt;&lt;br /&gt;The source path can be a path and a specific filename or a path with a wildcarded filename (such as *.txt, *.*, etc.).  If a wildcarded filename is specified in the source path, then the destination path must be an existing directory on the desktop (and not a filename).  If the source path is a specific file (with no wildcards), the destination can be a directory, in which case the file will be copied with the same name to the desktop in the destination directory on the desktop.  If the source path is a specific file and the destination path specifiies a file of a different name, the copied file will be renamed to the destination filename when copied to the desktop.&lt;br /&gt;A hash mark (#) is displayed for every 10K bytes transferred by the cePull utility.  Use the /S flag to suppress the hash mark display.&lt;br /&gt;&lt;br /&gt;By default, the cePull utility will confirm that a file is to be overwritten if it already exists on the desktop.  The overwrite confirmation will ask for a Yes, No, or All.  Enter the first letter of the answer and press Enter.  If Yes is selected, the file will be overwritten; if No is selected, the file will not be overwritten; and if All is selected, the file is overwritten and Yes will be answered for subsequent confirmations.  If the /Y flag is specified on the command line, the confirmation will not be presented and any existing files will be overwritten.&lt;br /&gt;&lt;br /&gt;The /D flag can be specified to perform a date compare when a file being copied from the device already exists on the desktop.  If the date on the desktop file is newer than the device file, it will be skipped.  A message is displayed saying that the file was skipped (the /S flag will suppress the display of the skip message).&lt;br /&gt;&lt;br /&gt;The /R flag can be specified to recursively include all subdirectories found in the device source path.  When using the /R flag, the destination path must be an existing directory (and not a file).  If any files matching the search criteria are found in the device path, the files will be copied in the same directory structure on the desktop under the destination path.  If the subdirectories do not exist on the desktop, they will be created.&lt;br /&gt;&lt;br /&gt;The /O flag can be used to specify paths not to be included in the copy.  The /O flag can be used as many times as necessary to specify multiple paths; however, the /OF flag can be used to specify a file on the desktop that contains a list of paths to omit.   Paths can be specified as relative paths.  The current directory on device will be used if the paths are relative.  The omit path file should contain one path per line.  If a line begins with a pound sign (#), the line will be ignored.  The /O and /OF flags are generally useful only if the /R flag has also been specified.&lt;br /&gt;                  &lt;span style="font-family:courier new;"&gt;      &lt;br /&gt;                           &lt;span style="color:#000099;"&gt; /O  &lt;path&gt;&lt;br /&gt;                           /O "\my documents\test1"&lt;br /&gt;                           /OF &lt;omit&gt;&lt;br /&gt;                           /OF c:\temp\omitPath.txt&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;The /X flag can be used to specify a specific file to be excluded from the copy.  The /X flag can be used as many times as needed to specify multiple files to exclude.  A file name can be a relative path and can contain wildcards.  If a relative path is used, the current directory on the device will be used.  If a wildcarded filename is specified, all files matching the specified criteria will be excluded from the copy.  If many files need to be excluded, the /XF flag can be used to specify a file on the desktop that includes a list of files to exclude.  The exclude file should contain one file per line.  If a line begins with a pound sign (#), the line will be ignored.&lt;br /&gt;&lt;br /&gt;                          &lt;span style="font-family:courier new;color:#000099;"&gt; /X  &lt;file&gt;&lt;br /&gt;                           /X *.txt&lt;br /&gt;                           /X "\my documents\file.txt"&lt;br /&gt;                           /XF &lt;exclude&gt;&lt;br /&gt;                           /XF c:\temp\exclude.txt &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;With version 2.0.0.2+ of the &lt;strong&gt;cePull&lt;/strong&gt; utility, relative paths can be used for both the device source path and the desktop destination path.  For the device source path, relative paths are relative to the current directory on the device (which is set with the &lt;strong&gt;ceCD&lt;/strong&gt; utility).  For desktop paths, relative paths are relative to the path you are currently in when you run the cePull utility.   The destination path can also be omitted completely and the current directory will be used.&lt;br /&gt;&lt;br /&gt;See Also:&lt;br /&gt;              cePush, ceCopy, ceMove, ceCD&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Examples: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;C:\&gt;cePull \temp\file*.*  c:\temp &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Copies all files in the \temp directory on the device beginning with “file” to the C:\temp directory on the desktop.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;C:\temp&gt;cePull *.txt &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Assuming the current directory on the device is “\My Documents” (which is set with the ceCD utility), all files with the .txt extension will be copied from the device’s \My Documents directory to the C:\temp directory (since no destination path is specified, the destination will be the current directory on the desktop).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;C:\temp&gt;cePull "\My Documents\*.txt"  c:\temp\data  /R &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All files in the \My Documents directory with the .txt extension will be copied to the C:\temp\data directory.  Also, all subdirectories in the \My Documents directory on the device will also be searched for *.txt files, and any subdirectories in the subdirectories, and so forth.  The source path contains a space, so it must be enclosed in quotes ("…").&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;C:\temp\cePull "\My Documents\device.txt"  c:\temp\test\desktop.txt &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The device.txt file in the \My Documents directory on the device will be copied and renamed to desktop.txt in the c:\temp\test directory on the desktop.  The source path contains a space, so it must be enclosed in quotes ("…").&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;C:\temp\cePull "\My Documents\*.*"  c:\temp   /R  /O "\My documents\test" &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All files in the \My Documents directory will be copied from the device to the c:\temp directory on the desktop including all subdirectories with the exception of the \my documents\test directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;C:\temp\cePull "\My Documents\*.*"  c:\temp  /X *.txt  /X "\my documents\test.ini" &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All files in the \My Documents directory will be copied from the device to the c:\temp directory on the desktop except files that end in .txt and a file called test.ini.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;C:\temp&gt;cePull *.txt &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;cePull - version 02.00.00.02&lt;br /&gt;(c) Srego, Inc - 2004&lt;br /&gt;Current Device Directory : \My Documents&lt;br /&gt;Current Desktop Directory: L:\dog\cePull1\Debug&lt;br /&gt;Source Path     : \My Documents \*.txt&lt;br /&gt;Destination Path: C:\temp&lt;br /&gt;Copying: test1.txt  (15,120 bytes)&lt;br /&gt;Destination: C:\temp\test1.txt&lt;br /&gt;#####&lt;br /&gt;15,120 bytes copied.&lt;br /&gt;Copying: test2.txt  (292 bytes)&lt;br /&gt;Destination: C:\temp\test2.txt&lt;br /&gt;292 bytes copied.&lt;br /&gt;2 files copied.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115429186658609127?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115429186658609127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115429186658609127&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429186658609127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429186658609127'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/07/cepull-utility.html' title='The cePull Utility'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115429154283903628</id><published>2006-07-30T13:26:00.000-07:00</published><updated>2006-07-30T13:32:22.850-07:00</updated><title type='text'>The cePush Utility</title><content type='html'>The &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack&lt;/a&gt; is comprised of utilities to make development or any interaction with a connected device more efficient.  Most of these tools were spawned from the development needs of the time and then rolled into generic tools and then packaged together.  Since the beginning there have been several requests for new utilities and new functionality in the existing ones, but the tools that started it all were cePush and its counterpart cePull.  This entry will provide some of the documentation for cePush and gives some examples of how it is used.&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc68532819"&gt;&lt;strong&gt;cePush&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;cePush&lt;/strong&gt; utility is run on a desktop computer to copy files from the desktop computer to the connected Windows CE or Windows Mobile device.  The &lt;strong&gt;cePush&lt;/strong&gt; utility is similar to the Command Prompt’s Copy command except the source files are always on the desktop computer and the destination is always on the Windows CE device. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#000099;"&gt;Usage:&lt;br /&gt;cePush - version 02.00.00.02&lt;br /&gt;(c) Srego, Inc - 2004&lt;br /&gt;Usage: cePush [source path] [device path] [options]&lt;br /&gt;[source path]  source path on the desktop&lt;br /&gt;[device path]  destination path on device&lt;br /&gt;Options:&lt;br /&gt;  [/?] Display usage.&lt;br /&gt;  [/Y] Suppress overwrite confirmation.&lt;br /&gt;  [/S] Suppress hash mark status.&lt;br /&gt;  [/D] Copies only files whose source time is newer than the destination time.&lt;br /&gt;  [/R] Includes all Subdirectories.&lt;br /&gt;  [/O &lt;path&gt;] Omit path&lt;br /&gt;[/OF &lt;file&gt;] Omit path file&lt;br /&gt;  [/X &lt;file&gt;] Exclude file&lt;br /&gt;  [/XF &lt;file&gt;] Exclude file file&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If the source or destination paths contain spaces, make sure to enclose the paths in quotes.  For example, if the source path is \My Documents on the device, it should be specified as "\My Documents" on the command line.&lt;br /&gt;&lt;br /&gt;The source path can be a path and a specific filename or a path with a wildcarded filename (such as *.txt, *.*, etc.).  If a wildcarded filename is specified in the source path, then the destination path must be an existing directory on the device (and not a filename).  If the source path is a specific file (with no wildcards), the destination can be a directory, in which case the file will be copied with the same name to the device in the destination directory on the device.  If the source path is a specific file and the destination path specifics a file of a different name, the copied file will be renamed to the destination filename when copied to the device.&lt;br /&gt;A hash mark (#) is displayed for every 10K bytes transferred by the cePush utility.  Use the /S flag to suppress the hash mark display.&lt;br /&gt;&lt;br /&gt;By default, the &lt;strong&gt;cePush&lt;/strong&gt; utility will confirm that a file is to be overwritten if it already exists on the desktop.  The overwrite confirmation will ask for a Yes, No, or All.  Enter the first letter of the answer and press Enter.  If Yes is selected, the file will be overwritten; if No is selected, the file will not be overwritten; and if All is selected, the file is overwritten and Yes will be answered for subsequent confirmations.  If the /Y flag is specified on the command line, the confirmation will not be presented and any existing files will be overwritten.&lt;br /&gt;&lt;br /&gt;The /D flag can be specified to perform a date compare when a file being copied from the desktop already exists on the device.  If the date on the device file is newer than the desktop file, it will be skipped.  A message is displayed saying that the file was skipped (the /S flag will suppress the display of the skip message).&lt;br /&gt;&lt;br /&gt;The /R flag can be specified to recursively include all subdirectories found in the desktop source path.  When using the /R flag, the destination path must be an existing directory (and not a file).  If any files matching the search criteria are found in the desktop path, the files will be copied in the same directory structure on the device under the destination path.  If the subdirectories do not exist on the device, they will be created.&lt;br /&gt;&lt;br /&gt;The /O flag can be used to specify paths not to be included in the copy.  The /O flag can be used as many times as necessary to specify multiple paths; however, the /OF flag can be used to specify a file on the desktop that contains a list of paths to omit.   Paths can be specified as relative paths.  The current directory on desktop will be used if the paths are relative.  The omit path file should contain one path per line.  If a line begins with a pound sign (#), the line will be ignored.  The /O and /OF flags are generally useful only if the /R flag has also been specified.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;                   /O  &lt;path&gt;&lt;br /&gt;                   /O "c:\data\test1"&lt;br /&gt;                   /OF &lt;omit&gt;&lt;br /&gt;                   /OF c:\temp\omitPath.txt &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The /X flag can be used to specify a specific file to be excluded from the copy.  The /X flag can be used as many times as needed to specify multiple files to exclude.  A file name can be a relative path and can contain wildcards.  If a relative path is used, the current directory on the desktop will be used.  If a wildcarded filename is specified, all files matching the specified criteria will be excluded from the copy.  If many files need to be excluded, the /XF flag can be used to specify a file on the desktop that includes a list of files to exclude.  The exclude file should contain one file per line.  If a line begins with a pound sign (#), the line will be ignored.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;                    /X  &lt;file&gt;&lt;br /&gt;                    /X *.txt&lt;br /&gt;                    /X "\my documents\file.txt"&lt;br /&gt;                    /XF &lt;exclude&gt;&lt;br /&gt;                    /XF c:\temp\exclude.txt &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;With version 2.0.0.2+ of the &lt;strong&gt;cePush&lt;/strong&gt; utility, relative paths can be used for both the desktop source path and the destination device path. For desktop source path, relative paths are relative to the path you are currently in when you run the cePush utility.    For the device path, relative paths are relative to the current directory on the device (which is set with the &lt;strong&gt;ceCD&lt;/strong&gt; utility).  The destination path can also be omitted completely and the current directory will be used.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Examples: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;C:\&gt;cePush c:\temp\file*.*  \temp &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Copies all files in the c:\temp directory on the desktop beginning with “file” to the \temp directory on the device.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;C:\temp&gt;cePush *.txt &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Assuming the current directory on the device is “\My Documents” (which is set with the ceCD utility), all files with the .txt extension in the c:\temp directory (the current directory on the desktop) will be copied to the \My Documents directory on the device (since no destination path is specified, the destination will be the current directory on the device).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;C:\temp&gt;cePush  c:\temp\data\*.txt "\My Documents" /R&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All files in the c:\temp\data directory with the .txt extension will be copied to the \My Documents directory on the device..  Also, all subdirectories in the c:\temp\data directory on the desktop will also be searched for *.txt files, and any subdirectories in the subdirectories, and so forth.  The device path contains a space, so it must be enclosed in quotes ("…").&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000099;"&gt;C:\temp\cePush  c:\temp\*.*  "\My Documents" /R  /O "\My documents\test" &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All files in the c:\temp\*.* directory will be copied from the desktop to the \My Documents directory on the device including all subdirectories with the exception of the c:\temp\test directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;C:\Temp&gt;cePush file*.* "\My Documents" &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;cePush - version 02.00.00.02&lt;br /&gt;(c) Srego, Inc - 2004&lt;br /&gt;Current Desktop Directory: C:\TEMP&lt;br /&gt;Current Device Directory : \my documents&lt;br /&gt;Source Path     : C:\TEMP\file*.*&lt;br /&gt;Destination Path: \My Documents&lt;br /&gt;Copying: file.txt  (85 bytes)    (1 of 5)&lt;br /&gt;Destination: \My Documents\file.txt&lt;br /&gt;85 bytes copied.&lt;br /&gt;Copying: file1.txt  (66,821 bytes)    (2 of 5)&lt;br /&gt;Destination: \My Documents\file1.txt&lt;br /&gt;#######&lt;br /&gt;66,821 bytes copied.&lt;br /&gt;Copying: file2.txt  (12,384 bytes)    (3 of 5)&lt;br /&gt;Destination: \My Documents\file2.txt&lt;br /&gt;##&lt;br /&gt;12,384 bytes copied.&lt;br /&gt;Copying: file3.txt  (539,908 bytes)    (4 of 5)&lt;br /&gt;Destination: \My Documents\file3.txt&lt;br /&gt;#####################################################&lt;br /&gt;539,908 bytes copied.&lt;br /&gt;Copying: filelist.txt  (99 bytes)    (5 of 5)&lt;br /&gt;Destination: \My Documents\filelist.txt&lt;br /&gt;99 bytes copied. 5 files copied.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115429154283903628?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115429154283903628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115429154283903628&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429154283903628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429154283903628'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/07/cepush-utility.html' title='The cePush Utility'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115429117532297481</id><published>2006-07-30T13:23:00.000-07:00</published><updated>2006-07-30T13:26:15.323-07:00</updated><title type='text'>Similar CE Tools and Utilities</title><content type='html'>I am sure there are several utilities on the internet similar to the Srego products.  I want to go through as many as I can find and I will update this list as I find more. &lt;br /&gt;&lt;br /&gt;For the &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack&lt;/a&gt; command-line utilties, a set of tools from &lt;a title="http://www.rainer-keuchel.de/software.html" href="http://www.rainer-keuchel.de/software.html" target="_blank"&gt;General Paranoyaxc Software&lt;/a&gt; as been pointed out to me.  There are a lot of good utilities and tools here worth looking at, and they are all free.  I point this site out because I read a &lt;a title="http://www.pocketpcthoughts.com/forums/printview.php?t=" href="http://www.pocketpcthoughts.com/forums/printview.php?t=8433" target="_blank"&gt;posting&lt;/a&gt; about the Srego CE ToolPack once that sounded like the utilities I provide are freely available elsewhere.  The answer is yes and no.  Yes, there are similar tools available else where, but there is a significant amount of functionality added to the Srego tools not found in the free ones.&lt;br /&gt;&lt;br /&gt;There are also developer tools similar to the &lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX control&lt;/a&gt;.   One example is from &lt;a href="http://www.vbce.com/"&gt;VBCE.com&lt;/a&gt;:   CeConnect, CeConnectFile, CEConnectSystem, CeConnectEvents.   These are all good tools with evaluation versions to try.  There are other controls from VBCE.com available for the CE platform: vbceDateTimePicker, vbceProgressBar, etc.   Check these out too. Another good resource for developers wanting to use the Microsoft .NET Compact Framework is &lt;a href="http://www.opennetcf.org/"&gt;www.OpenNETCF.org&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115429117532297481?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115429117532297481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115429117532297481&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429117532297481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429117532297481'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/07/similar-ce-tools-and-utilities.html' title='Similar CE Tools and Utilities'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115429101661094651</id><published>2006-07-30T13:18:00.000-07:00</published><updated>2006-07-30T13:23:36.613-07:00</updated><title type='text'>Srego CE ToolPack ActiveX Control</title><content type='html'>The &lt;a href="http://www.srego.com/sregocetpx.htm"&gt;Srego CE ToolPack ActiveX Control&lt;/a&gt; is a development tool that encapsulates many of the features found in the &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack&lt;/a&gt; command-line utilities.  From the desktop, the ActiveX control can detect device connection and disconnection, manipulate files on the device, read and modify the device's registry, and interact with databases on the device.  The ActiveX control communicates with the connected device via RAPI (Remote Application Programming Interface) and requires no software to be loaded on the device.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;Srego CE ToolPack ActiveX Control&lt;/strong&gt; is a development tool that will work with Visual Basic or Visual C++ or any other development tools that support ActiveX controls.&lt;br /&gt;Royalty-Free Distribution of the runtime is permitted as long as each developer using the control purchases a license.&lt;br /&gt;&lt;br /&gt;The&lt;strong&gt; Srego CE ToolPack ActiveX Control&lt;/strong&gt; provides methods to accomplish the following tasks:&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Determining Device Connection Status&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Events for device connection and disconnection&lt;/li&gt;&lt;li&gt;IP address Assignment &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;File Manipulation&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Copy, Move, Push, Pull, Compare Directories&lt;/li&gt;&lt;li&gt;MakeDir, RemoveDir, FileList, Touch&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Registry Manipulation&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Read, Write, Delete, List&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Database Manipulation&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Create/Delete/List Databases, Add/Delete/Search Records&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Device Information&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Battery&lt;/li&gt;&lt;li&gt;Info, Processor Type, Memory Info, Screen Size &lt;/li&gt;&lt;/ul&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115429101661094651?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115429101661094651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115429101661094651&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429101661094651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429101661094651'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/07/srego-ce-toolpack-activex-control.html' title='Srego CE ToolPack ActiveX Control'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115429069927770155</id><published>2006-07-30T13:11:00.000-07:00</published><updated>2006-07-30T13:18:19.283-07:00</updated><title type='text'>Srego CE ToolPack Command-Line Utilities</title><content type='html'>&lt;a href="http://www.srego.com/sregocetp.htm"&gt;The Srego CE ToolPack Command-Line&lt;/a&gt; tools provides a set of utilities for the Windows desktop to manipulate a connected Windows CE or Windows Mobile device. The utilities in the ToolPack utilize RAPI and ActiveSync to communicate with the device so virtually all Window CE and Windows Mobile platforms are supported: Window CE 2.11, Handheld PC, Handheld PC Pro, Pocket PC, Pocket PC 2002, Handheld PC 2000, Window Mobile 2003, Windows Mobile 2003 SE, Window CE.NET, and Windows Mobile 5.0.&lt;br /&gt;&lt;br /&gt;All of the utilities are command-line tools that are run on the desktop (not the device). Most of the utilities are similar in functionality to an existing Command Prompt utility (such as Copy, Del, Move, Dir, MkDir, RmDir, and Start) only the task is performed on the device, not the desktop. For example, the ceDir utility provided in the Srego CE ToolPack is similar to the Command Prompt Dir command, only the directory information it displays on the desktop will come from the Windows CE device. Additionally, cePush and cePull can be used to move files back and forth between the desktop and the device and to synchronize files between the device and the desktop.&lt;br /&gt;&lt;br /&gt;Most of the utilities in the &lt;strong&gt;Srego CE ToolPack&lt;/strong&gt; are not new and there are a variety of freeware/shareware utilities available that can perform some of the tasks the ToolPack utilities can accomplish. However, the utilities in the ToolPack are well equipped to handle a variety of task and support features like wildcard in filenames, synchronization, auto retry, and also support a current directory concept on the device to mimic the current directory concept on the desktop.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;Srego CE Too&lt;/strong&gt;lPack utilities can be used to increase productivity when dealing with Windows CE devices. These utility can be used directly from a Command-Prompt window or in script files.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;Srego CE Tool&lt;/strong&gt;Pack utilities use RAPI (Remote Application Programming Interface) to communicate with the Windows CE device and no software needs to be loaded on the device.&lt;br /&gt;The Srego CE ToolPack utilities run on a Windows Desktop platform: 95/98/ME/NT/2000/XP. The utilities will works with the following Windows CE platforms: Windows CE 2.11, Windows CE 3.0, Pocket PC, Pocket PC 2002, Handheld PC 2000, Window Mobile 2003, Window Mobile 2003 SE, Window CE.NET, Windows Mobile 5.0.&lt;br /&gt;&lt;br /&gt;Utilities included in the &lt;strong&gt;Srego CE ToolPack&lt;/strong&gt;:&lt;br /&gt;&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cecd"&gt;ceCD&lt;/a&gt;&lt;/strong&gt; – Sets the current directory on the device for the use with the other utilities.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cecopy"&gt;ceCopy&lt;/a&gt;&lt;/strong&gt; - Copy files from one location to another on a device.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cedel"&gt;ceDel&lt;/a&gt;&lt;/strong&gt; - Delete files on a device.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cedir"&gt;ceDir&lt;/a&gt;&lt;/strong&gt; - List files on a device.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cdmkdir"&gt;ceMkdir&lt;/a&gt;&lt;/strong&gt; - Create a directory on a device.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cemove"&gt;ceMove&lt;/a&gt;&lt;/strong&gt; - Move files from one directory to another on a device.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cepull"&gt;cePull&lt;/a&gt;&lt;/strong&gt; - Copy a file from a device to a desktop computer.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cepush"&gt;cePush&lt;/a&gt;&lt;/strong&gt; - Copy a file from desktop computer to device.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cermdir"&gt;ceRmdir&lt;/a&gt;&lt;/strong&gt; - Remove a directory on a device.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cestart"&gt;ceStart&lt;/a&gt;&lt;/strong&gt; - Start an application on a device.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cedbcopy"&gt;ceDbCopy&lt;/a&gt;&lt;/strong&gt; - Moves a .mdb file from the desktop to a cdb on device and vice versa.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cetouch"&gt;ceTouch&lt;/a&gt;&lt;/strong&gt; - Updates a file's last write time on a device from the desktop.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cejump"&gt;ceJump&lt;/a&gt;&lt;/strong&gt; - Copies ASCII file to desktop, launches editor, pushes file back to device.&lt;br /&gt;• &lt;strong&gt;&lt;a href="http://www.srego.com/sregocetp.htm#cereg"&gt;ceReg&lt;/a&gt;&lt;/strong&gt; – Read and Write Registry values on the device.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115429069927770155?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115429069927770155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115429069927770155&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429069927770155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115429069927770155'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/07/srego-ce-toolpack-command-line.html' title='Srego CE ToolPack Command-Line Utilities'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-31855614.post-115428720600009982</id><published>2006-07-30T12:19:00.000-07:00</published><updated>2006-07-30T12:29:08.976-07:00</updated><title type='text'>Introduction</title><content type='html'>&lt;a href="http://www.srego.com/"&gt;Srego&lt;/a&gt; is dedicated to the development of mobile application on a variety of platforms. As a result of 12 plus years of mobile app development, a variety of tools and utilities have arisen to improve the usability and ease of mobile app development. The current focus has been Window CE platforms (Pocket PC, Windows Mobile, CE.NET, and SmartPhone) and the utilities are centered around these platforms. This Blog will be used as a depository for information on these utility and possibly generate some discussion on how to improve these tools and make them more useful for developers. Srego now provides 3 different software packages: &lt;a href="http://www.srego.com/sregocetp.htm"&gt;Srego CE ToolPack&lt;/a&gt;, &lt;a href="http://www.srego.com/products/CEToolPackX.htm"&gt;Srego CE ToolPack ActiveX Control&lt;/a&gt;. All of these utilities will work in an evaluation mode (free of charge) and commercial versions provide more functionality for a small fee. There are also some free utilities that have no other home and will be shared on this blog.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/31855614-115428720600009982?l=srego.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srego.blogspot.com/feeds/115428720600009982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=31855614&amp;postID=115428720600009982&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115428720600009982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/31855614/posts/default/115428720600009982'/><link rel='alternate' type='text/html' href='http://srego.blogspot.com/2006/07/introduction.html' title='Introduction'/><author><name>srego</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
