<?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: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-7477674401888840508</id><updated>2011-12-09T02:35:55.696-08:00</updated><category term='Activex'/><category term='Internet and Network'/><category term='Forms Controls'/><category term='Windows Operation'/><category term='String Manipulation'/><category term='Databases'/><category term='Security'/><category term='Multimedia'/><category term='Files and Directories'/><category term='Library'/><title type='text'>VB6 Stuff</title><subtitle type='html'>Source code, tips and trick vb6, tutorial vb6, control activex, library</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>36</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-8011523575992529823</id><published>2010-08-29T11:04:00.000-07:00</published><updated>2010-08-29T11:06:55.384-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='String Manipulation'/><title type='text'>Encoding Strings using Escape Characters Basic</title><summary type='text'>This how to encoding string using escape character. First, create new module and copy this code:Public Function Encode(ByVal Val As String) As String    Dim i As Long, curChar As String    For i = 1 To Len(Val)        curChar = Mid(Val, i, 1)        If curChar = vbCr Then            Encode = Encode &amp; "c"        ElseIf curChar = vbLf Then            Encode = Encode &amp; "l"        ElseIf curChar = ""</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/8011523575992529823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2010/08/encoding-strings-using-escape.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/8011523575992529823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/8011523575992529823'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2010/08/encoding-strings-using-escape.html' title='Encoding Strings using Escape Characters Basic'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-7761292679569247419</id><published>2010-08-27T20:55:00.000-07:00</published><updated>2010-08-27T21:11:51.274-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Multimedia'/><title type='text'>Make a transparent bitmap</title><summary type='text'>Here's a simple way to create a bitmap to be transparent. First create a new module and paste the following code:Option ExplicitPublic Type RECT   Left As Long  Top As Long  Right As Long  Bottom As LongEnd Type Public Declare Function BitBlt Lib "gdi32" _   (ByVal hDCDest As Long, ByVal XDest As Long, _   ByVal YDest As Long, ByVal nWidth As Long, _   ByVal nHeight As Long, ByVal hDCSrc As Long,</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/7761292679569247419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2010/08/make-transparent-bitmap.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7761292679569247419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7761292679569247419'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2010/08/make-transparent-bitmap.html' title='Make a transparent bitmap'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-7755818137709907600</id><published>2010-01-14T07:25:00.000-08:00</published><updated>2010-01-14T07:35:03.292-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Operation'/><title type='text'>Get Mouse Cursor Position Inside or Outside Form</title><summary type='text'>Here is a simple way to get mouse cursor position on the form or outside the form. First create a new form, then add the label and the timer control on the form. After that, paste the following code:Private Declare Function GetCursorPos Lib "user32" (lpPoint As _   POINTAPI) As LongPrivate Type POINTAPI        x As Long        y As LongEnd TypeDim a As POINTAPIDim b As LongDim c As LongPrivate </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/7755818137709907600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2010/01/get-mouse-cursor-position-inside-or.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7755818137709907600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7755818137709907600'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2010/01/get-mouse-cursor-position-inside-or.html' title='Get Mouse Cursor Position Inside or Outside Form'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-4193826601247686730</id><published>2010-01-13T08:18:00.000-08:00</published><updated>2010-01-13T08:32:38.072-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet and Network'/><title type='text'>Send Email using MAPI control on VB6</title><summary type='text'>Here is a simple way to send messages using MAPI control. First add the MAPI component and add the MAPI session and MAPI mail control in your form. Then paste the following code:Public Function send_mail(sendto As String, subject As String, _  text As String) As BooleanOn Error GoTo ErrHandler    With MAPISession1            .DownLoadMail = False            .LogonUI = True            .SignOn</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/4193826601247686730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2010/01/send-email-using-mapi-control-on-vb6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/4193826601247686730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/4193826601247686730'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2010/01/send-email-using-mapi-control-on-vb6.html' title='Send Email using MAPI control on VB6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-519480921620394264</id><published>2010-01-06T06:59:00.000-08:00</published><updated>2010-01-06T07:11:37.191-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Multimedia'/><title type='text'>Play MPEG files in VB6</title><summary type='text'>Here is a simple example to play MPEG files in VB6. First create a new User Control, and then give the name MPEGViewer or whatever. After that, paste the code below:Option ExplicitPrivate Declare Function mciGetErrorString Lib "winmm.dll" Alias "mciGetErrorStringA" (ByVal dwError As Long, ByVal lpstrBuffer As String, ByVal uLength As Long) As LongPrivate Declare Function GetShortPathName Lib "</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/519480921620394264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2010/01/play-mpeg-files-in-vb6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/519480921620394264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/519480921620394264'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2010/01/play-mpeg-files-in-vb6.html' title='Play MPEG files in VB6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-7497134005428920244</id><published>2010-01-03T04:58:00.000-08:00</published><updated>2010-01-03T05:07:27.630-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Operation'/><title type='text'>Create Shortcut using VB6</title><summary type='text'>The following simple code example to create a shortcut. First of all, create a new module and name it "myshortcut" or whatever. After that, paste the code below :Sub CreateShortCut(File As String, icon As String, iconindex As Long, Target As String)    Dim intFreeFile As Integer    File = File &amp; ".url"    intFreeFile = FreeFile    Open File For Output As intFreeFile    Print #intFreeFile, "[</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/7497134005428920244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2010/01/create-shortcut-using-vb6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7497134005428920244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7497134005428920244'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2010/01/create-shortcut-using-vb6.html' title='Create Shortcut using VB6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-972250555287402599</id><published>2009-12-14T06:47:00.000-08:00</published><updated>2009-12-14T06:57:38.215-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Operation'/><title type='text'>Disable Keyboard and Mouse using VB6</title><summary type='text'>The following simple example code to disable the keyboard and mouse. First create a form and add the two commands on the form, then paste the following code:' for disable keyboardPrivate Sub Command1_Click()dim aaaa=shell("rundll keyboard,disable")End Sub'for disable mousePrivate Sub Command2_Click()dim aaaa=shell("RUNDLL MOUSE,DISABLE")End SubNOTE;To reactive them you may need to restart your </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/972250555287402599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/12/disable-keyboard-and-mouse-using-vb6.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/972250555287402599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/972250555287402599'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/12/disable-keyboard-and-mouse-using-vb6.html' title='Disable Keyboard and Mouse using VB6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-1009524442414790867</id><published>2009-12-12T06:48:00.000-08:00</published><updated>2009-12-12T06:53:22.639-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='String Manipulation'/><title type='text'>Read Text From a File</title><summary type='text'>Here's how to read text from a file. First create a new module and paste the following code:Public Function TextFromFile(fInStream As String) As String Dim i As Long, strText As String i = FreeFile strText = "" Open fInStream For Input Lock Write As #i Screen.MousePointer = vbHourglass DoEvents strText = StrConv(InputB$(LOF(i), i), vbUnicode) Close #i Screen.MousePointer = vbDefault TextFromFile </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/1009524442414790867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/12/read-text-from-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/1009524442414790867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/1009524442414790867'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/12/read-text-from-file.html' title='Read Text From a File'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-6474249541304429787</id><published>2009-11-14T04:56:00.000-08:00</published><updated>2009-11-14T05:03:24.188-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Files and Directories'/><title type='text'>Execute a file with its default program</title><summary type='text'>To execute application or file using vb6 you can insert this code:Private Declare Function ShellExecute Lib "shell32.dll" Alias _"ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, _ByVal lpFile As String, ByVal lpParameters As String, ByVal _lpDirectory As String, ByVal nShowCmd As Long) As LongPublic Sub RunCMD(Optional Filename As String)Call ShellExecute(0&amp;,vbNullString,Filename</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/6474249541304429787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/11/execute-file-with-its-default-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6474249541304429787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6474249541304429787'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/11/execute-file-with-its-default-program.html' title='Execute a file with its default program'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-4669078751124668956</id><published>2009-08-30T04:51:00.000-07:00</published><updated>2009-08-30T05:00:39.704-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Databases'/><title type='text'>Export SQL data to CSV</title><summary type='text'>Maybe you are confused to export SQL data to CSV file format. Here is a simple source code to export SQL data to CSV file formatFirst create a new module and paste the following code:Public Function CSVExport(db As DAO.Database, sSQL As String, sDest As String) As Boolean   Dim record        As Recordset   Dim nI            As Long   Dim nJ            As Long   Dim nFile         As Integer   Dim </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/4669078751124668956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/08/export-sql-data-to-csv.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/4669078751124668956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/4669078751124668956'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/08/export-sql-data-to-csv.html' title='Export SQL data to CSV'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-3869343920765589441</id><published>2009-08-19T08:53:00.000-07:00</published><updated>2009-08-19T09:46:20.130-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Files and Directories'/><title type='text'>Change a file extension</title><summary type='text'>Maybe you want to change the file extension to your needs using VB6. Following simple way to change the file extension:Public Function ChangeFileExt(ByVal aFilename As String, ByVal NewExt AsString) As BooleanDim p As LongDim bp As LongDim nFileName As StringOn Error Resume NextChangeFileExt = FalseIf aFilename = "" Then Exit Functionp = 0Dobp = pp = InStr(p + 1, aFilename, ".", vbBinaryCompare)</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/3869343920765589441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/08/change-file-extension.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/3869343920765589441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/3869343920765589441'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/08/change-file-extension.html' title='Change a file extension'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-3376840186953518517</id><published>2009-08-04T07:49:00.000-07:00</published><updated>2009-08-04T07:57:08.142-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet and Network'/><title type='text'>Create and internet shortcut using vb6</title><summary type='text'>Maybe you want to create a shortcut in order to facilitate an internet connection you are connected to the internet. Here is a simple example to create a shortcut to the internet using VB6. First, create a new module, and after that paste the following code:Public Const NOERROR = 0Public Const CSIDL_FAVORITES = &amp;H6Public Const CSIDL_DESKTOPDIRECTORY = &amp;H10Private Type SHITEMID  cb As Long  abID </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/3376840186953518517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/08/create-and-internet-shortcut-using-vb6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/3376840186953518517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/3376840186953518517'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/08/create-and-internet-shortcut-using-vb6.html' title='Create and internet shortcut using vb6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-142737885858480926</id><published>2009-08-02T07:47:00.002-07:00</published><updated>2009-08-02T07:54:36.958-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Multimedia'/><title type='text'>Open and Close CDROM using vb6</title><summary type='text'>To open and close of CDROM with vb6, you please make beforehand new module, afterwards insert code following :Option ExplicitPrivate Declare Function mciSendString Lib "winmm.dll" Alias _"mciSendStringA" (ByVal lpstrCommand As String, ByVal _lpstrReturnString As String, ByVal uReturnLength As Long, _ByVal hwndCallback As Long) As LongPublic  Sub OpenCDROM()retvalue = mciSendString("set CDAudio </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/142737885858480926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/08/open-and-close-cdrom-using-vb6.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/142737885858480926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/142737885858480926'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/08/open-and-close-cdrom-using-vb6.html' title='Open and Close CDROM using vb6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-6602880481995606175</id><published>2009-07-31T08:19:00.000-07:00</published><updated>2009-07-31T08:24:53.073-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Library'/><title type='text'>Access to regedit</title><summary type='text'>Inserting this code to your Class Module:Option ExplicitPrivate Declare Function RegOpenKeyEx Lib "advapi32.dll" _Alias "RegOpenKeyExA" _(ByVal hKey As Long, ByVal lpSubKey As String, _ByVal ulOptions As Long, ByVal samDesired As Long, _phkResult As Long) As LongPrivate Declare Function RegCloseKey Lib "advapi32.dll" _(ByVal hKey As Long) As LongPrivate Declare Function RegQueryValueEx Lib "</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/6602880481995606175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/access-to-regedit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6602880481995606175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6602880481995606175'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/access-to-regedit.html' title='Access to regedit'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-6857292994457646288</id><published>2009-07-30T07:05:00.001-07:00</published><updated>2009-07-30T07:48:28.695-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Activex'/><title type='text'>Making activex control XP Theme maskedbox</title><summary type='text'>First of all make new Activex Control project, up to you wish to give what name at your project. all important, ascertaining properties at your User Controls.Assign value at Autoredraw True and for the Scalemode of Twip.Then insert code following:Option ExplicitPrivate WithEvents TxT As TextBoxPrivate Declare Function SelectObject Lib "gdi32" (ByVal hdc As Long, ByVal hObject As Long) As </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/6857292994457646288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/making-activex-control-xp-theme.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6857292994457646288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6857292994457646288'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/making-activex-control-xp-theme.html' title='Making activex control XP Theme maskedbox'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-7364358397091965486</id><published>2009-07-28T07:03:00.000-07:00</published><updated>2009-07-28T07:05:15.580-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Operation'/><title type='text'>Desktop capturing</title><summary type='text'>following is the code for a desktop background that will be displayed on the form. First, create a new form and paste the code below:Private Declare Function GetDesktopWindow Lib "user32" () As LongPrivate Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As LongPrivate Declare Function BitBlt Lib "gdi32" _(ByVal hDestDC As Long, _ByVal x As Long, _ByVal y As Long, _ByVal nWidth As Long, _</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/7364358397091965486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/desktop-capturing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7364358397091965486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7364358397091965486'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/desktop-capturing.html' title='Desktop capturing'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-6176611702134808779</id><published>2009-07-27T08:49:00.000-07:00</published><updated>2009-07-27T08:52:17.125-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Controls'/><title type='text'>Form on the top</title><summary type='text'>This sample source code how to form on the top.Option ExplicitPrivate Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As LongPrivate Const SWP_NOMOVE = &amp;H2Private Const SWP_NOSIZE = &amp;H1Private Const HWND_TOPMOST = -1Private Const HWND_NOTOPMOST = -2Public </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/6176611702134808779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/form-on-top.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6176611702134808779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6176611702134808779'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/form-on-top.html' title='Form on the top'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-3727369299093841777</id><published>2009-07-26T05:33:00.001-07:00</published><updated>2009-07-26T05:38:29.450-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Controls'/><title type='text'>Balloon Tooltips</title><summary type='text'>To make balloon tooltips, make a new module then insert code following:Option ExplicitPrivate Type RECTLeft As LongTop As LongRight As LongBottom As LongEnd TypePrivate Type TOOLINFOcbSize As LongdwFlags As LonghWNd As LongdwID As LongrtRect As RECThInst As LonglpszText As LonglParam  As LongEnd TypePrivate Type ICCEXdwSize As LongdwICC As LongEnd TypePrivate Declare Function CreateWindowEx Lib "</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/3727369299093841777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/balloon-tooltips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/3727369299093841777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/3727369299093841777'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/balloon-tooltips.html' title='Balloon Tooltips'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-2538004275247530439</id><published>2009-07-23T04:31:00.000-07:00</published><updated>2009-07-23T04:34:23.206-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet and Network'/><title type='text'>Check and e-mail address for validity</title><summary type='text'>Code following to know the validity of e-mail:Function IsValidEmail(sEMail As String) As Boolean' original by Brad Murray' optimized by Rob Hofker, email: rob@eurocamp.nl,'23 august 2000Dim sInvalidChars As StringDim bTemp As BooleanDim i As IntegerDim sTemp As String' Disallowed characterssInvalidChars = "!#$%^&amp;*()=+{}[]|\;:'/?&gt;,&lt; "' Check that there is at least one '@'bTemp = InStr(sEMail, "@")</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/2538004275247530439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/check-and-e-mail-address-for-validity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2538004275247530439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2538004275247530439'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/check-and-e-mail-address-for-validity.html' title='Check and e-mail address for validity'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-7927234842025393333</id><published>2009-07-22T07:00:00.000-07:00</published><updated>2009-07-22T07:06:06.228-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Databases'/><title type='text'>Connect to secure access database</title><summary type='text'>This sample source code how to connect to secure access database using ADODB. Can open connection to your access database although database which you use to use password. if succeeding connection, hence will go out message using msgbox that success connection.First of all make database, last give password at database. Afterwards, make a new form and give name "Form1". Enhancing "Commandbutton" at</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/7927234842025393333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/connect-to-secure-access-database.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7927234842025393333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7927234842025393333'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/connect-to-secure-access-database.html' title='Connect to secure access database'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-69425194384693369</id><published>2009-07-21T06:28:00.000-07:00</published><updated>2009-07-21T06:30:53.799-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Controls'/><title type='text'>XP Theme using manifest</title><summary type='text'>If you want to view your applications such as Windows XP, you need not trouble downloading ActiveX or tools that can change your display applications such as Windows XP. Simply create your file manifest. But before you put the file or create a manifest, compile your project first. Then create a new file manifest. Open a notepad, and enter the code below:&lt;?xml version="1.0" encoding="UTF-8" </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/69425194384693369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/xp-theme-using-manifest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/69425194384693369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/69425194384693369'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/xp-theme-using-manifest.html' title='XP Theme using manifest'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-2344913370688423317</id><published>2009-07-17T05:50:00.000-07:00</published><updated>2009-07-17T05:52:59.150-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Library'/><title type='text'>Read and write INI File</title><summary type='text'>Following representing code to read and write INI file by using System API. First of all, make a module class, and give name "INIFILE", afterwards insert code following:Option ExplicitPrivate Declare Function WritePrivateProfileString&amp; Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As String, ByVal lpFileName As String)</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/2344913370688423317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/read-and-write-ini-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2344913370688423317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2344913370688423317'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/read-and-write-ini-file.html' title='Read and write INI File'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-6220797234949293329</id><published>2009-07-14T06:23:00.000-07:00</published><updated>2009-07-14T06:26:08.919-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Operation'/><title type='text'>Minimize and restore all windows active</title><summary type='text'>Code following can do and minimize and restore all windows which is active pass program which you make.Insert this code to your module:Private Declare Function FindWindow Lib "user32" Alias _"FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName _As String) As LongPrivate Declare Function PostMessage Lib "user32" Alias "PostMessageA" _(ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/6220797234949293329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/minimize-and-restore-all-windows-active.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6220797234949293329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/6220797234949293329'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/minimize-and-restore-all-windows-active.html' title='Minimize and restore all windows active'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-2737612160800408719</id><published>2009-07-08T00:45:00.000-07:00</published><updated>2009-07-08T00:47:06.170-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Databases'/><title type='text'>Back up SQL Database Using SQLDMO</title><summary type='text'>Possible you require code to back up your database SQL. We will try to give functioning code to back up your database by using SQLDMO. If you not yet owned SQLDMO, please download beforehand SQLDMO library by using search engine.Make a module and give name "modbackupsqldatabase" or up to you. Afterwards, including code hereunder to module.Public Function DBBackup(ByVal nServer_Name As String, _</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/2737612160800408719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/back-up-sql-database-using-sqldmo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2737612160800408719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2737612160800408719'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/back-up-sql-database-using-sqldmo.html' title='Back up SQL Database Using SQLDMO'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-2530935726792735779</id><published>2009-07-07T07:55:00.000-07:00</published><updated>2009-07-07T07:57:20.077-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Databases'/><title type='text'>XML connection using ADODB</title><summary type='text'>First of all, make a form, last of add control following :TextboxName = "Text1"CommandbuttonName = "Command1"Caption = "Create New"CommandbuttonName = "Command2"Caption = "Read"ListviewName = "Listview1"View = "3 - lvwReportAscertain control properties, arrange in such a manner. After you arrange it, inserting code following at your form:Option ExplicitPrivate XML_ADO As ObjectPrivate xd As </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/2530935726792735779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/xml-connection-using-adodb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2530935726792735779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2530935726792735779'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/xml-connection-using-adodb.html' title='XML connection using ADODB'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-78693487302238906</id><published>2009-07-04T18:59:00.000-07:00</published><updated>2009-08-27T05:30:33.486-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><title type='text'>Evi Encrypter v1.0</title><summary type='text'>If you want to preserve your important data, whether images, applications, or other files, you can use as Evi Encrypter solution.Features are included in the Evi Encrypter?Encrypt using passwordDecrypt using passwordFast encrypt and decryptCan encrypt the file size is largeThen what is included in the download package?Application (EXE File)Readme fileSource code</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/78693487302238906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/evi-encrypter-v10.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/78693487302238906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/78693487302238906'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/evi-encrypter-v10.html' title='Evi Encrypter v1.0'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OR0B6Q3xTL8/SkzTCErDTZI/AAAAAAAAABQ/lqsqX95WpDs/s72-c/download_blue.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-5285585661973694016</id><published>2009-07-02T08:00:00.000-07:00</published><updated>2009-07-04T18:59:03.242-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Activex'/><title type='text'>Evi Collection Control XP UPDATE v1.2</title><summary type='text'>By using Evi Collection Control XP, you can design a form that you created with the view that more interesting. With XP or Vista style, as if you are a programmer in the case of a reliable design applications.What are the features of the Evi?Evi AnimationYou can use the Evi Animation as a progressbar. Evi such as file copy dialog is in vistaEvi ButtonButton with a variety of styles such as </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/5285585661973694016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/evi-collection-control-xp-update-v12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/5285585661973694016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/5285585661973694016'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/evi-collection-control-xp-update-v12.html' title='Evi Collection Control XP UPDATE v1.2'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OR0B6Q3xTL8/SkzTCErDTZI/AAAAAAAAABQ/lqsqX95WpDs/s72-c/download_blue.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-7571941140645072098</id><published>2009-07-01T04:52:00.000-07:00</published><updated>2009-07-01T04:58:52.075-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Controls'/><title type='text'>Move form without title bar on VB6</title><summary type='text'>If form without titlebar, possible we cannot move the form. To be able to move form without titlebar, inserting code following, but previously make form without titlebar by assigning value Borderstyle at form properties 0 or NONE.Code:Private Declare Function SendMessage Lib "User32" _Alias "SendMessageA" (ByVal hWnd As Long, _ByVal wMsg As Long, _ByVal wParam As Long, _lParam As Any) As </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/7571941140645072098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/move-form-without-title-bar-on-vb6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7571941140645072098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/7571941140645072098'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/07/move-form-without-title-bar-on-vb6.html' title='Move form without title bar on VB6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-4971352993880460173</id><published>2009-06-30T06:43:00.000-07:00</published><updated>2009-06-30T06:47:19.487-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Controls'/><title type='text'>Transparent Form</title><summary type='text'>Code following to make your form become transparently.First of all, make a last module insert code following:Option ExplicitPrivate Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As LongPrivate Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/4971352993880460173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/transparent-form.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/4971352993880460173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/4971352993880460173'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/transparent-form.html' title='Transparent Form'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-4152353229084327873</id><published>2009-06-29T22:13:00.000-07:00</published><updated>2009-06-29T22:18:51.378-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Controls'/><title type='text'>Disable close button on form</title><summary type='text'>Insert this code to your module:Option ExplicitPrivate Declare Function DrawMenuBar Lib "user32" (ByVal hwnd As Long) As LongPrivate Declare Function GetDesktopWindow Lib "user32" () As LongPrivate Declare Function GetMenu Lib "user32" (ByVal hwnd As Long) As LongPrivate Declare Function GetMenuInfo Lib "user32" (ByVal hwnd As Long, mInfo As MENUINFO) As LongPrivate Declare Function GetSubMenu </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/4152353229084327873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/disable-close-button-on-form.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/4152353229084327873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/4152353229084327873'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/disable-close-button-on-form.html' title='Disable close button on form'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-8207180002566086441</id><published>2009-06-28T05:00:00.000-07:00</published><updated>2009-06-28T05:04:32.280-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Operation'/><title type='text'>Rename and delete file permanent or send to recycle on vb6</title><summary type='text'>Code following functioning to rename filename and delete file permanently or send to recycle. Make new module, then insert code following:Option ExplicitPrivate Type SHFILEOPSTRUCThwnd As LongwFunc As LongpFrom As StringpTo As StringfFlags As IntegerfAnyOperationsAborted As BooleanhNameMappings As LonglpszProgressTitle As StringEnd TypeEnum DeleteFileConst[Send To Recycle] = 0[Permanent] = 1End </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/8207180002566086441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/rename-and-delete-file-permanent-or.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/8207180002566086441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/8207180002566086441'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/rename-and-delete-file-permanent-or.html' title='Rename and delete file permanent or send to recycle on vb6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-695175354373755819</id><published>2009-06-28T04:24:00.001-07:00</published><updated>2009-06-28T04:25:55.604-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Multimedia'/><title type='text'>Play wav file at VB6</title><summary type='text'>This source for play wav file on vb6. First create new module or insert this code to your module:Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName as String, ByVal uFlags as Long) as LongPrivate Sub PlayWav(ByVal Filename As String)sndPlay=sndPlaySound(Filename, 1)End SubExample to play wav file:Call PlayWav("C:mywav.wav")</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/695175354373755819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/play-wav-file-at-vb6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/695175354373755819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/695175354373755819'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/play-wav-file-at-vb6.html' title='Play wav file at VB6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-2511937571381304163</id><published>2009-06-26T04:06:00.000-07:00</published><updated>2009-06-26T04:17:27.126-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Databases'/><title type='text'>Connection to MySQL Server using ADO</title><summary type='text'>If you want to create an office or other applications and you want to connect to the MySQL server, you can use the code below to be connected with your MySQL server.Dim cn as ADODB.ConnectionSet cn = New ADODB.Connectioncn.ConnectionString = "Driver={Mysql ODBC 3.51 Driver};" &amp; _"Database=yourdatabasename;" &amp; _"UID=youruserID;" &amp; _"PWD=yourPassword;" &amp; _"PORT=portyourserver;" &amp; _"OemToAnsi=No;" &amp;</summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/2511937571381304163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/connection-to-mysql-server-using-ado.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2511937571381304163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2511937571381304163'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/connection-to-mysql-server-using-ado.html' title='Connection to MySQL Server using ADO'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-2473314001885840156</id><published>2009-06-20T21:58:00.000-07:00</published><updated>2009-06-20T22:28:16.146-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Files and Directories'/><title type='text'>Detect a file and folder exists on VB6</title><summary type='text'>To find out if a file or folder does not exist or is exists in the VB6 programming, we can use a simple way as below:Make a first module with the new name "mdlfileexists" or it's up to you.Then paste the code below on the new module.Public Function FileExists (strPath As String) As Integer Dim lngRetVal As Long On Error Resume Next lngRetVal = Len(Dir$(strPath)) If Err Or lngRetVal = 0 Then </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/2473314001885840156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/detect-file-and-folder-exists-on-vb6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2473314001885840156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/2473314001885840156'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/detect-file-and-folder-exists-on-vb6.html' title='Detect a file and folder exists on VB6'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-1274593231845766455</id><published>2009-06-20T08:50:00.000-07:00</published><updated>2009-06-20T21:55:14.590-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Controls'/><title type='text'>Clear all text on your form</title><summary type='text'>Textbox to clean, we can do with the way Text1.Text = "". If there's only 1 or 2 control textbox, do not come into question, but if there is 10 or more how?Text1.Text = ""Text2.Text = ""And so on...Really tire :).Possible you do matter like above if we like to clean text at control textbox. If yes, really tiring. Following simple code which possible a little a few you to clean text at control of </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/1274593231845766455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/textbox-to-clean-we-can-do-with-way.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/1274593231845766455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/1274593231845766455'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/textbox-to-clean-we-can-do-with-way.html' title='Clear all text on your form'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7477674401888840508.post-488381322169826171</id><published>2009-06-18T08:53:00.000-07:00</published><updated>2009-06-18T09:31:54.052-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='String Manipulation'/><title type='text'>Find String</title><summary type='text'>Possible friends some of not yet known, to do find of string at one particular or sentence of text long. To easy to find of string, follow steps hereunder:First, create a new module first. Give the name "mdlfindstring" or it's friends.Then enter the code below to the module.Public Function FindString(ByVal Text As String, _ ByVal Search As String, _ Optional ByVal Position As Long, _ Optional </summary><link rel='replies' type='application/atom+xml' href='http://vb6stuff.blogspot.com/feeds/488381322169826171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/find-string.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/488381322169826171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7477674401888840508/posts/default/488381322169826171'/><link rel='alternate' type='text/html' href='http://vb6stuff.blogspot.com/2009/06/find-string.html' title='Find String'/><author><name>Evi Indra Effendi</name><uri>http://www.blogger.com/profile/06315032108254579058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_OR0B6Q3xTL8/SipkdDcjHPI/AAAAAAAAAAs/dhql6Y06U5U/S220/DSC00349.JPG'/></author><thr:total>1</thr:total></entry></feed>
