<?xml version="1.0" ?><rss version="2.0" xmlns:ec="http://www.eggheadcafe.com"><channel><title>eggheadcafe.com VB.NET FAQs</title><link>http://www.eggheadcafe.com</link><pubDate>Fri, 26 Apr 2013 15:36:54 GMT</pubDate><description>EggHeadCafe - The .NET developer's portal of choice</description><language>en-us</language><item><title><![CDATA[VB.NET Search and Replace in Word document]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/eb830519-f4ba-4432-9eee-986235e00637/vbnet-search-and-replace-in-word-document.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/eb830519-f4ba-4432-9eee-986235e00637/vbnet-search-and-replace-in-word-document.aspx]]></link><description><![CDATA[Sometimes it may be necessary to use a VB.NET applicaiton to do a Search and Replace in a MS Word document.  This function does the search and replace in all sections of the Word document and saves it back to the disk with the same name.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/eb830519-f4ba-4432-9eee-986235e00637/vbnet-search-and-replace-in-word-document.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 27 Jul 2012 09:46:10 GMT</pubDate></item><item><title><![CDATA[How to use a secure webservice that has an incorrect SSL certificate]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/2851b23b-8a2f-41cb-85a5-6f94b73c6234/how-to-use-a-secure-webservice-that-has-an-incorrect-ssl-certificate.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/2851b23b-8a2f-41cb-85a5-6f94b73c6234/how-to-use-a-secure-webservice-that-has-an-incorrect-ssl-certificate.aspx]]></link><description><![CDATA[If you are using a Third party web service but they have the certificate improperly configured, expired and/or wrong certificate you will need to ignore the error and continue on to the site.  This isn't an issue when using the browser, but through VB.NET code it's a little different.  The possible error that would be generated is:  "Could not establish trust relationship for the SSL/TLS secure channel."&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/2851b23b-8a2f-41cb-85a5-6f94b73c6234/how-to-use-a-secure-webservice-that-has-an-incorrect-ssl-certificate.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 17 Jun 2011 15:00:11 GMT</pubDate></item><item><title><![CDATA[How to set the navigateurl property on a asp:hyperlink element]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/ad1e9b45-0500-47d0-8831-fa2e4aafe8bc/how-to-set-the-navigateurl-property-on-a-asphyperlink-element.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/ad1e9b45-0500-47d0-8831-fa2e4aafe8bc/how-to-set-the-navigateurl-property-on-a-asphyperlink-element.aspx]]></link><description><![CDATA[Suppose you have a link like this, but want to change the navigateurl at run time.<asp:hyperlink id="idLink1" runat="server" CssClass="links" NavigateUrl="../link1.aspx">Link1</asp:hyperlink>You can't just do<asp:hyperlink id="idLink1" runat="server" CssClass="links" NavigateUrl="<%= GetURL('link1') %>">Link1</asp:hyperlink>You can remove the navigateurl property from the asp:hyperlink element and set it in the page_load.  This will set the navigateurl property.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/ad1e9b45-0500-47d0-8831-fa2e4aafe8bc/how-to-set-the-navigateurl-property-on-a-asphyperlink-element.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 04 May 2011 10:48:50 GMT</pubDate></item><item><title><![CDATA[VB.NET Draw text on Image]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/75d92aec-cf39-458d-b31e-ecd468ddd500/vbnet-draw-text-on-image.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/75d92aec-cf39-458d-b31e-ecd468ddd500/vbnet-draw-text-on-image.aspx]]></link><description><![CDATA[How to Set Text on Image in Vb.net&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/75d92aec-cf39-458d-b31e-ecd468ddd500/vbnet-draw-text-on-image.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 24 Mar 2011 09:09:54 GMT</pubDate></item><item><title><![CDATA[Read a CSV file into a datagridview in VB.NET]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/5a1b375e-d809-45f5-8979-3bb25ef489a2/read-a-csv-file-into-a-datagridview-in-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/5a1b375e-d809-45f5-8979-3bb25ef489a2/read-a-csv-file-into-a-datagridview-in-vbnet.aspx]]></link><description><![CDATA[Given a CSV file read it into a datagridview on a form.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/5a1b375e-d809-45f5-8979-3bb25ef489a2/read-a-csv-file-into-a-datagridview-in-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 10 Mar 2011 21:56:54 GMT</pubDate></item><item><title><![CDATA[Run SSIS package from VB.NET]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/e30a7e77-657d-4d7d-9a51-06612a716bd5/run-ssis-package-from-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/e30a7e77-657d-4d7d-9a51-06612a716bd5/run-ssis-package-from-vbnet.aspx]]></link><description><![CDATA[Run a SSIS package from in VB.NET code with a configuration parameter specified.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/e30a7e77-657d-4d7d-9a51-06612a716bd5/run-ssis-package-from-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 02 Mar 2011 08:24:35 GMT</pubDate></item><item><title><![CDATA[.NET Class to print directly to windows printer]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/5dd4df74-d165-47b4-8d59-0a3b20fbf90a/net-class-to-print-directly-to-windows-printer.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/5dd4df74-d165-47b4-8d59-0a3b20fbf90a/net-class-to-print-directly-to-windows-printer.aspx]]></link><description><![CDATA[If you want to print a PCL file directly to an HP printer you need to bypass the Windows printer driver.  In the old DOS days you could do something like 'copy file.pcl prn'.  This VB.NET class does the same sort of thing.  Assuming you have the PCL file in a stream you can print it with this call: RawPrinterHelper.SendStreamToPrinter(_Printer, OutputStream)&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/5dd4df74-d165-47b4-8d59-0a3b20fbf90a/net-class-to-print-directly-to-windows-printer.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 15 Feb 2011 11:51:10 GMT</pubDate></item><item><title><![CDATA[.NET Copy Stream to Stream and dump stream to file]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/fe7491d9-bcfe-4d5e-a4e6-1769dfdd7000/net-copy-stream-to-stream-and-dump-stream-to-file.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/fe7491d9-bcfe-4d5e-a4e6-1769dfdd7000/net-copy-stream-to-stream-and-dump-stream-to-file.aspx]]></link><description><![CDATA[There are lots of occasions when a programmer may want to copy the contents of one stream to another stream.  This may be from one memory stream to another memory stream, or a memory stream to a file stream.  Here are two general routines to assist with doing that.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/fe7491d9-bcfe-4d5e-a4e6-1769dfdd7000/net-copy-stream-to-stream-and-dump-stream-to-file.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 15 Feb 2011 09:58:08 GMT</pubDate></item><item><title><![CDATA[Difference between "Convert.toString" and ".toString()" in VB.Net?]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/1ee0b09b-58fa-430e-8f21-1bd55b181a9e/difference-between-converttostring-and-tostring-in-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/1ee0b09b-58fa-430e-8f21-1bd55b181a9e/difference-between-converttostring-and-tostring-in-vbnet.aspx]]></link><description><![CDATA[Main difference between "Convert.toString" & ".toString()" with one example...&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/1ee0b09b-58fa-430e-8f21-1bd55b181a9e/difference-between-converttostring-and-tostring-in-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 17 Dec 2010 01:01:32 GMT</pubDate></item><item><title><![CDATA[How to ping  In vb.net]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/76a9c546-add7-46a0-b7de-e937bed60693/how-to-ping--in-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/76a9c546-add7-46a0-b7de-e937bed60693/how-to-ping--in-vbnet.aspx]]></link><description><![CDATA[here i will show how you can ping another computer in Vb.net&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/76a9c546-add7-46a0-b7de-e937bed60693/how-to-ping--in-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Sun, 12 Dec 2010 02:03:23 GMT</pubDate></item><item><title><![CDATA[Export DataTable to Excel Sheet using VB.Net]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/ff230471-1799-4195-8c6c-4211f143f9f1/export-datatable-to-excel-sheet-using-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/ff230471-1799-4195-8c6c-4211f143f9f1/export-datatable-to-excel-sheet-using-vbnet.aspx]]></link><description><![CDATA[The following code will give you the method to export the data of DataTable to Excel sheet using Vb.Net&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/ff230471-1799-4195-8c6c-4211f143f9f1/export-datatable-to-excel-sheet-using-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Dec 2010 05:04:35 GMT</pubDate></item><item><title><![CDATA[What is a .NET Manifest?]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/e888eb9a-e418-411e-8c3b-56b0291d0a41/what-is-a-net-manifest.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/e888eb9a-e418-411e-8c3b-56b0291d0a41/what-is-a-net-manifest.aspx]]></link><description><![CDATA[.NET Assembly metadata is stored in Manifest.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/e888eb9a-e418-411e-8c3b-56b0291d0a41/what-is-a-net-manifest.aspx" target="_self">read more</a>]]></description><pubDate>Sun, 05 Dec 2010 11:00:16 GMT</pubDate></item><item><title><![CDATA[Create a DataRelation Between Two Table Fields...]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/052f5240-4261-4227-9cf4-485305abdc37/create-a-datarelation-between-two-table-fields.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/052f5240-4261-4227-9cf4-485305abdc37/create-a-datarelation-between-two-table-fields.aspx]]></link><description><![CDATA[Show How To Create A Relationship Between Two Tables Using Coding...&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/052f5240-4261-4227-9cf4-485305abdc37/create-a-datarelation-between-two-table-fields.aspx" target="_self">read more</a>]]></description><pubDate>Sun, 14 Nov 2010 08:14:08 GMT</pubDate></item><item><title><![CDATA[Create a Sql Select Command Parameterized...]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/08bc248e-b9da-4ce2-a2e4-d5016002c2c9/create-a-sql-select-command-parameterized.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/08bc248e-b9da-4ce2-a2e4-d5016002c2c9/create-a-sql-select-command-parameterized.aspx]]></link><description><![CDATA[Show How To Create a Sql Select Command Parameterized...&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/08bc248e-b9da-4ce2-a2e4-d5016002c2c9/create-a-sql-select-command-parameterized.aspx" target="_self">read more</a>]]></description><pubDate>Sun, 14 Nov 2010 08:02:02 GMT</pubDate></item><item><title><![CDATA[Create a Parameterized Sql Procedure..]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/3a53bdba-491f-4d71-9c0c-288d5f771ce3/create-a-parameterized-sql-procedure.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/3a53bdba-491f-4d71-9c0c-288d5f771ce3/create-a-parameterized-sql-procedure.aspx]]></link><description><![CDATA[Show How To Create a Sql Parameterized Procedure...&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/3a53bdba-491f-4d71-9c0c-288d5f771ce3/create-a-parameterized-sql-procedure.aspx" target="_self">read more</a>]]></description><pubDate>Sun, 14 Nov 2010 07:59:13 GMT</pubDate></item><item><title><![CDATA[CONNECTING AND COPY THE FILE FROM FTP SERVER]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/0a370feb-4ae2-4531-8694-bdb96d38313f/connecting-and-copy-the-file-from-ftp-server.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/0a370feb-4ae2-4531-8694-bdb96d38313f/connecting-and-copy-the-file-from-ftp-server.aspx]]></link><description><![CDATA[Connecting FTP Server to read and copy the file into destination folder.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/0a370feb-4ae2-4531-8694-bdb96d38313f/connecting-and-copy-the-file-from-ftp-server.aspx" target="_self">read more</a>]]></description><pubDate>Sun, 07 Nov 2010 03:35:50 GMT</pubDate></item><item><title><![CDATA[Special properties of Windows Form class in VB.Net]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/072cf6f2-9fd9-4455-8b20-445e5dbe7dd2/special-properties-of-windows-form-class-in-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/072cf6f2-9fd9-4455-8b20-445e5dbe7dd2/special-properties-of-windows-form-class-in-vbnet.aspx]]></link><description><![CDATA[Code for some special properties of form&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/072cf6f2-9fd9-4455-8b20-445e5dbe7dd2/special-properties-of-windows-form-class-in-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 23 Oct 2010 21:06:34 GMT</pubDate></item><item><title><![CDATA[VB.Net add new button & add it's click event at runtime]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/1dae6e6d-8648-4ecf-acce-9703c6d7393a/vbnet-add-new-button--add-its-click-event-at-runtime.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/1dae6e6d-8648-4ecf-acce-9703c6d7393a/vbnet-add-new-button--add-its-click-event-at-runtime.aspx]]></link><description><![CDATA[How to add new button at runtime & add it's click event at runtime...&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/1dae6e6d-8648-4ecf-acce-9703c6d7393a/vbnet-add-new-button--add-its-click-event-at-runtime.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 23 Oct 2010 01:54:20 GMT</pubDate></item><item><title><![CDATA[VB.NET Timer - Add Tick Event At Runtime]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/d0a4b4fa-4efd-4756-b968-61b194e8eb1e/vbnet-timer--add-tick-event-at-runtime.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/d0a4b4fa-4efd-4756-b968-61b194e8eb1e/vbnet-timer--add-tick-event-at-runtime.aspx]]></link><description><![CDATA[Code for add timer & add tick event & display current timer in label&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/d0a4b4fa-4efd-4756-b968-61b194e8eb1e/vbnet-timer--add-tick-event-at-runtime.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 23 Oct 2010 01:13:20 GMT</pubDate></item><item><title><![CDATA[Perform your action when particular power mode is change in Vb.Net.]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/11124a53-d307-4ee6-a2c0-e3f66ab2e158/perform-your-action-when-particular-power-mode-is-change-in-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/11124a53-d307-4ee6-a2c0-e3f66ab2e158/perform-your-action-when-particular-power-mode-is-change-in-vbnet.aspx]]></link><description><![CDATA[Show code how you can perform your operation for particluar pwer mode is there...&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/11124a53-d307-4ee6-a2c0-e3f66ab2e158/perform-your-action-when-particular-power-mode-is-change-in-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 22 Oct 2010 01:59:10 GMT</pubDate></item><item><title><![CDATA[How to read and write registry value in Vb.Net]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/38e87144-a0f5-4f83-bd38-49c13dd4f640/how-to-read-and-write-registry-value-in-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/38e87144-a0f5-4f83-bd38-49c13dd4f640/how-to-read-and-write-registry-value-in-vbnet.aspx]]></link><description><![CDATA[Code for read registry value & write registry value&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/38e87144-a0f5-4f83-bd38-49c13dd4f640/how-to-read-and-write-registry-value-in-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 22 Oct 2010 08:02:20 GMT</pubDate></item><item><title><![CDATA[How to check that given registry key  exists  in Vb.Net]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/7d609f30-3a26-4e94-a5ab-ea09820c1d8f/how-to-check-that-given-registry-key--exists--in-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/7d609f30-3a26-4e94-a5ab-ea09820c1d8f/how-to-check-that-given-registry-key--exists--in-vbnet.aspx]]></link><description><![CDATA[Display code to check if the given registry key exists&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/7d609f30-3a26-4e94-a5ab-ea09820c1d8f/how-to-check-that-given-registry-key--exists--in-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 22 Oct 2010 11:59:12 GMT</pubDate></item><item><title><![CDATA[How to create registry & delete registry using VB.Net]]></title><guid isPermaLink="true"><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/4b396091-8f36-48c7-9729-5837ac7812ae/how-to-create-registry--delete-registry-using-vbnet.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/sample-code/VB.NET/4b396091-8f36-48c7-9729-5837ac7812ae/how-to-create-registry--delete-registry-using-vbnet.aspx]]></link><description><![CDATA[Show how to create registry & how to delete particular registry&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/sample-code/VB.NET/4b396091-8f36-48c7-9729-5837ac7812ae/how-to-create-registry--delete-registry-using-vbnet.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 22 Oct 2010 08:01:08 GMT</pubDate></item></channel></rss>