The beta program for the Srego ceCmd application has been extended until March.
The Srego ceCmd 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 Srego CE ToolPack command-line utilities and the Srego CE ToolPack ActiveX control, the Srego ceCmd 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 Srego ceCmd 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.
Wednesday, December 31, 2008
Monday, July 14, 2008
Srego ceCmd Beta extended until the end of the Year
The beta program for the Srego ceCmd application has been extended until the end of the year.
The Srego ceCmd 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 Srego CE ToolPack command-line utilities and the Srego CE ToolPack ActiveX control, the Srego ceCmd 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 Srego ceCmd 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.
The Srego ceCmd 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 Srego CE ToolPack command-line utilities and the Srego CE ToolPack ActiveX control, the Srego ceCmd 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 Srego ceCmd 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.
Tuesday, May 20, 2008
Srego CE ToolPack version 1.0.0.61 is Available

Srego CE ToolPack ActiveX version 1.0.0.61 is Available.
Visit the Srego Support page to download.
-----------
Visit the Srego Support page to download.
-----------
01.00.00.61 - 05/16/08
-----------
- NEW - New Method:
long TestFile( BSTR filename )
- FIX - Recompiled to better run with Vista.
Sunday, April 06, 2008
Srego ceCmd version 1.0.0.15 (beta) is Available
The beta of the Srego ceCmd 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 Srego CE ToolPack Command-Line tools.
Wednesday, January 16, 2008
Srego ceCmd version 1.0.0.14 (beta) is Available
The beta of the Srego ceCmd application has been updated.
This version will be the last beta version of the Srego ceCmd application. All future versions will be part of the Srego CE ToolPack Command-Line tools.
-----------
01.00.00.14 - 1/2/08
-----------
- FIX - Change made to prevent application from closing when
used with Windows Vista with a device connected at
startup.
This version will be the last beta version of the Srego ceCmd application. All future versions will be part of the Srego CE ToolPack Command-Line tools.
-----------
01.00.00.14 - 1/2/08
-----------
- FIX - Change made to prevent application from closing when
used with Windows Vista with a device connected at
startup.
Wednesday, January 02, 2008
Srego ceCmd version 1.0.0.12 (beta) is Available
The beta of the Srego ceCmd application has been updated.
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.
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.
The REM command has been added to allow comments to be placed in a command file.
-----------
01.00.00.12 - 1/2/08
-----------
- NEW - Extended Expiration Timeout.
- FIX - The DEL command gave a correct success message when 1 file was deleted.
- FIX - The COPY command would not copy a file from device to an explicit path on the desktop.
- NEW - The RUN command has been added to run a command file from either the desktop or the device.
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.
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.
The REM command has been added to allow comments to be placed in a command file.
-----------
01.00.00.12 - 1/2/08
-----------
- NEW - Extended Expiration Timeout.
- FIX - The DEL command gave a correct success message when 1 file was deleted.
- FIX - The COPY command would not copy a file from device to an explicit path on the desktop.
- NEW - The RUN command has been added to run a command file from either the desktop or the device.
Tuesday, September 11, 2007
Srego CE ToolPack Command-Line Version 3.0.0.7 is Available
The Srego CE ToolPack Command-Line tool version 3.0.0.7 is Available.
Visit the Srego Support page to download.
-----------
03.00.00.07 - 09/11/07
-----------
- FIX - ceCD - putting quotes around a path caused the path to not be found. Quotes are not ignored.
- 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.
- NEW - ceReg - Support for REG_MULTI_SZ types has been added.
Visit the Srego Support page to download.
-----------
03.00.00.07 - 09/11/07
-----------
- FIX - ceCD - putting quotes around a path caused the path to not be found. Quotes are not ignored.
- 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.
- NEW - ceReg - Support for REG_MULTI_SZ types has been added.
Sunday, August 19, 2007
Using GetSchemaTable to get Info about Columns in VB.NET
Here is a simple example in VB.NET that uses GetSchemaTable 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 here.
Dim myConn As New OleDbConnection(ConnectionString)
Dim sql As String = "Select * from Table_ABC"
Dim myCommand As New OleDbCommand(sql, myConn)
myConn.Open()
Dim objDR As OleDbDataReader
objDR = myCommand.ExecuteReader(CommandBehavior.CloseConnection)
' Retrieve column schema into a DataTable.
Dim schemaTable As DataTable
schemaTable = objDR.GetSchemaTable()
' For each field in the table...
For Each myField As DataRow In schemaTable.Rows
' For each property of the field...
For Each myProperty As DataColumn In schemaTable.Columns
'Display the field name and value.
Debug.WriteLine(myProperty.ColumnName + _
" = " + myField(myProperty).ToString())
Next
Debug.WriteLine("")
Next
Wednesday, August 15, 2007
ceReg now supports REG_MULTI_SZ
With version 3.0.0.7 of the Srego CE Toolpack Command-Line utilities, the ceReg utility supports reading and writing of the Multiple String type (REG_MULTI_SZ) in the device's registry. The REG_MULTI_SZ type allows a list of delimited strings to be stored in one value. Mimicking the Reg command on the desktop, multiple strings are specified with a "\0" delimiter:
phone\0fax\0mail
In the Remote Registry Editor, the Multi String value looks like:

Reading a Multi String value is also similar to the desktop's Reg command:
ceReg /r /1 /sub software\srego\test /name testValue
ceReg - version 03.00.00.07
(c) Srego, Inc - 2007
[HKEY_CURRENT_USER\software\srego\test]
"testValue"="fax\0mail\0phone\00
phone\0fax\0mail
In the Remote Registry Editor, the Multi String value looks like:

Reading a Multi String value is also similar to the desktop's Reg command:
ceReg /r /1 /sub software\srego\test /name testValue
ceReg - version 03.00.00.07
(c) Srego, Inc - 2007
[HKEY_CURRENT_USER\software\srego\test]
"testValue"="fax\0mail\0phone\00
Monday, July 09, 2007
Srego CE ToolPack Command-Line Version 3.0.0.6 is Available
The Srego CE ToolPack Command-Line tool version 3.0.0.6 is Available.
Visit the Srego Support page to download.
-----------
03.00.00.06 - 07/08/07
-----------
- NEW - ceTouch - The /rf option was added to allow a timestamp to be retrieved from an existing file.
- NEW - ceTouch - Additional error information is provided if a file's timestamp cannot be updated.
- CHG - ceDir - The default timestamp is now the last written time instead of the created timestamp.
- FIX - cePush, cePull - Better error handling when invalid options are given.
- FIX - cePush, cePull - Now support the /F flag to copy a file only if it already exists on the destination.
Visit the Srego Support page to download.
-----------
03.00.00.06 - 07/08/07
-----------
- NEW - ceTouch - The /rf option was added to allow a timestamp to be retrieved from an existing file.
- NEW - ceTouch - Additional error information is provided if a file's timestamp cannot be updated.
- CHG - ceDir - The default timestamp is now the last written time instead of the created timestamp.
- FIX - cePush, cePull - Better error handling when invalid options are given.
- FIX - cePush, cePull - Now support the /F flag to copy a file only if it already exists on the destination.
Sunday, July 01, 2007
Srego ceCmd version 1.0.0.11 is Available (Beta Extended)
The beta of the Srego ceCmd application has been updated.
The beta period has also been extended to the end of the year.
-----------
01.00.00.11 - 07/01/07
-----------
- NEW - Extended Expiration Timeout.
-----------
01.00.00.10 - 06/20/07
-----------
- FIX - the CD command was not properly handling paths that included ..
- FIX - the DIR command did not handle a path if it ended in ..
The beta period has also been extended to the end of the year.
-----------
01.00.00.11 - 07/01/07
-----------
- NEW - Extended Expiration Timeout.
-----------
01.00.00.10 - 06/20/07
-----------
- FIX - the CD command was not properly handling paths that included ..
- FIX - the DIR command did not handle a path if it ended in ..
Thursday, June 21, 2007
Installing .CAB files on a Device with the Command-Line Tools or the ActiveX control
With the Srego CE Toolpack Command lines tools, there are two way to install a cab file on the device:
1) The cePush 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.
cePush sample.cab /deploy
2) the ceStart 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:
ceStart \windows\wceload.exe "\my documents\sample.cab"
If you are using the Srego CE Toolpack ActiveX control, you will use the StartApplicationEx method as shown below with VB6 sample code:
Dim stat As Boolean
Dim parameters As String
parameters = Chr(34) + "\my documents\PGTViewer_WinMobile_7004.CAB" + Chr(34)
stat = SregoCETPx1.StartApplicationEx("\windows\wceload.exe", parameters)
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.
1) The cePush 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.
cePush sample.cab /deploy
2) the ceStart 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:
ceStart \windows\wceload.exe "\my documents\sample.cab"
If you are using the Srego CE Toolpack ActiveX control, you will use the StartApplicationEx method as shown below with VB6 sample code:
Dim stat As Boolean
Dim parameters As String
parameters = Chr(34) + "\my documents\PGTViewer_WinMobile_7004.CAB" + Chr(34)
stat = SregoCETPx1.StartApplicationEx("\windows\wceload.exe", parameters)
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.
Sunday, June 10, 2007
ceAttrib added to the Command-Line Srego Toolpack
With version 3.0.0.5 of the Srego CE Toolpack Command-Line utilities, a new utility called ceAttrib has been added.
ceAttrib
The ceAttrib utility is run on a desktop computer to set file attributes on the connected device.
The ceAttrib utility will accept wildcards in the path name (* and ?) to get or set file attributes on more than one file.
There are 4 attributes the ceAttrib utility can be used to change: ReadOnly, Archive, Hidden, and System.
The ceAttrib utility can also be used to see what attributes are set on a file. It will show ReadOnly, Archive, Hidden, System, and Directory.
The ceAttrib utility will use the current directory (set by ceCD) and does require quotes around paths with spaces.
*** 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.
Usage:
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Usage: ceAttrib [path] [/?] [+R -R] [+A -A] [+S -S] [+H -H]
[path] Specifies file(s) to touch. Wildcards are permitted.
[/?] Display usage.
[+R] Set Read-Only Attribute
[-R] Clear Read-Only Attribute
[+A] Set Archive Attribute
[-A] Clear Archive Attribute
[+S] Set System Attribute
[-S] Clear System Attribute
[+H] Set Hidden Attribute
[-H] Clear Hidden Attribute
Examples:
To show the file attribute for a single file:
ceAttrib gps.log
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Current Device Directory: \My Documents
A \My Documents\gps.log
Files: 1
To show more than one file’s attributes, you can use wildcards:
ceAttrib *.*
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Current Device Directory: \My Documents
A \My Documents\gps.log
RA \My Documents\PGTViewer_WinMobile_7004.CAB
A \My Documents\MadisonCty.gtx
Files: 3
To add the Read Only attribute to a file:
ceAttrib gps.log +R
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Current Device Directory: \My Documents
RA \My Documents\gps.log
Files Updated: 1
To remove the Read Only attribute to a file:
ceAttrib gps.log -R
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Current Device Directory: \My Documents
A \My Documents\gps.log
Files Updated: 1
ceAttrib
The ceAttrib utility is run on a desktop computer to set file attributes on the connected device.
The ceAttrib utility will accept wildcards in the path name (* and ?) to get or set file attributes on more than one file.
There are 4 attributes the ceAttrib utility can be used to change: ReadOnly, Archive, Hidden, and System.
The ceAttrib utility can also be used to see what attributes are set on a file. It will show ReadOnly, Archive, Hidden, System, and Directory.
The ceAttrib utility will use the current directory (set by ceCD) and does require quotes around paths with spaces.
*** 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.
Usage:
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Usage: ceAttrib [path] [/?] [+R -R] [+A -A] [+S -S] [+H -H]
[path] Specifies file(s) to touch. Wildcards are permitted.
[/?] Display usage.
[+R] Set Read-Only Attribute
[-R] Clear Read-Only Attribute
[+A] Set Archive Attribute
[-A] Clear Archive Attribute
[+S] Set System Attribute
[-S] Clear System Attribute
[+H] Set Hidden Attribute
[-H] Clear Hidden Attribute
Examples:
To show the file attribute for a single file:
ceAttrib gps.log
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Current Device Directory: \My Documents
A \My Documents\gps.log
Files: 1
To show more than one file’s attributes, you can use wildcards:
ceAttrib *.*
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Current Device Directory: \My Documents
A \My Documents\gps.log
RA \My Documents\PGTViewer_WinMobile_7004.CAB
A \My Documents\MadisonCty.gtx
Files: 3
To add the Read Only attribute to a file:
ceAttrib gps.log +R
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Current Device Directory: \My Documents
RA \My Documents\gps.log
Files Updated: 1
To remove the Read Only attribute to a file:
ceAttrib gps.log -R
ceAttrib - version 03.00.00.05
(c) Srego, Inc - 2007
Current Device Directory: \My Documents
A \My Documents\gps.log
Files Updated: 1
Srego CE ToolPack Command-Line Version 3.0.0.5 is Available
The Srego CE ToolPack Command-Line tool version 3.0.0.5 is Available.
Visit the Srego Support page to download.
-----------
03.00.00.05 - 06/10/07
-----------
- NEW - ceTouch - The /t options allows a specific time to be specified.
- FIX - ceStart - Was not processing parameters correctly.
- NEW - ceAttrib - New utility added.
-----------
03.00.00.04 - 05/16/07
-----------
- 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.
- FIX - ceTouch - was saying that it could not update any file.
Visit the Srego Support page to download.
-----------
03.00.00.05 - 06/10/07
-----------
- NEW - ceTouch - The /t options allows a specific time to be specified.
- FIX - ceStart - Was not processing parameters correctly.
- NEW - ceAttrib - New utility added.
-----------
03.00.00.04 - 05/16/07
-----------
- 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.
- FIX - ceTouch - was saying that it could not update any file.
Saturday, June 09, 2007
Srego ceCmd version 1.0.0.9 is Available
The beta of the Srego ceCmd application has been updated.
-----------
01.00.00.09 - 06/09/07
-----------
- NEW - Start command added.
- FIX - Fixes to the CD command.
-----------
01.00.00.08
------------
- FIX - Copying files from the root on the device would give an error that the source could not be found.
- FIX - The CD command did not work correctly in all cases.
-----------
01.00.00.09 - 06/09/07
-----------
- NEW - Start command added.
- FIX - Fixes to the CD command.
-----------
01.00.00.08
------------
- FIX - Copying files from the root on the device would give an error that the source could not be found.
- FIX - The CD command did not work correctly in all cases.
Thursday, May 17, 2007
Srego CE ToolPack Command-Line Version 3.0.0.4 is Available
The Srego CE ToolPack Command-Line tool version 3.0.0.4 is Available.
Visit the Srego Support page to download.
-----------
03.00.00.04 - 05/16/07
-----------
- 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.
- FIX - ceTouch - was saying that it could not update any file.
Visit the Srego Support page to download.
-----------
03.00.00.04 - 05/16/07
-----------
- 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.
- FIX - ceTouch - was saying that it could not update any file.
Friday, April 13, 2007
Changes in ActiveSync 4.5 Break CopyDB and ceDBCopy.exe
Microsoft states in its description of ActiveSync 4.5:
- 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.
Wednesday, April 11, 2007
Srego CE ToolPack ActiveX version 1.0.0.60 is Available

Srego CE ToolPack ActiveX version 1.0.0.60 is Available.
Visit the Srego Support page to download.
-----------
Visit the Srego Support page to download.
-----------
01.00.00.60 - 04/11/07
-----------
- 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.
- NEW - New Methods:
- boolean ByteBufferClear()
- boolean ByteBufferAddValue(long value)
- boolean RegSetBinaryValueFromByteBuffer(long key, BSTR subKeyName, BSTR valueName);
Friday, March 30, 2007
The Srego ceCmd utility (CE Command Prompt) is Available for Testing
The Srego ceCmd 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 Srego support web page, you can download a trail version of the software or read the product documentation
The Srego ceCmd application is still in beta and is not yet complete, but it does contain a significant amount of functionality. The idea behind ceCmd 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:
File Info and Manipulation Commands
Command History
- Use the Up/Down Arrow Keys to traverse the command history
Command History Dialog to view and manipulate command history (View/Command History) - Command history is persistent between sessions
Drag and Drop File Copying
- Drag and Drop files on the Srego ceCmd Application window and they will be copied to the device’s current directory.
Device Information
- INFO – Get information about the connected device:
Device Id, Available and Total Memory, Available and Total Storage Space, Battery Status, AC Line Status, Processor Type - VER – Displays the connected device’s Windows CE Version.
Miscellaneous Commands and Features
- HELP – Get help on individual commands.
- EXIT – Exit the Srego ceCmd application.
- CLS – Clear the display buffer.
- Connection Status indicator
Wednesday, March 28, 2007
Srego CE ToolPack ActiveX version 1.0.0.59 is Available.
Visit the Srego Support page to download.
-----------
01.00.00.59 - 03/28/07
-----------
- NEW - New Methods:
Visit the Srego Support page to download.
-----------
01.00.00.59 - 03/28/07
-----------
- NEW - New Methods:
- boolean GetCurrentRecPropStringAlt(long pos, VARIANT* data, VARIANT* size);
- BSTR SetLocale(long category, BSTR locale);
-----------
01.00.00.58 -
-----------
- CHG - The GetCurrentRecPropBlob will now return LPWSTR types as a byte array.~
Subscribe to:
Posts (Atom)
