<?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:blogger='http://schemas.google.com/blogger/2008' 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-6164195513103503764</id><updated>2024-09-09T16:09:26.722-07:00</updated><category term="Visual Basic Programs"/><category term="Visual Basic Functions"/><category term="User Define Functions of V.B"/><category term="Visual Basic Examples"/><category term="Delegate"/><title type='text'>Microsoft Languages - DotNet VB, C#, VB.Net</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-1340643584248527587</id><published>2009-07-22T07:26:00.000-07:00</published><updated>2009-07-22T07:36:39.621-07:00</updated><title type='text'>Multi Thread In VB.net</title><summary type="text">Multi Threading in VB.Netimports system.threadingDim ThreadObject As ThreadThreadObject = New Thread(AddressOf ClassName.functioname)ThreadObject.Start()_________________________________________________________________The Thread generally does not accept any argument. you can create a constructor of a class and pass the required argument to that constructor.E.g.:ClassObject = New Classname(arg1,</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/1340643584248527587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/07/multi-thread-in-vbnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/1340643584248527587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/1340643584248527587'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/07/multi-thread-in-vbnet.html' title='Multi Thread In VB.net'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-5510542894257806262</id><published>2009-05-29T14:08:00.000-07:00</published><updated>2009-05-29T14:10:58.394-07:00</updated><title type='text'>Convert .vox to .wav</title><summary type="text">mdlconvertvox2wav.Convert(SourceFileName, destinationFileName)_________________________________________________________________Create a moduleModule mdlconvertvox2wav    Dim WaveHeader() As Int32 = New Int32() {&amp;amp;H46464952, &amp;amp;HFFFFFFDB, &amp;amp;H45564157, &amp;amp;H20746D66, 16, &amp;amp;H10001, 6000, 12000, &amp;amp;H100002, &amp;amp;H61746164, -1}    Dim IndexShift() As Int16 = New Int16() {-1, -1, -1, -1, </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/5510542894257806262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/05/convert-vox-to-wav.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/5510542894257806262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/5510542894257806262'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/05/convert-vox-to-wav.html' title='Convert .vox to .wav'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-8737453511943045927</id><published>2009-05-29T14:00:00.000-07:00</published><updated>2009-05-29T14:12:03.053-07:00</updated><title type='text'>Text to Speech</title><summary type="text">Step 1: Add a reference with com object Mocrosoft speech Object LibrarySt2p 2:Import SppechlibCode :Dim voice As New SpVoice___________________________________________________________Read from the FileOpenFileDialog.Filter = &quot;Text Files (*.txt)|*.txt&quot;           If OpenFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then               Dim fs As New System.IO.FileStream(</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/8737453511943045927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/05/how-to-use-tts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/8737453511943045927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/8737453511943045927'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/05/how-to-use-tts.html' title='Text to Speech'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-4935779688900393489</id><published>2009-05-06T09:26:00.004-07:00</published><updated>2009-05-19T11:29:09.181-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Delegate"/><title type='text'>Use of Delegate in c#</title><summary type="text">// Declare the Delegatepublic delegate void Uploaddelegate();// Create the object of DelegateUploaddelegate obj1 = new Uploaddelegate(ABC); public static void ABC()       {              // Enter the Code to Do       }</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/4935779688900393489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/05/use-of-delegate-in-c_4454.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/4935779688900393489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/4935779688900393489'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/05/use-of-delegate-in-c_4454.html' title='Use of Delegate in c#'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-2866802936771090517</id><published>2009-04-30T15:10:00.004-07:00</published><updated>2009-05-19T11:29:09.139-07:00</updated><title type='text'>Namespaces of .Net</title><summary type="text">System: Includes essential classes and base classes for                                     commonly used data types, events, exceptions and so on                                  System.Collections: Includes classes and interfaces that                                     define various collection of objects such as list, queues,                                                                    </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/2866802936771090517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/04/namespaces-of-net_4022.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/2866802936771090517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/2866802936771090517'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/04/namespaces-of-net_4022.html' title='Namespaces of .Net'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-8214139847410931380</id><published>2009-04-29T14:04:00.004-07:00</published><updated>2009-05-19T11:29:09.226-07:00</updated><title type='text'>Extract the icon From Exe</title><summary type="text">______________________ Class Definition_____________________Imports SystemImports System.DrawingImports System.Runtime.InteropServicesPublic Class ClsExtractIcon    &#39;=====================================================================================    &#39; Enumerations    &#39;=====================================================================================     Private Enum SHGFI        SmallIcon</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/8214139847410931380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/04/extract-icon-from-exe_8730.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/8214139847410931380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/8214139847410931380'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/04/extract-icon-from-exe_8730.html' title='Extract the icon From Exe'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-3176508514500957888</id><published>2009-04-29T13:54:00.004-07:00</published><updated>2009-05-19T11:29:09.240-07:00</updated><title type='text'>Programatically Open DSN Window in VB.Net</title><summary type="text">System.Diagnostics.Process.Start(&quot;ODBCad32&quot;)</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/3176508514500957888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/04/programatically-open-dsn-window-in_5564.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/3176508514500957888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/3176508514500957888'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/04/programatically-open-dsn-window-in_5564.html' title='Programatically Open DSN Window in VB.Net'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-8034435821244435531</id><published>2009-04-29T13:49:00.004-07:00</published><updated>2009-05-19T11:29:09.256-07:00</updated><title type='text'>Send SMS in VB.Net</title><summary type="text">For Sending a SMS you have to purchase the SMS gateway and correspondingly you will get the url for thatExample URL= &quot;http://.xyz/default.aspx/sendSMSusername=???password=????  Dim TempURL As String = URL For Sending a SMS you have to purchase the SMS gateway and correspondingly you will get the url for that________________________Code________________________________               Dim useMsg As </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/8034435821244435531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/04/send-sms-in-vbnet_5094.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/8034435821244435531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/8034435821244435531'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/04/send-sms-in-vbnet_5094.html' title='Send SMS in VB.Net'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-1667582260907272779</id><published>2009-04-29T13:39:00.004-07:00</published><updated>2009-05-19T11:29:09.279-07:00</updated><title type='text'>Check the table whether it exist or not</title><summary type="text">Private Function fcheckTable(ByVal sDatabaseName As String, ByVal Tablename As String) As Boolean       Try           fcheckTable = False           Dim sSQL As String = &quot;show tables in &quot; &amp;amp; sDatabaseName           objCmd = New OdbcCommand(sSQL, ObjCon)           Dim oRS As Odbc.OdbcDataReader = objCmd.ExecuteReader           Do While oRS.Read               If Trim(UCase(Tablename)) = Trim(</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/1667582260907272779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/04/check-table-whether-it-exist-or-not_7880.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/1667582260907272779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/1667582260907272779'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/04/check-table-whether-it-exist-or-not_7880.html' title='Check the table whether it exist or not'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-659541521463093034</id><published>2009-04-29T13:37:00.004-07:00</published><updated>2009-05-19T11:29:09.306-07:00</updated><title type='text'>Get The Tables List From a database</title><summary type="text"> Private Sub GetTables(ByVal sDatabaseName As String)        Try            Dim sSQL As String = &quot;show tables in &quot; &amp;amp; sDatabaseName            objCmd = New OdbcCommand(sSQL, ObjCon)            &#39;Cmd = CN.CreateCommand            &#39;Cmd.CommandText = sSQL            Dim oRS As Odbc.OdbcDataReader = objCmd.ExecuteReader           &#39;Do While oRS.Read                cbotablename.Items.Add(oRS(0))</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/659541521463093034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/04/get-tables-list-from-database_6490.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/659541521463093034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/659541521463093034'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/04/get-tables-list-from-database_6490.html' title='Get The Tables List From a database'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-5570874754392337758</id><published>2009-02-18T10:34:00.004-08:00</published><updated>2009-05-19T11:29:09.322-07:00</updated><title type='text'>Mail Sending in VB.Net</title><summary type="text">*************************************************Class  Starts Here_________________________________________Imports System.NetImports System.Net.MailImports System.ConfigurationImports System.Text.RegularExpressionsPublic Class ClsMailSender    Public seting As SettingType    Private _MMsg As Net.Mail.MailMessage    Private _EServer As Net.Mail.SmtpClient    Private _Cred As NetworkCredential    </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/5570874754392337758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/mail-sending-in-vbnet_4076.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/5570874754392337758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/5570874754392337758'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/mail-sending-in-vbnet_4076.html' title='Mail Sending in VB.Net'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-6196434084413500271</id><published>2009-02-18T10:32:00.004-08:00</published><updated>2009-05-19T11:29:09.340-07:00</updated><title type='text'>Export a list View to a file</title><summary type="text">Public Function exportListView(ByVal lvw As ListView, Optional ByVal Mtype As String = &quot;&quot;) As System.Text.StringBuilder        Dim str As New System.Text.StringBuilder()        Dim st As String() = New String(lvw.Columns.Count - 1) {}        str.Append(vbTab &amp;amp; vbTab &amp;amp; &quot; Viewer&quot; &amp;amp; vbTab &amp;amp; vbTab &amp;amp; vbTab &amp;amp; vbTab &amp;amp; vbCrLf &amp;amp; vbCrLf &amp;amp; vbCrLf &amp;amp; vbCrLf)        For </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/6196434084413500271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/export-list-view-to-file_6149.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/6196434084413500271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/6196434084413500271'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/export-list-view-to-file_6149.html' title='Export a list View to a file'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-8785168213190996822</id><published>2009-02-18T10:29:00.004-08:00</published><updated>2009-05-19T11:29:09.374-07:00</updated><title type='text'>Searching in a list view</title><summary type="text">Private Sub Searching(ByVal str As String, ByVal col As Integer, ByVal Lvws As ListView)        Dim i As Integer        Dim TotalCount As Long = 0        If Val(Lvws.Items.Count) &gt; 0 Then            For Each itm As ListViewItem In Lvws.Items                For i = 0 To itm.SubItems.Count - 1                    If UCase(Trim(itm.SubItems(i).Text)) Like &quot;*&quot; &amp;amp; UCase(Trim(str)) &amp;amp; &quot;*&quot; Then</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/8785168213190996822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/searching-in-list-view_1216.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/8785168213190996822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/8785168213190996822'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/searching-in-list-view_1216.html' title='Searching in a list view'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-76754465107411717</id><published>2009-02-18T10:28:00.004-08:00</published><updated>2009-05-19T11:29:09.390-07:00</updated><title type='text'>Load all the children node of a node of app.config</title><summary type="text">Private Sub sloadSearchSetting()        Dim ary() As String        Dim icount As Integer        Dim doc As XmlDocument = loadConfigDocument()        Dim cnode As XmlNode        Dim KeyName As String        Dim KeyValue As String        Dim i As Integer        Dim XmlDoc As New XmlDocument()        XmlDoc.Load(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile)        For Each xElement As </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/76754465107411717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/load-all-children-node-of-node-of_7451.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/76754465107411717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/76754465107411717'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/load-all-children-node-of-node-of_7451.html' title='Load all the children node of a node of app.config'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-2786600550701029413</id><published>2009-02-18T10:20:00.004-08:00</published><updated>2009-05-19T11:29:09.410-07:00</updated><title type='text'>Read and write your custom Tag in app.config</title><summary type="text">Imports SystemImports System.XmlImports System.ConfigurationImports System.ReflectionModule ReadandWriteinappconfig    Public Function ReadSetting(ByVal key As String) As String        Return System.Configuration.ConfigurationSettings.AppSettings(key)    End Function    Public Sub WriteSetting(ByVal key As String, ByVal value As String, ByVal Settingvalue As String)        &#39; load config document </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/2786600550701029413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/read-and-write-your-custom-tag-in_4862.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/2786600550701029413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/2786600550701029413'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/read-and-write-your-custom-tag-in_4862.html' title='Read and write your custom Tag in app.config'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-4443301914910846460</id><published>2009-02-18T10:17:00.004-08:00</published><updated>2009-05-19T11:29:09.444-07:00</updated><title type='text'>How to Create a Web Service</title><summary type="text">Imports System.WebImports System.Web.ServicesImports System.Web.Services.ProtocolsImports System.IOImports System.DataWebService(Namespace:=&quot;http://aaaaa.com/&quot;)&gt; _  _            Public Function GetMachineIPAddress() As String        Dim strHostName As String = &quot;&quot;        Dim strIPAddress As String = &quot;&quot;        Dim host As System.Net.IPHostEntry        strHostName = System.Net.Dns.GetHostName()</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/4443301914910846460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/how-to-create-web-service_9435.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/4443301914910846460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/4443301914910846460'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/how-to-create-web-service_9435.html' title='How to Create a Web Service'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-7298349105040436361</id><published>2009-02-18T10:12:00.004-08:00</published><updated>2009-05-19T11:29:09.459-07:00</updated><title type='text'>Make an Exe as startup</title><summary type="text">Public Sub AutoStartup()        Try            Dim RegKey As RegistryKey            RegKey = Registry.CurrentUser.OpenSubKey(&quot;SOFTWARE\Microsoft\Windows\CurrentVersion\Run&quot;, True)            RegKey.SetValue(&quot;DBFT Client&quot;, Application.ExecutablePath)          Catch ex As Exception            MakeLog(&quot;Putting in Windods Auto Startup &quot; &amp;amp; Application.ExecutablePath, Err.Number, Err.Description)</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/7298349105040436361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/make-exe-as-startup_9721.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/7298349105040436361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/7298349105040436361'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/make-exe-as-startup_9721.html' title='Make an Exe as startup'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-5782338597117335565</id><published>2009-02-18T10:08:00.004-08:00</published><updated>2009-05-19T11:29:09.474-07:00</updated><title type='text'>How To Write an INI File</title><summary type="text">Module#Region &quot;APICalls&quot;    &#39; standard API declarations for INI access    Private Declare Unicode Function WritePrivateProfileString Lib &quot;kernel32&quot; _Alias &quot;WritePrivateProfileStringW&quot; (ByVal lpApplicationName As String, _ByVal lpKeyName As String, ByVal lpString As String, _ByVal lpFileName As String) As Int32    Private Declare Unicode Function GetPrivateProfileString Lib &quot;kernel32&quot; _Alias &quot;</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/5782338597117335565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/how-to-write-ini-file_5106.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/5782338597117335565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/5782338597117335565'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/how-to-write-ini-file_5106.html' title='How To Write an INI File'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-368460551521071677</id><published>2009-02-18T10:06:00.004-08:00</published><updated>2009-05-19T11:29:09.490-07:00</updated><title type='text'>Read From INI File</title><summary type="text">#Region &quot;APICalls&quot;   &#39; standard API declarations for INI access   Private Declare Unicode Function WritePrivateProfileString Lib &quot;kernel32&quot; _Alias &quot;WritePrivateProfileStringW&quot; (ByVal lpApplicationName As String, _ByVal lpKeyName As String, ByVal lpString As String, _ByVal lpFileName As String) As Int32   Private Declare Unicode Function GetPrivateProfileString Lib &quot;kernel32&quot; _Alias &quot;</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/368460551521071677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/read-from-ini-file_7383.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/368460551521071677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/368460551521071677'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/read-from-ini-file_7383.html' title='Read From INI File'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-1733801821815091979</id><published>2009-02-03T08:45:00.004-08:00</published><updated>2009-05-19T11:29:09.516-07:00</updated><title type='text'>List of Available DSN</title><summary type="text">Public Function fGetDSNList() As String()        Dim RegHandle As RegistryKey        Dim Reg As RegistryKey = Registry.LocalMachine        Dim conRegKey1 As String = &quot;SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources\&quot;        Try            RegHandle = Reg.OpenSubKey(conRegKey1)            Return RegHandle.GetValueNames        Catch err As Exception            Msgbox(err.description)        End Try</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/1733801821815091979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2009/02/list-of-available-dsn_5145.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/1733801821815091979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/1733801821815091979'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2009/02/list-of-available-dsn_5145.html' title='List of Available DSN'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-3771536867915510483</id><published>2008-12-29T00:38:00.004-08:00</published><updated>2009-05-19T11:29:09.553-07:00</updated><title type='text'>Show a list View in Group</title><summary type="text">This will show the list view GroupDim ObjListItem As ListViewItemDim ObjListViewGroup As ListViewGroupObjListViewGroup = New ListViewGroup(&quot;File Name :&quot; &amp;amp; FileName)LvwBills.Groups.Add(ObjListViewGroup)For iCount = 0 To 10                                ObjListItem = New ListViewItem(ObjListViewGroup)                ObjListItem.SubItems.Add(&quot;ABCD&quot;                              </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/3771536867915510483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2008/12/show-list-view-in-group_9674.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/3771536867915510483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/3771536867915510483'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2008/12/show-list-view-in-group_9674.html' title='Show a list View in Group'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-178991490605398312</id><published>2008-12-26T05:45:00.004-08:00</published><updated>2009-05-19T11:29:09.570-07:00</updated><title type='text'>File opertation in VB.Net</title><summary type="text">imports system.ioPublic Class Form1    Public Sub MaintainintoFile(Optional ByVal StringtoWrite As String = &quot;Error Not Trapped&quot;)        Try            Dim StartLog As Boolean            Dim FName As String            Dim LogDirName As String            Dim BaseErr As String = &quot;&quot;            Dim fs As FileStream            Dim fileWrite As StreamWriter            Dim dir As String            </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/178991490605398312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2008/12/file-opertation-in-vbnet_5019.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/178991490605398312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/178991490605398312'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2008/12/file-opertation-in-vbnet_5019.html' title='File opertation in VB.Net'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-9147043212623440173</id><published>2008-12-26T04:54:00.004-08:00</published><updated>2009-05-19T11:29:09.536-07:00</updated><title type='text'>Download a File From an URL</title><summary type="text">Imports SystemImports System.ConfigurationImports System.Resources  &#39; Resource readersImports System.Net.WebClientImports System.IO Public Class Form1     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As  System.EventArgs) Handles MyBase.Load         Dim flag As Boolean = False        Dim name As String =  &quot;&quot;        Dim number As Integer = 0        Dim FTPC As New  </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/9147043212623440173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2008/12/download-file-from-url_9234.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/9147043212623440173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/9147043212623440173'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2008/12/download-file-from-url_9234.html' title='Download a File From an URL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-925701203416645008</id><published>2008-12-26T04:53:00.004-08:00</published><updated>2009-05-19T11:29:09.586-07:00</updated><title type='text'>Get the name and type of column of a table</title><summary type="text">   Public sub GetColumns(ByVal sTableName As String, ByVal ListBoxObject As ListView)                                Dim iCount As Integer                Dim ObjListviewItem As ListViewItem                Dim sSQL As String = &quot;Select * From &quot; &amp;amp; sTableName &amp;amp; &quot; Where 1 = 2&quot;                Dim oCmd As Odbc.OdbcCommand = New OdbcCommand(sSQL, ObjCon)                               Dim oRS As </summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/925701203416645008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2008/12/get-name-and-type-of-column-of-table_6732.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/925701203416645008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/925701203416645008'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2008/12/get-name-and-type-of-column-of-table_6732.html' title='Get the name and type of column of a table'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6164195513103503764.post-1170523582586480067</id><published>2008-12-26T04:38:00.004-08:00</published><updated>2009-05-19T11:29:09.605-07:00</updated><title type='text'>List Of Table</title><summary type="text"> Private sub GetTables(ByVal sDatabaseName As String, ByVal ListBoxObject As ListBox)            Try                               Dim sSQL As String = &quot;show tables in &quot; &amp;amp; sDatabaseName                Dim oCmd As Odbc.OdbcCommand = ObjCon.CreateCommand                oCmd.CommandText = sSQL                Dim oRS As Odbc.OdbcDataReader = oCmd.ExecuteReader                Do While oRS.Read</summary><link rel='replies' type='application/atom+xml' href='http://mslangs.blogspot.com/feeds/1170523582586480067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mslangs.blogspot.com/2008/12/list-of-table_7332.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/1170523582586480067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6164195513103503764/posts/default/1170523582586480067'/><link rel='alternate' type='text/html' href='http://mslangs.blogspot.com/2008/12/list-of-table_7332.html' title='List Of Table'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>