﻿<?xml version="1.0" encoding="utf-8"?><!--RSS generated at Wed, 23 Jul 2008 21:05:25 GMT--><rss version="2.0"><channel><title>Xceed : Latest top 20 Updates in the Xceed Knowledge Base.</title><image><title>Xceed : Latest top 20 Updates in the Xceed Knowledge Base.</title><url>http://www.xceedsoft.com/images/banner/logo_rss.png</url><link>http://www.xceedsoft.com</link><width>125</width><height>40</height><description>Get in touch with Xceed Software</description></image><link>http://www.xceedsoft.com/</link><description>Get in touch with Xceed Software</description><copyright>Copyright 1994-2004 Xceed Software Inc</copyright><generator>Xceed Software RSS Generator</generator><item><title>Page Setup margins not handling millimeters correctly</title><link>http://www.xceedsoft.com/kb/results.aspx?id=471</link><description>&lt;h3&gt;Description : &lt;/h3&gt;When using the report form from the GenerateReportForm class, in the Page Setup dialog, if margins are calculated in millimeters, clicking ok and returning to the Page Setup dialog again, the margin will be converted to inches, though the display still shows millimeters.  Doing this repetitively will make the margins getting smaller every time, since they get converted from millimeters to inches each time.&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;This is a bug and unfortunately, it is not under our control. There is little we can do.&lt;br&gt;&lt;br&gt;It is a bug in the Windows common dialog that is used by the GenerateReportForm class through the .NET framework.&lt;br&gt;&lt;br&gt;When the 'Measurement System' property of the 'Regional and Language Options' of your computer is set to 'Metric', Windows fails to correctly handle the margin values. If the measurement system is set to U.S. the dialog works correctly.&lt;br&gt;&lt;br&gt;You can find more information on this bug at the Microsoft web site here:&lt;br&gt;&lt;br&gt;&lt;a href="http://support.microsoft.com/?id=814355"&gt;http://support.microsoft.com/?id=814355&lt;/a&gt;&lt;br&gt;&lt;br&gt;  *  *  *&lt;br&gt;&lt;br&gt;You can always replace the PageSetupDialog with your own.&lt;br&gt;&lt;br&gt;We provide the full source code to the GenerateReportForm and CustomizeReportStyleForm classes. Have a look at the code and modify it to suit your needs. You'll find the instructions on compiling and integrating the forms in the documentation. Look at the bottom of the following page:&lt;br&gt;&lt;br&gt;&lt;a href="http://doc.xceedsoft.com/products/gridNET/doc/index.htm?page=sources/using_the_generatereportform_class.htm"&gt;http://doc.xceedsoft.com/products/gridNET/doc/index.htm?page=sources/using_the_generatereportform_class.htm&lt;/a&gt;&lt;br&gt;</description><pubDate>9/25/2006 4:48:35 PM</pubDate></item><item><title>Can Xceed Encryption work with the .NET encryption classes?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=408</link><description>&lt;h3&gt;Description : &lt;/h3&gt;I want to encrypt data using the Rijndael encryption method of the Xceed Encryption Library and decrypt it using the .NET Framework's Rijndael class. Is it possible?&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;The Xceed Encryption Library can be compatible with the Framework's Rijndael class however you have to be careful when initializing the objects, since we only support the ECB (emoFreeBlocks) and CBC (emoChainedBlocks) encryption modes.&lt;br&gt;&lt;br&gt;Also, you must be careful with the padding method :&lt;br&gt;&lt;br&gt;&lt;b&gt;Padding method support table&lt;/b&gt;&lt;br&gt;&lt;img src="http://www.xceedsoft.com/cs/download/XceedEncryption/PaddingTable.bmp" alt="Table describing which platform supports the following padding methods : None, Zeros, ANSIX923, FIPS81 and ISO10126, RFC1423 and PKCS7, Random." border="1" /&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;A &lt;a href="http://www.xceedsoft.com/cs/download/XceedEncryption/CSharp/ChainedBlocks.zip"&gt;C# sample&lt;/a&gt; that demonstrates the required implementation when using the ChainedBlocks(CBC) encryption mode is available for download. &lt;br&gt;&lt;br&gt;A &lt;a href="http://www.xceedsoft.com/cs/download/XceedEncryption/CSharp/ActiveXToFramework.zip"&gt;C# sample&lt;/a&gt; that demonstrates the required implementation when using the FreeBlocks (ECB) encryption mode is also available for download. This sample includes a Visual Basic 6 project that uses the Xceed Encryption Library to encrypt data and the Xceed Binary Encoding Library to encode. It also includes a C# project that demonstrates how to use the Framework's classes to decode and decrypt the data. A C# version of the code required to encrypt using the Xceed Encryption Library is also included in the C# sample.&lt;br&gt;&lt;br&gt;&lt;b&gt;We highly recommend that you use the ChainedBlocks (CBC) encryption mode rather than the FreeBlocks (ECB) encryption mode in order to thwart potential attacks.&lt;/b&gt;&lt;br&gt;</description><pubDate>8/16/2006 11:44:39 AM</pubDate></item><item><title>Unable to change or assign borders. </title><link>http://www.xceedsoft.com/kb/results.aspx?id=302</link><description>&lt;h3&gt;Description : &lt;/h3&gt;There seem to be no way to change or assign borders because
Xceed.Grid.Borders is a struct and passed by value... So it would appear that when you call for row.Borders a local copy is created and assigning row.Borders.Bottom wouldn't really do anything and actually doesn't even compile...

How can I change the borders?
&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;The row.Borders can not be changed since it is a read-only property. However, you can derive from the row you want and then override the Border property. &lt;br&gt;&lt;br&gt;Don't forget to override the OnPaintBorders to paint what you want in your borders. &lt;br&gt;&lt;br&gt;It is true that row.Borders.Bottom = ... will affect a copy of the returned Borders.&lt;br&gt;&lt;br&gt;Here is a link to the &lt;a href="http://doc.xceedsoft.com/products/gridNET/doc/sources/custom_painting.htm"&gt;Custom Painting&lt;/a&gt; topic in our online help documentation</description><pubDate>7/5/2006 11:54:25 AM</pubDate></item><item><title>Split zip file</title><link>http://www.xceedsoft.com/kb/results.aspx?id=138</link><description>&lt;h3&gt;Description : &lt;/h3&gt;I created a zip file using the SplitSize property however I am not able to extract it's contents using Winzip. Why?&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;This is normal behavior. The SplitSize property is native to the Xceed Zip control. You will only be able to extract the contents of the split zip file using the Xceed Zip Compression Library (v4.x).&lt;br&gt;&lt;br&gt;However, there is a workaround and you need to do the following:&lt;br&gt;&lt;br&gt;Assuming that you have a zip file split into three parts: SplitFile.zip, SplitFile.z02, SplitFile.z03.&lt;br&gt;&lt;br&gt;1. Rename the first file (in this case "SplitFile.zip") to "SplitFile.z01"&lt;br&gt;2. Rename the last file (in this case "SplitFile.z03") to "SplitFile.zip"&lt;br&gt;&lt;br&gt;The result will be three files: SplitFile.z01, SplitFile.z02, SplitFile.zip. &lt;br&gt;&lt;br&gt;In order for Winzip to decompress these files automatically, you need to have them in the same directory.</description><pubDate>6/21/2006 4:35:56 PM</pubDate></item><item><title>How do I use the GetFolderContents in PowerBuilder?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=369</link><description>&lt;h3&gt;Description : &lt;/h3&gt;&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;You can use the following code to list the contents of a remote folder using the following code:&lt;br&gt;&lt;br&gt;Integer		li_Ret, li_index, li_index, li_type, li_Count&lt;br&gt;OleObject	ole_ftp, ole_folderItems, ole_folderItem&lt;br&gt;String		ls_name, ls_folder&lt;br&gt;&lt;br&gt;// FTP Ole Object&lt;br&gt;ole_ftp = Create OleObject&lt;br&gt;li_ret = ole_ftp.ConnectToNewObject("XceedSoftware.XceedFtp.1")&lt;br&gt;&lt;br&gt;IF li_Ret &lt; 0 THEN&lt;br&gt;    MessageBox('ole_ftp', 'failed!')&lt;br&gt;    Return&lt;br&gt;END IF&lt;br&gt;&lt;br&gt;// Folder Items OleObject&lt;br&gt;ole_folderItems = Create OleObject&lt;br&gt;&lt;br&gt;// Connecting to FTP server&lt;br&gt;ole_ftp.ServerAddress = address&lt;br&gt;ole_ftp.UserName      = userid&lt;br&gt;ole_ftp.Password      = password&lt;br&gt;ole_ftp.PassiveMode = FALSE&lt;br&gt;ole_ftp.License(KEY)  &lt;br&gt;ole_ftp.Connect()&lt;br&gt;&lt;br&gt;// Get all txt files in the current folder&lt;br&gt;ole_folderItems = ole_ftp.GetFolderContents(''*.txt', 0)&lt;br&gt;&lt;br&gt;// Number of folder items&lt;br&gt;li_Count = ole_folderItems.Count&lt;br&gt;&lt;br&gt;// get name and type for each folder item&lt;br&gt;For li_index = 1 to li_Count&lt;br&gt;    ls_name = ole_folderItems.Item[li_index].itemname&lt;br&gt;    li_type   = ole_folderItems.Item[li_index].itemtype&lt;br&gt;Next &lt;br&gt;&lt;br&gt;// Disconnect&lt;br&gt;ole_ftp.Disconnect()&lt;br&gt;&lt;br&gt;***Information provided by Enrique Perez!***&lt;br&gt;&lt;br&gt;*Keep in mind that Xceed does not officially support PowerBuilder*</description><pubDate>6/6/2006 2:12:46 PM</pubDate></item><item><title>How do I use my Xceed component in PowerBuilder?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=310</link><description>&lt;h3&gt;Description : &lt;/h3&gt;&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;Most Xceed Components can be used in PowerBuilder.&lt;br&gt;&lt;br&gt;The following example demonstrates how to encrypt a file using the Xceed Encryption Library. &lt;br&gt;&lt;br&gt;Make sure that you have read the &lt;a href="http://www.xceedsoft.com/kb/result.asp?id=199"&gt;installation instructions&lt;/a&gt; beforehand!&lt;br&gt;&lt;br&gt;long bytesRead&lt;br&gt;oleobject rijndael&lt;br&gt;oleObject encryption&lt;br&gt;&lt;br&gt;encryption = CREATE OleObject&lt;br&gt;encryption.ConnectToNewObject("Xceed.Encryption.1")&lt;br&gt;&lt;br&gt;encryption.License( "your license key" )&lt;br&gt;&lt;br&gt;rijndael = CREATE OleObject&lt;br&gt;rijndael.ConnectToNewObject("Xceed.RijndaelEncryptionMethod.1")&lt;br&gt;&lt;br&gt;rijndael.SetRandomSecretKey( 128 )&lt;br&gt;&lt;br&gt;encryption.EncryptionMethod =rijndael&lt;br&gt;encryption.ProcessFile("d:\file.txt", 0, 0, 0, TRUE, "d:\encrypted.txt", FALSE, bytesRead)&lt;br&gt;&lt;br&gt;*Keep in mind that PowerBuilder is not officially support by Xceed*</description><pubDate>6/6/2006 2:03:16 PM</pubDate></item><item><title>NotSupportException when setting MaxLength of GridNumericTextBox</title><link>http://www.xceedsoft.com/kb/results.aspx?id=279</link><description>&lt;h3&gt;Description : &lt;/h3&gt;I am trying to set the maximum length of the value entered into the GridNumericTextBox by setting the MaxLength property however it throughs a NotSupportException.

How can I limit the legth of the value entered?&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;The MaxLength property is inherited from TextBox (from which the GridNumericTextBox derives). However it is not intended to be used directly from your code. The fact that is throws is normal. In order to do what you are describing, you will need to set the Length property. For example.&lt;br&gt;&lt;br&gt;Dim editor As Xceed.Grid.Editors.GridNumericTextBox()&lt;br&gt;&lt;br&gt;gridControl1.DataRowTemplate.Cells( "Money" ).CellEditor = editor&lt;br&gt; &lt;br&gt;editor.Length = 5&lt;br&gt;&lt;br&gt;*Please not to user of Grid 3.0 and above that this no longueur applies*</description><pubDate>6/6/2006 2:00:52 PM</pubDate></item><item><title>Empty console window in Visual Studio 2005.</title><link>http://www.xceedsoft.com/kb/results.aspx?id=470</link><description>&lt;h3&gt;Description : &lt;/h3&gt;When running a console application sample within VS.NET 2005 in debug mode, the sample opens the expected console window, but nothing appears, and keyboard input does nothing.
&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;VS.NET 2005 exposes a new "QuickConsole" docking window within the IDE. By default, when debugging a console application, any output and input is redirected to that window. You will see the expected output in that window, and be able to type input within that window.&lt;br&gt;&lt;br&gt;If you would like to disable this new functionality, go to the "Tools" -&gt; "Options" menu, select the "Debugging" -&gt; "General" node, and uncheck the "Redirect all Console output to the Quick Console window" option. We suggest you disable the QuickConsole, as it may not always behave exactly like a console window, and does not display the output correctly.&lt;br&gt;</description><pubDate>6/1/2006 2:50:38 PM</pubDate></item><item><title>How can I fix one or more columns when I scroll?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=298</link><description>&lt;h3&gt;Description : &lt;/h3&gt;How can I fix one or more columns when I scroll?&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;&lt;b&gt;As of version 3.1 of the Xceed Grid for .NET, a property has been added to the Column object .Fixed which can simply set to true.&lt;/b&gt;&lt;br&gt;&lt;br&gt;Xceed Grid for .NET does not currently support fixed columns.&lt;br&gt;&lt;br&gt;As of version 1.1, you can simulate fixed columns by changing the VisibleIndex property of the column you want fixed in the grid's FirstVisibleColumnChanged event. &lt;br&gt;&lt;br&gt;For example, in the following code we will fix the CustomerID column:&lt;br&gt;&lt;br&gt;&lt;b&gt;[C#]&lt;/b&gt;&lt;br&gt;&lt;br&gt;if( gridControl1.FirstVisibleColumn != null )&lt;br&gt;    if( gridControl1.FirstVisibleColumn != gridControl1.Columns[ "CustomerID" ] )&lt;br&gt;        gridControl1.Columns[ "CustomerID" ].VisibleIndex = gridControl1.FirstVisibleColumn.VisibleIndex; &lt;br&gt;&lt;br&gt;&lt;b&gt;[VB.NET]&lt;/b&gt;&lt;br&gt;If Not GridControl1.FirstVisibleColumn Is Nothing Then&lt;br&gt;    If (Not GridControl1.FirstVisibleColumn Is GridControl1.Columns("CustomerID")) Then&lt;br&gt;        GridControl1.Columns("CustomerID").VisibleIndex = GridControl1.FirstVisibleColumn.VisibleIndex&lt;br&gt;    End If&lt;br&gt;End If&lt;br&gt;</description><pubDate>5/16/2006 4:23:27 PM</pubDate></item><item><title>Does the Xceed FTP Library support SSH?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=287</link><description>&lt;h3&gt;Description : &lt;/h3&gt;&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;Unfortunately, the Xceed FTP Library does not support SSH. Xceed Ftp for .NET does however support SSL and TLS. </description><pubDate>5/16/2006 3:02:18 PM</pubDate></item><item><title>How do I tell Xceed Zip to use the Zip64 zip file format?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=281</link><description>&lt;h3&gt;Description : &lt;/h3&gt;&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;With the ActiveX version of Xceed Zip, as of version 5.0, &lt;br&gt;when Zipping, all zip files will automatically be converted to the Zip64 compression format if the limitations of the regular Zip format are reached. &lt;br&gt;&lt;br&gt;When Unzipping or listing the contents of a Zip file, Xceed Zip will automatically detect if a zip file is a Zip64 file.&lt;br&gt;&lt;br&gt;Xceed Zip for .NET and Xceed Zip for .NET Compact Framework also support the Zip64 format.&lt;br&gt;&lt;br&gt;</description><pubDate>5/16/2006 2:57:52 PM</pubDate></item><item><title>How do I display a description rather than an ID?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=274</link><description>&lt;h3&gt;Description : &lt;/h3&gt;I have a column that contains ID's however I want to display there description rather than then ID. How do I do this?

ForeignKey&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;In order to display a description rather than an ID, you will need to use the GridComboBox as a viewer (and editor if desired).&lt;br&gt;&lt;br&gt;This is done by binding the GridComboBox to the table that contains the ID's descriptions and to set its DisplayMember and ValueMember properties.&lt;br&gt;&lt;br&gt;For example:&lt;br&gt;&lt;br&gt;Xceed.Grid.Editors.GridComboBox editor = new Xceed.Grid.Editors.GridComboBox();&lt;br&gt;&lt;br&gt;editor.DataSource = dataSetProducts1.Tables[ 0 ];&lt;br&gt;editor.DisplayMember = "ProductName";&lt;br&gt;editor.ValueMember = "ProductID";&lt;br&gt;&lt;br&gt;gridControl1.Columns[ "ProductID" ].CellEditor = editor;&lt;br&gt;gridControl1.Columns[ "ProductID" ].CellViewer = editor;&lt;br&gt;&lt;br&gt;The above code assumes that you have a ProductID column in the grid and will result in the ProductID column displaying the description of the product that corresponds to the ID.&lt;br&gt;&lt;br&gt;</description><pubDate>5/16/2006 2:54:53 PM</pubDate></item><item><title>Is it possible to edit a cell without having to double-click?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=401</link><description>&lt;h3&gt;Description : &lt;/h3&gt;I want to edit a cell as soon as I click on it (single click edit), I don't want to have to double-click. Is it possible?&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;&lt;b&gt;Version 2.1 and up&lt;/b&gt;&lt;br&gt;There is the SingleClickEdit property on the GridControl that can be set to true.&lt;br&gt;&lt;br&gt;&lt;b&gt;Version 2.0 and down&lt;/b&gt;&lt;br&gt;Yes. In order to do so, you need to subscribe to each DataCell's Click event and call the cell's EnterEdit method. &lt;br&gt;&lt;br&gt;A C# example can be downloaded from &lt;a href="http://www.xceedsoft.com/cs/download/XceedGrid/CSharp/SingleClickEdit.zip"&gt;here&lt;/a&gt;.&lt;br&gt;</description><pubDate>5/11/2006 5:08:25 PM</pubDate></item><item><title>How do I create a viewer/editor that contains multiple controls?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=407</link><description>&lt;h3&gt;Description : &lt;/h3&gt;I want to create a viewer and editor that contains multiple controls. Is it possible?
&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;Yes. In order to create a viewer and editor that contains multiple controls, you must create a UserControl and implement the ICellEditor and ICellViewer interfaces.&lt;br&gt;&lt;br&gt;It is very important that in the ICellViewer.PaintCellValue method that you paint all the child controls yourself.&lt;br&gt;&lt;br&gt;A &lt;a href="http://www.xceedsoft.com/cs/download/XceedGrid/CSharp/UberControlViewer.zip"&gt;C# sample&lt;/a&gt; that demonstrates the required implementation is available for download.&lt;br&gt;&lt;br&gt;&lt;b&gt;Keep in mind that this is for advanced developers.&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;As of version 3.0&lt;/b&gt;, there are new CellEditorManager and CellViewerManager classes that must be used to accomplish this.  You can find more information &lt;a href= "http://doc.xceedsoft.com/products/gridNET/doc/sources/celleditormanagers_and_cellviewermanagers.htm"&gt;here&lt;/a&gt;</description><pubDate>5/8/2006 4:37:20 PM</pubDate></item><item><title>How do I print page numbers when printing the grid?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=410</link><description>&lt;h3&gt;Description : &lt;/h3&gt;Is it possible to have page numbers when printing the grid?&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;Yes. In order to do so, you will need to create a class that derives from the GridPrintDocument class and override the OnPrintPage method (to print the header or footer) and the OnBeginPrint method to initialize the page counter.&lt;br&gt;&lt;br&gt;A VB.NET class that demonstrates the required implementation can be found &lt;a href="http://www.xceedsoft.com/cs/download/XceedGrid/VisualBasicNET/UberGridPrintDocument.txt"&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;To use the custom GridPrintDocument, the following code must be used:&lt;br&gt;&lt;br&gt;Dim printDocument As New UberGridPrintDocument(GridControl1)&lt;br&gt;printDocument.Print()&lt;br&gt;&lt;br&gt;Keep in mind that if you call the Grid's Print or PrintPreview methods, the grid will &lt;b&gt;always&lt;/b&gt; be printed with the default print document.&lt;br&gt;&lt;br&gt;&lt;b&gt;As of Xceed Grid for .NET 3.0&lt;/b&gt;, there is a new reporting  engine that allows much more flexibility, which will also permit to print page numbers.  You will find more information &lt;a href="http://doc.xceedsoft.com/products/gridNET/doc/sources/getting_started_with_reporting.htm"&gt;here&lt;/a&gt;.&lt;br&gt;</description><pubDate>5/8/2006 4:16:45 PM</pubDate></item><item><title>How can I print a range of pages?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=411</link><description>&lt;h3&gt;Description : &lt;/h3&gt;Is it possible to print a range of pages using the grid?&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;&lt;b&gt;Version 3.0 and up&lt;/b&gt;&lt;br&gt;&lt;br&gt;Yes.  Simply use the PrinterSettings property.&lt;br&gt;&lt;br&gt;Dim printDocument As New GridPrintDocument(GridControl1)&lt;br&gt;&lt;br&gt;printDocument.PrinterSettings.PrintRange = System.Drawing.Printing.PrintRange.SomePages&lt;br&gt;printDocument.PrinterSettings.FromPage = 3&lt;br&gt;printDocument.PrinterSettings.ToPage = 4&lt;br&gt;&lt;br&gt;printDocument.Print()&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;Version 2.5 and older&lt;/b&gt;&lt;br&gt;&lt;br&gt;Yes and no. With the current version of the grid, you can only decide at what page to stop printing; it is not possible to decide at which page to start the printing process. This said, to stop the printing process after page number x, you can use the following code:&lt;br&gt;&lt;br&gt;Dim printDocument As New GridPrintDocument(GridControl1)&lt;br&gt;&lt;br&gt;AddHandler printDocument.PrintPage, AddressOf Me.PrintPages&lt;br&gt;&lt;br&gt;printDocument.PrinterSettings.PrintRange = Drawing.Printing.PrintRange.SomePages&lt;br&gt;printDocument.PrinterSettings.FromPage = 1&lt;br&gt;printDocument.PrinterSettings.ToPage = 3&lt;br&gt;&lt;br&gt;printDocument.Print()&lt;br&gt;&lt;br&gt;' You decide when the printing process stops in the &lt;br&gt;' PrintPage event.&lt;br&gt;&lt;br&gt;Private m_pageCounter As Integer = 0&lt;br&gt;&lt;br&gt;Private Sub PrintPages(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs)&lt;br&gt;&lt;br&gt;    m_pageCounter = m_pageCounter + 1&lt;br&gt;&lt;br&gt;    If e.PageSettings.PrinterSettings.PrintRange = Drawing.Printing.PrintRange.SomePages Then&lt;br&gt;        If m_pageCounter &gt;= e.PageSettings.PrinterSettings.ToPage Then&lt;br&gt;            e.HasMorePages = False&lt;br&gt;        End If&lt;br&gt;    End If&lt;br&gt;End Sub&lt;br&gt;</description><pubDate>5/8/2006 4:03:08 PM</pubDate></item><item><title>Does Xceed Zip for .NET support ASP.NET?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=230</link><description>&lt;h3&gt;Description : &lt;/h3&gt;Does Xceed Zip for .NET support ASP.NET?&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;Xceed Zip for .NET supports both version 1.1 and 2.0 of the .NET Framework (thus ASP.NET).&lt;br&gt;</description><pubDate>5/8/2006 3:57:46 PM</pubDate></item><item><title>Which Xceed products are compatible with FoxPro?</title><link>http://www.xceedsoft.com/kb/results.aspx?id=238</link><description>&lt;h3&gt;Description : &lt;/h3&gt;&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;The Xceed Zip Compression Library, Xceed Backup Library and Xceed FTP Library are compatible with FoxPro.&lt;br&gt;&lt;br&gt;The Xceed Winsock Library, Xceed Encryption Library, Xceed Streaming Compression Library and Xceed Binary Encoding Library are NOT compatible with FoxPro.&lt;br&gt;&lt;br&gt;&lt;br&gt;*Please note that Xceed does not officially support Visual Fox Pro*</description><pubDate>5/8/2006 1:59:42 PM</pubDate></item><item><title>Adding the Backup Library controls in Visual Fox Pro.</title><link>http://www.xceedsoft.com/kb/results.aspx?id=226</link><description>&lt;h3&gt;Description : &lt;/h3&gt;When I add the control for the Xceed Backup Library to my form, in Visual Fox Pro, it only displays ONE control. If I look at it in Visual Basic there are 5 controls. &lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;All of our controls are installed but they do not all&lt;br&gt;start with the Xceed name. &lt;br&gt;&lt;br&gt;You can find all of the controls under their original names:&lt;br&gt;&lt;br&gt;- BackupJob class&lt;br&gt;- FileSelection class&lt;br&gt;- RestoreJob class&lt;br&gt;- ScheduledJob class&lt;br&gt;- Xceed Backup Control 1.0&lt;br&gt;&lt;br&gt;&lt;br&gt;*Please note that Xceed does not officially support Visual Fox Pro*</description><pubDate>5/8/2006 1:55:20 PM</pubDate></item><item><title>Installing Xceed components in Visual DataFlex</title><link>http://www.xceedsoft.com/kb/results.aspx?id=200</link><description>&lt;h3&gt;Description : &lt;/h3&gt;How do I install my Xceed component into Visual DataFlex?&lt;br&gt;&lt;br&gt;&lt;h3&gt;Solution : &lt;/h3&gt;1- Make sure that the Xceed component is correctly installed and registered with the operating system.&lt;br&gt;&lt;br&gt;2- From The Ide Menu Choose Tools&gt;Import ActiveX Control. This will bring up a list of Registered ActiveX Components&lt;br&gt;&lt;br&gt;3- Scroll down the list and choose the component &lt;br&gt;&lt;br&gt;4- The "Generate" checkboxes for all applicable classes should be checked. &lt;br&gt;&lt;br&gt;     - Leave the "Data-Aware" checkboxes unchecked. &lt;br&gt;     - Repository should be global. &lt;br&gt;     - PKG File should be C:\Program Files\VDF7\Pkg\XceedBkp.pkg&lt;br&gt;     - Palette Page should be ActiveX &lt;br&gt;&lt;br&gt;The IDE should allocate the relevant Xceed Bitmaps to each control.  This is used to identify the control on the IDE's &gt;Controls Palette&gt; (explained later).  If they do not show up it may be because the bit map isn't there. It shouldn't happen but occasionally it does.  Try moving the mouse about an watch for the tool tips to appear. You can also change the bit maps using  Tools &gt; Maintain Class-Lists &gt; Edit, from the main IDE menu.&lt;br&gt; &lt;br&gt;5- Click Ok.  The &lt; Select Methods and Properties &gt; Dialog box will appear.  Click Ok (No need to change anything)&lt;br&gt;This will Register all the Classes in the IDE, and generate the wrapper Classes in the file XceedBkp.pkg&lt;br&gt;&lt;br&gt;The Code Explorer Edit Box will be displayed showing the XceedBkp.pkg file.  You do not need to edit the package.&lt;br&gt;Click the Close Button (X) of the CODE EXPLORER. This will return you to the Visual Editing mode of the IDE.  It will however, be blank at this stage.&lt;br&gt; &lt;br&gt;You then need to set up a View to work with.&lt;br&gt;&lt;br&gt;From the IDE Menu Choose &gt;File &gt; New Componant.&lt;br&gt; &lt;br&gt;Select &gt;Blank View&gt; from the Data Entry Tab &gt; Click Ok&lt;br&gt;This will Create a new Blank View.&lt;br&gt; &lt;br&gt;From the IDE Menu Choose &gt;Tools &gt; Controls Pallet&lt;br&gt;This will provide you with a floating tools menu&lt;br&gt; &lt;br&gt;Choose &gt;ActiveX Pallet.  The Xceed Objects will be visible as per the bit maps selected   &lt;br&gt; &lt;br&gt;Drag the relavant controls onto the view. Right Click any control to view it's object properties and also it's Active X properties.&lt;br&gt;&lt;br&gt;***Information provided by Martin Kelly!***&lt;br&gt;&lt;br&gt;*Please note that Xceed does not officially Visual DataFlex*</description><pubDate>5/5/2006 3:21:41 PM</pubDate></item></channel></rss>