Support / Resco MobileForms Toolkit / .NET CF Controls for Windows Mobile, Windows CE, WP7, iOS and Android

Support

Find the answers you are looking for

Mobile Development Samples

Windows Mobile

Following Windows Mobile Development Samples demonstrate the usage of Resco .NET CF controls in various situations. All samples include C#, or VB .NET source code for Microsoft Visual Studio.

Download ZIP file

Windows Phone 7

Following Windows Phone Development Samples demonstrate the usage of Resco .NET WP7 controls in various situations. All samples include C# source code for Microsoft Visual Studio.

Download ZIP file

Android

Following Android Development Samples demonstrate the usage of Resco controls for Xamarin.Android in various situations. All samples include C# source code for Microsoft Visual Studio.

Download ZIP file

iOS

Following iOS Development Samples demonstrate the usage of Resco controls for iOS in various situations. All samples include C# source code for Xamarin Studio.

Download ZIP file

<% if (Request.Params["file"] != "" && Request.Params["file"] != null) { string path = System.IO.Path.GetDirectoryName(Request.PhysicalPath); System.IO.FileStream fs = new System.IO.FileStream(path + "/support/" + Request.Params["file"] + ".html", System.IO.FileMode.Open, System.IO.FileAccess.Read); System.IO.StreamReader sr = new System.IO.StreamReader(fs); try { //Response.Write(ASP.Global.AddArticlesPath(sr.ReadToEnd())); Response.Write( "

Back to list

" + sr.ReadToEnd()); sr.Close(); fs.Close(); } catch (Exception) { Response.Write(fs); Response.Write("

The Tutorials cannot be displayed!

"); } } else { %>

Windows Mobile Development Tutorials

Following Windows Mobile Development Tutorials are your Quick-Start Guides for Resco .NET CF controls. They describe step-by-step basic as well as advanced usage of controls in Microsoft Visual Studio.

    <% ASP.Global.GetStories(this, -1); } %>

Windows Mobile Development FAQ

Following Windows Mobile Development FAQs discuss various topics about Resco .NET CF controls.

Global

How can I access upgrades/bug fixes of the product I have purchsed?

Upgrades and bug fixes are available through the Customer Web Portal. It is accessible only for registered Resco customers and all downloads are available only during valid subscription.

My subscription has expired. How can I renew it?

Registered customers can renew their subscriptions through the Customer Web Portal

I have installed your product, but the controls did not appear in Visual Studio's 2005 toolbox. How can I add them there?

This depends on whether you are developing a desktop application or an application targeting .NET Compact Framework.
If you are developing a desktop application, then simply drag the Resco.%ControlName%.dll file and drop it onto the toolbox. Substitute the %ControlName% for the name of the particular product, e.g.: Resco.AdvancedList.dll.
If you are developing an application targeting .NET Compact Framework, drag the Resco.%ControlName%.CF2.dll file and drop it onto the toolbox. For the Visual Studio's designer to work properly, you have to make sure that, you have the Resco.%ControlName%.Design.dll properly registered in GAC (this only applies if you are developing for .NET Compact Framework).

How do I make sure that I have a Resco.%ControlName%.Design.dll file properly registered in GAC?

To view the contents of GAC, do the following:

  1. Go to the Windows' Control Panel.
  2. Double click 'Administrative Tools'.
  3. Double click 'Microsoft .NET Framework 2.0 Configuration'.
  4. Click 'Manage the Assembly Cache'.
  5. Click 'View List of Assemblies in the Assembly Cache'.
  6. Make sure the Resco.%ControlName%.Design.dll is listed.

For the designer to work correctly, you also have to make sure that the version of Resco.%ControlName%.Design.dll file listed in GAC is the same as the version of the .dll file you are referencing in your project. The GAC may contain the older versions of Resco.%ControlName%.Design.dll file.

I am not able to install Mobile Forms Toolkit in Microsoft Windows Vista. I get a message that says: "There is a problem with Windows installer package... Please contact your program vendor."

You have to be logged in as an Administrator in Microsoft Windows Vista to be able to install Resco Mobile Forms Toolkit correctly. This is because the installer program automatically integrates help files into Visual Studio's help and also because some COM objects are run that require administrator's privileges.

How do I download the latest upgrades and bugfixes? I read on your webpage that there is a newer version of my product. Where can I get it?

Upgrades and bug fixes are available through the Customer Web Portal. It is accessible only for registered Resco customers and all downloads are available only during valid subscription. You can re-download your product from there anytime as long as you have a valid subscription.

On your webpage I read that you also provide Visual Studio 2003 version of your products. But I downloaded from my reseller's webpage Visual Studio 2005 version only. Where can I get the VS 2003 version?

You can get it from the Customer Web Portal.

Windows Mobile and Windows CE FAQ

Where can I use the control ?

The SmartGrid is written fully in managed code targeting .NET Framework 1.1 and Microsoft .NET Compact Framework. You can use it on any desktop computer with installed .NET Framework and on any mobile device that has support for .NET Compact Framework ( you can check the following page ). The component has desing time support best used with the Microsoft Visual Studio .NET 2003, or higher.

What is the difference between Standard and Professional edition ?
How can I get the SmartGridDesigner ?

The SmartGridDesigner comes only with the Professional edition of the SmartGrid. This license to this edition also grants you to use the control by up to four developers. If the company has more developers, you should buy more licenses or the Site license.
The SmartGridDesigner is best suitable for enterprise developement specifically when you are using the XML templates, allowing the UI changes without the need to recompile project.
You can also distribute the SmartGridDesigner with your products, so you can provide your clients with the tool to customize your applications.

The control is grayed/is missing in the toolbox.

You should add the proper version of the control's library to the toolbox. When developing in the Compact Framework you should add to toolbox the design-time library located in [CF folder]/Design.

Adding the control to toolbox

I have upgraded the control and evaluation message remains/upgrade does not show.

The control's dlls are sometimes cached by VisualStudio.NET. Make sure that you use latest library in your project, i.e. by removing and adding the control reference.

Where can I found the control's documentation ?

The documentation is integrated with the Visual Studio .NET during the installation process. You should try turning off the filters or restarting VS.NET if it is not displayed in the Help Contents...

If you want to explore documentation from out of VS.NET, you can use following command:

"C:\Program Files\Common Files\Microsoft Shared\Help\dexplore.exe" 
/helpcol ms-help://RESCO.Controls.1033

Where can I use the control ?

The AdvancedList is written fully in managed code targeting .NET Framework 1.1 and Microsoft .NET Compact Framework. You can use it on any desktop computer with installed .NET Framework and on any mobile device that has support for .NET Compact Framework ( you can check the following page ). The component has desing time support best used with the Microsoft Visual Studio .NET 2003, or higher.

What is the difference between Standard and Professional edition ? How can I get the AdvancedListDesigner ?

The AdvancedListDesigner is a bonus tool that visualizes the customization and provides more features of customization. The AdvancedListDesigner is best suitable for enterprise developement specifically when you are using the XML templates, allowing the UI changes without the need to recompile project. You can also distribute the AdvancedListDesigner with your products, so you can provide your clients with the tool to customize your applications.

The control is grayed/is missing in the toolbox.

You should add the proper version of the control's library to the toolbox. When developing in the Compact Framework you should add to toolbox the design-time library located in [CF folder]/Design.

Where can I found the control's documentation ?

The documentation is integrated with the Visual Studio .NET during the installation process. You should try turning off the filters or restarting VS.NET if it is not displayed in the Help Contents...

If you want to explore documentation from out of VS.NET, you can use following command:

"C:\Program Files\Common Files\Microsoft Shared\Help\dexplore.exe"
/helpcol ms-help://RESCO.Controls.1033

How can I visually separate the Header / Footer row from other rows ?

The grid underline is no longer used for HeaderRow from version 2.1. Convenient solution is to use distinct BackColor of the header/footer and default row templates.

You can still separate the Header (and Footer) with line using the SeparatorCell. If you want to use SeparatorCell to separate the Rows, use the Vertical SeparatorType (separates the cells vertically) with Height 1 and chosen ForeColor.

How to use the property FormatString for a date ?

The format string for the text cell is the same format string as for the String.Format method.

FormatString = {0:d}
'short date   FormatString = {0:dd/MM/yyyy}

See also the example in help topic for the FormatString property.

Can I change the colors, border, font, etc. for each displayed cell in each row separately ?

This is possible, but not in the simple manner. The Cell object is in fact the cell template, and it is same for all the rows with given (Current)TemplateIndex. Thus changing e.g. BackColor will change this color in many rows.

When you just need to differentiate small number of situations (e.g. positive, negative or zero revenue), it is best to prepare more RowTemplates and change the template index to appropriate template in the ValidateData handler:

void advancedList1_ValidateData
(object sender, Resco.Controls.ValidateDataArgs e)
{
int index;
if( e.DataRow["revenue"] > 0 )
index = 1;
else if( e.DataRow["revenue"] < 0 )
index = 2;
else
index = 3;
e.DataRow.TemplateIndex = 0;
e.DataRow.SelectedTemplateIndex = index;
}

If you need to bind some properties (data in the Row) to the look of the cell, you can create special cells derived from standard cells and use them in the template. The C# code snippets can help you with this task.

Why is the width of the cell given as -1 ? What values can I use ?

Width of the cell can be any positive value, in that case cell doesn't resize itself with the resizing the grid. Value of -1 has special meaning, which means the cell is extended to the end of the row, with the respect to vertical scroll bar. This is usefull specifically when vertical scroll bar is shown/hidden and right aligned text is used.

Can I use my own dataset/datatable and somehow set the controls datasource?

DataSet usage on PocketPC is discouraged due to performance reasons. If you require best performance, using DbConnector is encouraged.

From version 2.1 it is possible to use any standard data source like DataTable, DataView, ArrayList, ... You just need to set up the DataSource property.

How can I load the data from dataset/datatable/list ?

From version 2.1 you can use the property DataSource. Another way is to load the data manually, creating new Resco.Controls.Row for each DataRow you want to display in the AdvancedList.

We have prepared sample code in C# and Visual basic you can use in your applications.

You can also read more in the new tutorial.

Can I use datasources for DbConnector other than SqlServerCe ?

You can use any IDbCommand in conjunction with the DbConnector. Make sure the Command property of DbConnector is set to valid IDbCommand with existing IDbConnection before setting the ConnectionString and CommandText of the DbConnector or before using it:

System.Data.SqlClient.SqlConnection 
connection = new System.Data.SqlClient.SqlConnection(connectionString);
System.Data.SqlClient.SqlCommand 
cmd = new System.Data.SqlClient.SqlCommand(cmdText, connection);
advancedList1.DbConnector.Command = cmd;
advancedList1.Reload();

For the datasources like XML files or datasets the best solution is to use the databinding or manual loading of Rows into the AdvancedList. In more advanced usage you can also create own IDataConnector implementation, see the documentation. Own IDataConnector is set using the AdvancedList.DataConnector property.

Where can I use the control ?

The DetailView is targeting .NET Framework 1.1 and Microsoft .NET Compact Framework. You can use it on any desktop computer with installed .NET Framework and on the mobile devices that has support for .NET Compact Framework ( you can check the following page ). The component has desing time support best used with the Microsoft Visual Studio .NET 2003, or higher.

What is the difference between Standard and Professional edition ?
How can I get the DetailViewDesigner ?

The DetailViewDesigner comes only with the Profesional edition of the DetailView. This license to this edition also grants you to use the control by up to four developers. If the company has more developers, you should buy more licenses or the Site license.
The DetailViewDesigner is best suitable for enterprise developement specifically when you are using the XML templates, allowing the UI changes without the need to recompile project.
You can also distribute the DetailViewDesigner with your products, so you can provide your clients with the tool to customize your applications.

The control is grayed/is missing in the toolbox.

You should add the proper version of the control's library to the toolbox. When developing in the Compact Framework you should add to toolbox the design-time library located in [CF folder]/Design.

Adding the control to toolbox

 

ItemNumeric resets to 0 or throws ArgumentOutOfRangeException.

ItemNumeric uses Compact Framework's NumericUpDown control, which is limited to 16 bit values. With decimal places set to 0 you can have maximum value of 32 767. When you set decimal places to d, you must divide this number with 10^{d}.
It is recommended to use ItemNumeric for fast input of values from small interval and for larger values you can use ItemTextBox with ItemValidating event, as in the second of our samples.

Where can I use the control ?

The CompactControls library is written fully in managed code targeting Microsoft .NET Compact Framework. You can use it on any mobile device that has support for .NET Compact Framework ( you can check the following page ). The component has desing time support best used with the Microsoft Visual Studio .NET 2003, or higher.

What is the difference between Standard and Professional edition ?

This license to this edition grants you to use the control by up to four developers. If the company has more developers, you should buy more licenses or the Site license.

The control is grayed/is missing in the toolbox.

You should add the proper version of the control's library to the toolbox. When developing in the Compact Framework you should add to toolbox the design-time library located in [CF folder]/Design.

Adding the control to toolbox

Where can I found the control's documentation ?

The documentation is integrated with the Visual Studio .NET during the installation process. You should try turning off the filters or restarting VS.NET if it is not displayed in the Help Contents...

If you want to explore documentation from out of VS.NET, you can use following command:

"C:\Program Files\Common Files\Microsoft Shared\Help\dexplore.exe" 
/helpcol ms-help://RESCO.Controls.1033 

How can I record to MP3 ?

To record to MP3, you must have an MP3 codec installed. MP3 codec is not part of MobileForms Toolkit license and has to be purchased separately. The algorithm for MP3 encoding and decoding (codec) is patented by Thompson company. Therefore, to use the codec, you must purchase a run-time license for each deployment of your application.

You can obtain the licenses for MP3 coded via: info@mp3licensing.com or fatma.rahal@thomson.net

Once you obtain the licenses, please send the proof to products@resco.net and we will subsequently provide you with the DLL including the codec that you need.

Where can I use the control ?

The Resco Zip .NET is written fully in managed code targeting .NET Framework and Microsoft .NET Compact Framework. You can use it on any desktop computer with installed .NET Framework and on any mobile device that has support for .NET Compact Framework ( you can check the following page).

The control is grayed/is missing in the toolbox.

You should add the proper version of the control's library to the toolbox. When developing in the Compact Framework you should add to toolbox the design-time library located in [CF folder]/Design.

Adding the control to toolbox

Where can I found the control's documentation ?

The documentation is integrated with the Visual Studio .NET during the installation process. You should try turning off the filters or restarting VS.NET if it is not displayed in the Help Contents...

If you want to explore documentation from out of VS.NET, you can use following command:

	"C:\Program Files\Common Files\Microsoft Shared\Help\dexplore.exe" 
	/helpcol ms-help://RESCO.Controls.1033
<% if (Request.Params["file"] != "" && Request.Params["file"] != null) { string path = System.IO.Path.GetDirectoryName(Request.PhysicalPath); System.IO.FileStream fs = new System.IO.FileStream(path + "/support/" + Request.Params["file"] + ".html", System.IO.FileMode.Open, System.IO.FileAccess.Read); System.IO.StreamReader sr = new System.IO.StreamReader(fs); try { //Response.Write(ASP.Global.AddArticlesPath(sr.ReadToEnd())); Response.Write( "

Back to list

" + sr.ReadToEnd()); sr.Close(); fs.Close(); } catch (Exception) { Response.Write(fs); Response.Write("

The articles cannot be displayed!

"); } } else { %>

List of Articles

    <% ASP.Global.GetArticles(this, -1); } %>

Support is no longer available, only these archived documents can be seen