﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>A1VBCode Forums / Visual Basic (VB 4/5/6) / General Visual Basic </title><generator>InstantForum.NET v4.1.1</generator><description>A1VBCode Forums</description><link>http://www.a1vbcode.com/vbforums/</link><webMaster>forums@a1vbcode.com</webMaster><lastBuildDate>Tue, 06 Jan 2009 22:32:35 GMT</lastBuildDate><ttl>20</ttl><item><title>How to Load multiple forms using any repetition control structure? Please help.</title><link>http://www.a1vbcode.com/vbforums/Topic26628-3-1.aspx</link><description>Dear A1VBCode moderators, programmers and members, &lt;P&gt;Hello, a pleasant day to everyone. Well, it is been a really long time since I used Visual Basic 6, because of my work.  Well, I am just wondering how can I load/unload multiple forms using any repetition control structure?  Basically a have a main form named &lt;STRONG&gt;frmMain &lt;/STRONG&gt;and has a command button named &lt;STRONG&gt;btnLoad&lt;/STRONG&gt;.  In addition, I have seven (7) other sub forms named as &lt;STRONG&gt;frm1&lt;/STRONG&gt;, &lt;STRONG&gt;frm2&lt;/STRONG&gt;, so on until &lt;STRONG&gt;frm7&lt;/STRONG&gt;.  Here's the code of btnLoad:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;pre&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Private Sub btnLoad_Click()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    frm1.show&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    frm2.show&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    frm3.show&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    frm4.show&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    frm5.show&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    frm6.show&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    frm7.show&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;End Sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/pre&gt;&lt;/STRONG&gt; &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;  &lt;P&gt;Seems very long enough, but I &lt;EM&gt;really&lt;/EM&gt; want to use a For Loop, but I just can't get the incrementing numbers.  I tried this one, I know it's wrong (compile error) so please don't laugh... &lt;img align="absmiddle" src="http://www.a1vbcode.com/vbforums/Skins/Classic/Images/EmotIcons/Crying.gif" border="0" title="Crying"&gt; &lt;P&gt;&lt;STRONG&gt;&lt;pre&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Private Sub btnLoad_Click()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    Dim x as Integer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    For x = 1 to 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;           "frm" &amp;amp; x.show&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    Next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;End Sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    &lt;/STRONG&gt;&lt;STRONG&gt;&lt;/pre&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I hope someone will help me on this, and I hope this is not too much to ask.  Thanks everyone who will give any suggestion. Wish everyone good health this new year...&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;&lt;FONT color=#1111ff&gt;MarkSquall&lt;/FONT&gt;</description><pubDate>Sun, 04 Jan 2009 00:26:56 GMT</pubDate><dc:creator>marksquall</dc:creator></item><item><title>Please help..code of 8 number puzzle in vb6</title><link>http://www.a1vbcode.com/vbforums/Topic26631-3-1.aspx</link><description>Please help..code of 8 number puzzle in vb6</description><pubDate>Sun, 04 Jan 2009 21:37:25 GMT</pubDate><dc:creator>funkmaster24</dc:creator></item><item><title>Lineage 2 Bug(CHEAT)</title><link>http://www.a1vbcode.com/vbforums/Topic26613-3-1.aspx</link><description>Hi to exerybody.&lt;br&gt;One of my friends asked me if i can find hime one but it was difficult.&lt;br&gt;So i decided to come here and request one.&lt;br&gt;So....Is there anyone good programmer that can create a program like this?&lt;br&gt;&lt;br&gt;THANKS&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;___________________________________&lt;br&gt;Good Programmer is someone that can create all requested things</description><pubDate>Fri, 02 Jan 2009 10:18:44 GMT</pubDate><dc:creator>GreekAce</dc:creator></item><item><title>String to HEX</title><link>http://www.a1vbcode.com/vbforums/Topic26600-3-1.aspx</link><description>&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;I found a piece of code that will convert a string to hex.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;It works OK, but……&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;o:p&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;Private Sub cmdConvert_Click()&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;Dim txt As String&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;Dim bytes() As Byte&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;Dim i As Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;o:p&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;FONT color=#000000&gt;    &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt;' Display the bytes.&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;txt = txtOriginal.Text&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;bytes = StrConv(txt, vbFromUnicode)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;txt = ""&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;For i = LBound(bytes) To UBound(bytes)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;        &lt;/SPAN&gt;txt = txt &amp;amp; Format$(Hex$(bytes(i)), "00") &amp;amp; " "&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;txtBytes.Text = txt&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;o:p&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;End Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;o:p&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;Now I want to put the bytes array into another array and add “&amp;amp;H” infront, so you get &amp;amp;H48 for example.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;o:p&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;For i = LBound(bytes) To UBound(bytes)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;        &lt;/SPAN&gt;Bytes1(i) = &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;“&amp;amp;H” &amp;amp; Format$(Hex$(bytes(i)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;o:p&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;But I get an error message (subscript out of range)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;Also when I only want to load the bytes array to another array I get this message&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;o:p&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;For i = LBound(bytes) To UBound(bytes)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;        &lt;/SPAN&gt;Bytes1(i) = &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Format$(Hex$(bytes(i)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="mso-spacerun: yes"&gt;    &lt;/SPAN&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Calibri"&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;I need (??) to add the &amp;amp;H because I need to send hex using Winsock&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Calibri"&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: Calibri"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;Kiter&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;</description><pubDate>Tue, 30 Dec 2008 10:41:23 GMT</pubDate><dc:creator>Kiter</dc:creator></item><item><title>Using wildcards in a url</title><link>http://www.a1vbcode.com/vbforums/Topic26587-3-1.aspx</link><description>I need to pull a file off the internet.  I know the root url, and I know the ending filename, but I do not know the full url; it changes every week, and I don't know the system behind it.  Is there any way I could use wildcard characters (or some other method) to pull the file down?&lt;br&gt;&lt;br&gt;Thanks for any and all help.</description><pubDate>Mon, 29 Dec 2008 12:56:13 GMT</pubDate><dc:creator>thesilentpyro</dc:creator></item><item><title>Mute all Computer Sounds.How?</title><link>http://www.a1vbcode.com/vbforums/Topic26584-3-1.aspx</link><description>Hi to everybody&lt;br&gt;I want to make a question&lt;br&gt;How Can i mute all Sonds of the computer with a command button&lt;br&gt;Thanks</description><pubDate>Mon, 29 Dec 2008 07:44:29 GMT</pubDate><dc:creator>GreekAce</dc:creator></item><item><title>Captcha image not working again</title><link>http://www.a1vbcode.com/vbforums/Topic26594-3-1.aspx</link><description>Today it has cost me dearly. At least 30 enquries not able to submit&lt;br&gt;while I pay click fees to get them onto the pages.&lt;br&gt;&lt;br&gt;The image is back working again now but really do need to know when&lt;br&gt;it's off.</description><pubDate>Mon, 29 Dec 2008 23:39:00 GMT</pubDate><dc:creator>khan</dc:creator></item><item><title>Moving a file &amp; to change the Boot screen</title><link>http://www.a1vbcode.com/vbforums/Topic26550-3-1.aspx</link><description>Hi All,&lt;P&gt;       I want to move a file, and my codes as follows:&lt;/P&gt;&lt;P&gt;&lt;pre&gt;&lt;/P&gt;&lt;P&gt;Private Sub Command1_Click()&lt;BR&gt;FileCopy "C:\Documents and Settings\Medical\Desktop\SKAAT.exe", " C:\"&lt;BR&gt;Kill "C:\Documents and Settings\Medical\Desktop\SKAAT.exe"&lt;/P&gt;&lt;P&gt;End Sub&lt;/pre&gt; &lt;/P&gt;&lt;P&gt; But i am receving an error message as Bad File Name Or Number.... Kindly help me to fix the problem.....&lt;P&gt;My another doubt is how to chage the bootup sreen and log on screen using VB 6...&lt;P&gt; </description><pubDate>Fri, 26 Dec 2008 00:37:57 GMT</pubDate><dc:creator>mvPradeepemb</dc:creator></item><item><title>Create DB and Field via VB</title><link>http://www.a1vbcode.com/vbforums/Topic26543-3-1.aspx</link><description>Hi every one &lt;br&gt;&lt;br&gt;i have red for some topic about the open connection between VB and DB, at this one we should create the DB at first and after that we connect it to VB, but now I want to use the VB to be an interface or after run the VB will be auto to create the DB is it workable ??&lt;br&gt;&lt;br&gt;Should use the OPEN to create the DB ?, how about the field in DB, could write the code from VB to create ?? &lt;br&gt;&lt;br&gt;any one pls guide me this one in advance,</description><pubDate>Wed, 24 Dec 2008 20:13:02 GMT</pubDate><dc:creator>kellysweet</dc:creator></item><item><title>How can i create an flv player?</title><link>http://www.a1vbcode.com/vbforums/Topic26515-3-1.aspx</link><description>Does anyone have any idea hot to create this app?&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;PS:Sorry, i am new here</description><pubDate>Sun, 21 Dec 2008 04:17:56 GMT</pubDate><dc:creator>GreekAce</dc:creator></item><item><title>MSDN VB6</title><link>http://www.a1vbcode.com/vbforums/Topic26534-3-1.aspx</link><description>Hi all as im new in here, &lt;br&gt;i try to find MSDN for vb6 for many website, any one here have share me the link to download,</description><pubDate>Tue, 23 Dec 2008 23:50:21 GMT</pubDate><dc:creator>kellysweet</dc:creator></item><item><title>Youtube Video downloader</title><link>http://www.a1vbcode.com/vbforums/Topic26540-3-1.aspx</link><description>i.I would like to aks how to make a youtube video downloader?&lt;br&gt;I am sure that i can find a source code but i  just want to know how is it made?&lt;br&gt;thanks in advance&lt;br&gt;</description><pubDate>Wed, 24 Dec 2008 08:55:26 GMT</pubDate><dc:creator>GreekAce</dc:creator></item><item><title>how to create thumbail for pngimages</title><link>http://www.a1vbcode.com/vbforums/Topic26475-3-1.aspx</link><description>can some some suggest me vb.6 code to create thumbnail for png images.</description><pubDate>Mon, 15 Dec 2008 01:25:00 GMT</pubDate><dc:creator>shamsam1</dc:creator></item><item><title>listview questions</title><link>http://www.a1vbcode.com/vbforums/Topic26465-3-1.aspx</link><description>I want to use Listview, but have some questions:&lt;/P&gt;&lt;P&gt;How can I change the color of the colomn header?&lt;/P&gt;&lt;P&gt;How can I lock the "header buttons" so when I press it nothing will happen&lt;/P&gt;&lt;P&gt;How can I lock the field of the first colomn?&lt;BR&gt;Now you can change the data when you double click this field&lt;/P&gt;&lt;P&gt;Kite</description><pubDate>Thu, 11 Dec 2008 10:30:45 GMT</pubDate><dc:creator>Kiter</dc:creator></item><item><title>Read sequentially numbered data files in VB6</title><link>http://www.a1vbcode.com/vbforums/Topic26513-3-1.aspx</link><description>Hi, &lt;br&gt;&lt;br&gt;I recently joined your forum. It's great. I found answers to all my questions but one without asking.&lt;br&gt;&lt;br&gt;I'm doing a non-business related research project and I'm not a professional programmer, but I'll try to be clear. &lt;br&gt;&lt;br&gt;I have 1000 data files sequentially numbered kb0001.txt through kb1000.txt. The data format for each file is the same, but the files are different sizes. I need to cycle through the files sequentially, read the data from each file into arrays and perform some basic statistical operations on the data. &lt;br&gt;&lt;br&gt;&lt;br&gt;Is there an easy way to cycle through the files in VB6? Any help would be appreciated.</description><pubDate>Sun, 21 Dec 2008 01:59:21 GMT</pubDate><dc:creator>JamesBeck</dc:creator></item><item><title>vlookup and cell reference</title><link>http://www.a1vbcode.com/vbforums/Topic26177-3-1.aspx</link><description>&lt;DIV id=post_message_3376346&gt;hi,&lt;BR&gt;i am trying to write some code to analyse a weightlifting movement that occurs 3 times.&lt;BR&gt;In particular there is a part of the macro where the user will input the start and end time of the movement using input boxes (to only select relevant data).&lt;BR&gt;I want to then use a vlookup function to search for the start and end times in a range (1 column) in the time range and return the cell reference of these so i can select only these values and either create a graph or do more analysis.&lt;BR&gt;My code for this particular part so far looks like:&lt;BR&gt;&lt;BR&gt;&lt;DIV style="MARGIN: 5px 20px 20px"&gt;&lt;DIV class=smallfont style="MARGIN-BOTTOM: 2px"&gt;Code:&lt;/DIV&gt;&lt;PRE class=alt2 style="BORDER-RIGHT: 1px inset; PADDING-RIGHT: 3px; BORDER-TOP: 1px inset; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; MARGIN: 0px; OVERFLOW: auto; BORDER-LEFT: 1px inset; WIDTH: 740px; PADDING-TOP: 3px; BORDER-BOTTOM: 1px inset; HEIGHT: 242px"&gt;&lt;DIV dir=ltr style="TEXT-ALIGN: left"&gt; Dim jsstart As Double    jsstart = InputBox("What is the start time for jump squat1?")    Range("n2").Select    ActiveCell.FormulaR1C1 = jsstart              Dim jsend As Double    jsend = InputBox("What is the end time for jump squat1?")    Range("n3").Select    ActiveCell.FormulaR1C1 = jsend             Dim jumpsquatonestarttime As Double      jumpsquatonestarttime = WorksheetFunction.VLookup(jsstart, Range("time"), 1, False)&lt;/DIV&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR&gt;I would now like the cell references for the start and end times....any ideas as to how to do this? I thought it might be to do with the address function.&lt;BR&gt;Any help much appreciated!!!&lt;/DIV&gt;</description><pubDate>Mon, 10 Nov 2008 12:15:16 GMT</pubDate><dc:creator>mexicanhun</dc:creator></item><item><title>Calendar function</title><link>http://www.a1vbcode.com/vbforums/Topic26485-3-1.aspx</link><description>I want to write a calendar program.&lt;/P&gt;&lt;P&gt;You must fist select a date/time and add a reminder.&lt;/P&gt;&lt;P&gt;When the date/time is correct I want to start an event (like a string to a serial port)&lt;/P&gt;&lt;P&gt;Where can I find more information?&lt;/P&gt;&lt;P&gt;Kiter</description><pubDate>Wed, 17 Dec 2008 06:56:36 GMT</pubDate><dc:creator>Kiter</dc:creator></item><item><title>web search for key word</title><link>http://www.a1vbcode.com/vbforums/Topic26474-3-1.aspx</link><description>i want to search popular search engine for keywords which i insert in text box and list the total page..&lt;br&gt;&lt;br&gt;i came across how some code which search for keywords but just dont know how to list the total page for the key word ..i am looking for vb.6 code</description><pubDate>Mon, 15 Dec 2008 01:20:53 GMT</pubDate><dc:creator>shamsam1</dc:creator></item><item><title>How to display the rows and columns generated by SQL query in rdlc report dynamically.</title><link>http://www.a1vbcode.com/vbforums/Topic26478-3-1.aspx</link><description>&lt;DIV id=post_message_91685&gt;How to display the rows and columns generated by SQL query in rdlc report dynamically.&lt;BR&gt;&lt;BR&gt;Before i created the .rdlc file and then add tables and then Column Names to display. Now i dont want to design the .rdlc file and i wanted to fill the .rdlc file with the number of columns and rows returned by SQL Server. &lt;BR&gt;Can anyone give me idea how to do it? I am using the code like this as shown below.&lt;BR&gt;&lt;BR&gt;Dim strQry = "select CompanyName,Address,Address1,City,State,Zip,Teleph one,Email from Company"&lt;BR&gt;Dim reportPath = "MyReportApplication.reportCompany.rdlc"&lt;BR&gt;Dim sReportDataSource As ReportDataSource&lt;BR&gt;Connection()&lt;BR&gt;OpenConn()&lt;BR&gt;ds = New DataSet()&lt;BR&gt;dataAdapter = New SqlDataAdapter(strQry, conn)&lt;BR&gt;dataAdapter.Fill(ds, "TestDataBase")&lt;BR&gt;rdlcViewer.LocalReport.ReportEmbeddedResource = reportPath&lt;BR&gt;sReportDataSource = New ReportDataSource()&lt;BR&gt;sReportDataSource.Name = "TestDB_Company"&lt;BR&gt;sReportDataSource.Value = ds.Tables(0)&lt;BR&gt;rdlcViewer.LocalReport.DataSources.Add(sReportData Source)&lt;BR&gt;rdlcViewer.Dock = DockStyle.Fill&lt;BR&gt;CloseConn()&lt;BR&gt;Me.rdlcViewer.RefreshReport() &lt;/DIV&gt;&lt;!-- / message --&gt;</description><pubDate>Mon, 15 Dec 2008 16:19:55 GMT</pubDate><dc:creator>nixdaemon000</dc:creator></item><item><title>should i migrate?</title><link>http://www.a1vbcode.com/vbforums/Topic26466-3-1.aspx</link><description>dear all,&lt;br&gt;&lt;br&gt;i have a small vb6 standalone exe application that uses an online mysql ODBC database at a database server and some online web pages within it. the users are 30 on the client side and are all at distant locations.  &lt;br&gt;&lt;br&gt;should i migrate from vb6 to vb.net?&lt;br&gt;Please guide me about the advantages for such software.&lt;br&gt;&lt;br&gt;also i am concerned about the security of the application in .net..&lt;br&gt;it seems to be easily decompiled? or de-obfuscated?&lt;br&gt;&lt;br&gt;thanks in advance.&lt;br&gt;regards&lt;br&gt;cingo</description><pubDate>Thu, 11 Dec 2008 12:34:27 GMT</pubDate><dc:creator>cingo</dc:creator></item><item><title>minimize to systray</title><link>http://www.a1vbcode.com/vbforums/Topic26458-3-1.aspx</link><description>I want.&lt;/P&gt;&lt;P&gt;When I click on form minimize button it minimize to systray&lt;/P&gt;&lt;P&gt;and when I click command button form minimize to systray.&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;i tried shsystray component but it I think its not fr it.</description><pubDate>Wed, 10 Dec 2008 10:30:33 GMT</pubDate><dc:creator>azfar</dc:creator></item><item><title>count different shades of red pixels in a form</title><link>http://www.a1vbcode.com/vbforums/Topic26457-3-1.aspx</link><description>I am writing an application where i need to count the number of red pixels within a certain position on a form and then change them to another color. &lt;/P&gt;&lt;P&gt;I can do this by selecting 1 colour using the code below: but what I really want to do is to select a range of red pixel shades and count all of the pixels within the range. &lt;/P&gt;&lt;P&gt;any pointers would be great!&lt;/P&gt;&lt;P&gt;Option Explicit&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Private Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, _&lt;BR&gt;    ByVal x As Long, ByVal y As Long) As Long&lt;BR&gt;    &lt;BR&gt;Private Declare Function SetPixel Lib "gdi32" (ByVal hdc As Long, _&lt;BR&gt;    ByVal x As Long, ByVal y As Long, ByVal crcolor As Long) As Long&lt;/P&gt;&lt;P&gt;Private Sub Command1_Click()&lt;/P&gt;&lt;P&gt;Dim x As Long, y As Long&lt;BR&gt;Dim h As Long, count As Long&lt;/P&gt;&lt;P&gt;h = Me.hdc&lt;/P&gt;&lt;P&gt;For y = 120 To 200&lt;BR&gt;For x = 120 To 200&lt;/P&gt;&lt;P&gt;If GetPixel(h, x, y) = vbRed Then&lt;BR&gt;SetPixel h, x, y, vbGreen&lt;BR&gt;count = count + 1&lt;BR&gt;End If&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Next&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Next&lt;BR&gt;Text1.Text = count&lt;BR&gt;End Sub</description><pubDate>Wed, 10 Dec 2008 08:24:02 GMT</pubDate><dc:creator>rocchi</dc:creator></item><item><title>Adding static ARP entry</title><link>http://www.a1vbcode.com/vbforums/Topic26456-3-1.aspx</link><description>How do I add a static arp entry (windows 2000 and latter) in vb6.</description><pubDate>Wed, 10 Dec 2008 05:50:24 GMT</pubDate><dc:creator>azfar</dc:creator></item><item><title>disable ALT+CTRL+DEL, CTRL + ESC in Win2k/XP</title><link>http://www.a1vbcode.com/vbforums/Topic1361-3-1.aspx</link><description>&lt;P&gt;&lt;STRONG&gt;Hi All,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can we disable ATL+CTRL+DEL, CTRL+ESC key in VB. I can be done in win9x but can't done in win2k/xp/2003. &lt;img src='images/emotions/sad.gif' height='20' width='20' border='0' title='Sad' align='absmiddle'&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Anybody have it's right answer ?:p&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;++skc++&lt;/STRONG&gt;&lt;/P&gt;</description><pubDate>Fri, 16 Jul 2004 08:11:18 GMT</pubDate><dc:creator>Sunil KC</dc:creator></item><item><title>Send HEX data</title><link>http://www.a1vbcode.com/vbforums/Topic26444-3-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;This is the first time I’m using winsock.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;There is no problem sending ASCII, but I have some problems sending HEX &lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;If is send:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;Winsock1.senddata &amp;amp;H51&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;And I monitor it with a Ethernet sniffer I get the correct data:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;&lt;STRONG&gt;[12/8/2008 9:42:43 PM:204]&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;&lt;STRONG&gt;00000000&lt;SPAN style="mso-spacerun: yes"&gt;       &lt;/SPAN&gt;51 00&lt;SPAN style="mso-spacerun: yes"&gt;                     &lt;/SPAN&gt;Q.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;But if I send &lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;Winsock1.senddata &amp;amp;H51 &amp;amp; &amp;amp;H52&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;I get string data:&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;&lt;STRONG&gt;[12/8/2008 9:43:44 PM:882]&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;&lt;STRONG&gt;8182&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;How can I send multiple HEX values?&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;Kiter&lt;/FONT&gt;</description><pubDate>Mon, 08 Dec 2008 15:49:43 GMT</pubDate><dc:creator>Kiter</dc:creator></item><item><title>Reading web content using VB</title><link>http://www.a1vbcode.com/vbforums/Topic26038-3-1.aspx</link><description>Dear All,&lt;br&gt;&lt;br&gt;How to read content of a web address or a file of web using Visual Basic 6 ?&lt;br&gt;</description><pubDate>Tue, 21 Oct 2008 05:41:39 GMT</pubDate><dc:creator>Sunil KC</dc:creator></item><item><title>New Software Ideas</title><link>http://www.a1vbcode.com/vbforums/Topic26438-3-1.aspx</link><description>Rather than repost all of my ideas here, I will send you where I have already listed them...&lt;br&gt;http://adsa.myfreeforum.org/sutra322.php#322</description><pubDate>Mon, 08 Dec 2008 01:31:59 GMT</pubDate><dc:creator>Amerigo</dc:creator></item><item><title>File Extension Filter</title><link>http://www.a1vbcode.com/vbforums/Topic26390-3-1.aspx</link><description>I have developed a form that runs a folder browser dialog and then details all filenames within the chosen folder in a listbox.  Currently the filenames populate a 1-D array before they are written out to the listbox.&lt;/P&gt;&lt;P&gt;I need to introduce a combobox that will act as an extension filter.  So, when the filenames are written to the listbox, the combobox is populated with the unique file extensions from this list.  When the extension is clicked, only those files with that extension are shown in the listbox.  &amp;lt;None&amp;gt; may be selected from the combo box to again show the full list of filenames.&lt;/P&gt;&lt;P&gt;Advice would be appreciated on the best way to go about this, I see two possibilities, either to act upon the 1-D array as it stands, or introduce a 2-D array that does the stripping out of the extensions at the same time the filenames are written and then filter using these.&lt;/P&gt;&lt;P&gt;Mank thanks</description><pubDate>Fri, 28 Nov 2008 04:22:50 GMT</pubDate><dc:creator>igglepiggle</dc:creator></item><item><title>Vertical Scroll Bars and Erased Text</title><link>http://www.a1vbcode.com/vbforums/Topic26411-3-1.aspx</link><description>Hello all, i have 2 problems that i need to figure out...and i'm using VB6 btw&lt;br&gt;&lt;br&gt;First, i am printing on a form, and because of the amount of lines i'm printing (and the size of the screen), i'm thinking i might need to use a vertical scroll bar...how can i do this?  I'm printing with a loop, so i dont see how using a text box or label would work (since i would end up with only the last text from the loop in the textbox/label)...any help would be great!&lt;br&gt;&lt;br&gt;Also, a problem i am having is that when i print onto the form, then either move another window in front of that form, or minimize that form, it will erase the printed text...how do i solve this?&lt;br&gt;&lt;br&gt;Thanks</description><pubDate>Mon, 01 Dec 2008 15:32:43 GMT</pubDate><dc:creator>husker5674</dc:creator></item><item><title>Compareing Strings</title><link>http://www.a1vbcode.com/vbforums/Topic26426-3-1.aspx</link><description>Ok so i havew a VB class in college and as a last project we were assinged a coding assignment to make a program which selected the name of a state from a listbox which contains the names of all fifty states... basically you type in the fewest letters possiable and then hit a search button and the program highlights the most likely state your trying to name&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Input Alab&lt;/P&gt;&lt;P&gt;Search&lt;/P&gt;&lt;P&gt;Output Alabama &lt;/P&gt;&lt;P&gt;I by no means want anybody to do my home work for me, but i was wondering if sombody here could provide me with some code which will atleast lead me in the right direction, We are allowed to use what ever resource nessesary, including the internet... short of say buying a program which does this and copying the code, so this completely ethical and you are in no way helping me cheat. I was just hopeing for some help in the area of which to go. My class text hints that a Compare Method would be useful, but give no code examples and is horridly unhelpful in the area of language, like most poorly written instructions it just assumes you already know what your doing, any help would be greatly apprieciated...Thankx for at least reading i hope to get an answer soon&lt;/P&gt;&lt;P&gt;Lost</description><pubDate>Tue, 02 Dec 2008 23:38:03 GMT</pubDate><dc:creator>LostCause101382</dc:creator></item><item><title>files extractor</title><link>http://www.a1vbcode.com/vbforums/Topic26425-3-1.aspx</link><description>hi everone&lt;/P&gt;&lt;P&gt;i have many files of different types in many folders in my pc. i want to develop a program that will, given a particular folder empty the folder contents say to another (given folder) so that i may start organizing my files ncely without duplicates. while emptying the folder also want those files to be deleted from the original folder.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;img align="absmiddle" src="http://www.a1vbcode.com/vbforums/Skins/Classic/Images/EmotIcons/Cool.gif" border="0" title="Cool"&gt;</description><pubDate>Tue, 02 Dec 2008 22:43:16 GMT</pubDate><dc:creator>Phokojoe</dc:creator></item><item><title>How to pause code execution until button is pressed</title><link>http://www.a1vbcode.com/vbforums/Topic26342-3-1.aspx</link><description>Fellow programmers,&lt;P&gt;I am currently working on a project in VB6 and am need of assistance.  In my project, I execute the main form code, and halfway through, i use form1.show to show another form with multiple radio (option) buttons and a continue button.  Does anyone know how i could possibly pause the main form's code execution until the continue button is pressed and then resume when it is pressed?&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Mon, 24 Nov 2008 17:24:13 GMT</pubDate><dc:creator>husker5674</dc:creator></item><item><title>Dynamic Menu Generation in Desktop Application</title><link>http://www.a1vbcode.com/vbforums/Topic26383-3-1.aspx</link><description>Hi, i want to generate dynamic menu items in desktop application. Menu items are based on user rights store in a table. How can i generate them , i just want to have a menustrip control. Then all item are required to be added dynamically.&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Wed, 26 Nov 2008 02:10:04 GMT</pubDate><dc:creator>hafeez_munawar</dc:creator></item><item><title>VB-6 VS Vista</title><link>http://www.a1vbcode.com/vbforums/Topic26093-3-1.aspx</link><description>Hi!&lt;/P&gt;&lt;P&gt;Any body know, does OS Vista support programs written on VB-6?&lt;/P&gt;&lt;P&gt;I have one small program, it's good working on XP but working with errors on Vista?&lt;/P&gt;&lt;P&gt;That can I do? Learn VB-2008 Express?</description><pubDate>Sat, 01 Nov 2008 05:59:17 GMT</pubDate><dc:creator>vlaius</dc:creator></item><item><title>Stopping USB device</title><link>http://www.a1vbcode.com/vbforums/Topic26358-3-1.aspx</link><description>Hi to everyone!&lt;/P&gt;&lt;P&gt;Any body know, how I can stop USB devise for safety remove?&lt;/P&gt;&lt;P&gt;Thanks in advance.</description><pubDate>Tue, 25 Nov 2008 02:10:16 GMT</pubDate><dc:creator>vlaius</dc:creator></item><item><title>Serial Port</title><link>http://www.a1vbcode.com/vbforums/Topic26130-3-1.aspx</link><description>Hi All,&lt;P&gt;         I am new to VB....  I am using serial port to interface the controller with PC... My VB code as follows:&lt;/P&gt;&lt;P&gt;&lt;p align="center"&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;   Private Sub Form_Load()&lt;BR&gt;       MSComm1.Settings = "9600,N,8,1"&lt;BR&gt;       MSComm1.CommPort = 1&lt;BR&gt;       MSComm1.InputLen = 1&lt;BR&gt;       MSComm1.PortOpen = True&lt;BR&gt;       MSComm1.RThreshold = 1&lt;/P&gt;&lt;P&gt;End Sub&lt;BR&gt;    &lt;/P&gt;&lt;P&gt;Private Sub Form_Unload(Cancel As Integer)&lt;BR&gt;       MSComm1.PortOpen = False&lt;BR&gt; End Sub&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Private Sub MSComm1_OnComm()&lt;BR&gt;       Text1.Text = Text1.text &amp;amp; MSComm1.input&lt;/P&gt;&lt;P&gt;End Sub&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;/p&gt; &lt;/P&gt;&lt;P&gt;                I transmitted a number (03) from controller, but i am receiving garbage value like (*?????|||......)  and finally my serial port now doesn't work.... Kindly help me to solve the Problem...&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Pradeep</description><pubDate>Thu, 06 Nov 2008 01:28:15 GMT</pubDate><dc:creator>mvPradeepemb</dc:creator></item><item><title>user make .exe file</title><link>http://www.a1vbcode.com/vbforums/Topic26307-3-1.aspx</link><description>Would anyone know how &lt;A href="mailto:jigs@w"&gt;jigs@w&lt;/A&gt; was created or how can I make a program that lets the user build an .exe file like &lt;A href="mailto:jigs@w"&gt;jigs@w&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;I am not looking at making a clone of &lt;A href="mailto:jigs@w"&gt;jigs@w&lt;/A&gt; or a puzzle for that sort. &lt;/P&gt;&lt;P&gt;daveofgv</description><pubDate>Fri, 21 Nov 2008 13:00:26 GMT</pubDate><dc:creator>daveofgv</dc:creator></item><item><title>about my counter and date</title><link>http://www.a1vbcode.com/vbforums/Topic26283-3-1.aspx</link><description>Hi good day to all.  I'm a beginner of vb6. Right now I'm doing my first project which is the Sales System of a resto bar. I encounter some errors though this is just a minimal but I'm already stack in this part. This is about my counter as well as displaying the totals sales in descending order. The Code of my counter that I make doesn't work again and also in displaying the total sales in descending order. anybody can help me on this....&lt;br&gt;&lt;br&gt;&lt;br&gt;-----------------------------------------------------------------&lt;br&gt;counter&lt;br&gt;&lt;br&gt;For i = 1 To grd.Rows - 1&lt;br&gt;With INV&lt;br&gt;If grd.TextMatrix(i, 0) = INV!ProdCode Then&lt;br&gt;.Edit&lt;br&gt;!Quantity = !Quantity + Val(grd.TextMatrix(i, 3))&lt;br&gt;.Update&lt;br&gt;Else&lt;br&gt;.AddNew&lt;br&gt;!ProdCode = grd.TextMatrix(i, 0)&lt;br&gt;!ProdName = grd.TextMatrix(i, 2)&lt;br&gt;!Quantity = grd.TextMatrix(i, 3)&lt;br&gt;!Date = DTPicker1.Value&lt;br&gt;.Update&lt;br&gt;End If&lt;br&gt;End With&lt;br&gt;Next i&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------------------------&lt;br&gt;Display the Total Sale in descending order&lt;br&gt;&lt;br&gt;Set SH = Dbase.OpenRecordset("Select * from SalesHeader where iDate &lt;= cDate (' " &amp; CStr(DTPicker1.Value) &amp; " ') and iDate &gt;= cDate(' " &amp; CStr(DTPicker2.Value) &amp; " ')Order by cDate Desc ")&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------------&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;&lt;br&gt;Denine&lt;img align="absmiddle" src="http://www.a1vbcode.com/vbforums/Skins/Classic/Images/EmotIcons/Tongue.gif" border="0" title="Tongue"&gt;</description><pubDate>Wed, 19 Nov 2008 21:13:13 GMT</pubDate><dc:creator>d9</dc:creator></item><item><title>Wait function..</title><link>http://www.a1vbcode.com/vbforums/Topic26225-3-1.aspx</link><description>Hi, i have more or less big problems to do a specific function which ll be doing something in a loop but the one step in the loop will be exactly one minute. For example:&lt;br&gt;&lt;br&gt;   For i =0 TO 10 &lt;br&gt;Print ; Timevalue(now)&lt;br&gt;"something"&lt;br&gt;   next i&lt;br&gt;&lt;br&gt;my main problems is i have some function which is doing in one step in the loop for cca. 40 sec +-5sec, and i want that it ll do the step exactly in 1min,  so i need to measure somehow the time at the begining, wait until the function inside the loop is finished and after wait the time which ll be to 1min.&lt;br&gt;&lt;br&gt;iam lost already and dont know what to do with this.&lt;br&gt;Thx, T</description><pubDate>Fri, 14 Nov 2008 03:03:10 GMT</pubDate><dc:creator>tomas.salat</dc:creator></item><item><title>communicate to other device</title><link>http://www.a1vbcode.com/vbforums/Topic26262-3-1.aspx</link><description>I want to communicatie with a mixer.&lt;/P&gt;&lt;P&gt;IP: 192.168.1.100&lt;BR&gt;Port: 2005&lt;BR&gt;Protocol: UDP&lt;/P&gt;&lt;P&gt;To get the IP of the mixer I have to send: "IP" &amp;amp; VBCR&lt;/P&gt;&lt;P&gt;So I want to send and receive data.&lt;/P&gt;&lt;P&gt;What should I use? WinSock?&lt;/P&gt;&lt;P&gt;where can I find more information about communication between a PC and a device (mixer)&lt;BR&gt;Most of the tutorials are communication between PC and PC&lt;/P&gt;&lt;P&gt;Kiter</description><pubDate>Mon, 17 Nov 2008 08:03:01 GMT</pubDate><dc:creator>Kiter</dc:creator></item></channel></rss>