<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community - Visual Basic 4 / 5 / 6</title>
		<link>http://www.daniweb.com/forums/</link>
		<description><![CDATA[Our VB forum is the place for Q&A-style discussions related to legacy versions of VB as well as PowerBuilder. Note that we also have a separate Legacy Languages forum within the Software Development category, a VB.NET forum within the Software Development category, and an ASP.NET forum within the Web Development category.]]></description>
		<language>en-US</language>
		<lastBuildDate>Wed, 16 Dec 2009 07:07:25 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community - Visual Basic 4 / 5 / 6</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title>how to display data from  sql server to msflexgrid with many record, example 3500 rec</title>
			<link>http://www.daniweb.com/forums/thread246758.html</link>
			<pubDate>Wed, 16 Dec 2009 04:37:51 GMT</pubDate>
			<description><![CDATA[this is my code 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code Tags</a> </div> <div> <strong>Visual...]]></description>
			<content:encoded><![CDATA[<div>this is my code<br />
 <pre style="margin:20px; line-height:13px">MSFlexGrid1.Clear<br />
On Error Resume Next<br />
Set rs = cn.Execute(&quot;SELECT count(*) FROM ENTRY_GAJI_BAGIAN&quot;)<br />
If Err.Number &lt;&gt; 0 Then<br />
&nbsp; &nbsp; MsgBox &quot;Cannot open recordset due to this error: &quot; &amp; Err.Description<br />
&nbsp; &nbsp; MousePointer = vbDefault<br />
&nbsp; &nbsp; Exit Sub<br />
End If<br />
If rs(0) &gt; 0 Then<br />
&nbsp; &nbsp; MSFlexGrid1.Rows = rs(0) + 1<br />
Else<br />
&nbsp; &nbsp; MSFlexGrid1.Rows = 2<br />
End If<br />
<br />
<br />
Set rs = cn.Execute(&quot;SELECT * FROM ENTRY_GAJI_BAGIAN&quot;)<br />
MSFlexGrid1.Cols = rs.Fields.Count + 1<br />
sno = 1<br />
<br />
MSFlexGrid1.Row = 0<br />
MSFlexGrid1.Col = 0<br />
MSFlexGrid1.Text = &quot;No&quot;<br />
For i = 0 To rs.Fields.Count - 1<br />
&nbsp; &nbsp; MSFlexGrid1.Col = i + 1<br />
&nbsp; &nbsp; MSFlexGrid1.Text = rs.Fields(i).Name<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; Debug.Print rs.Fields(i).Name<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; 'MSFlexGrid1.TextMatrix(i, i + 1) = rs.Fields(i).Name<br />
Next<br />
<br />
<br />
If rs.EOF = False Then<br />
<br />
'Assigning Column names to flexgrid 1st row<br />
<br />
&nbsp;  Do While Not rs.EOF<br />
&nbsp; &nbsp; &nbsp; &nbsp; MSFlexGrid1.Row = sno<br />
&nbsp; &nbsp; &nbsp; &nbsp; MSFlexGrid1.Col = 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; MSFlexGrid1.Text = sno<br />
&nbsp; &nbsp; &nbsp; &nbsp; For i = 0 To rs.Fields.Count - 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MSFlexGrid1.Col = i + 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MSFlexGrid1.Text = IIf(IsNull(rs(i)), &quot;&quot;, rs(i))<br />
&nbsp; &nbsp; &nbsp; &nbsp; Next<br />
&nbsp; &nbsp; &nbsp; &nbsp; sno = sno + 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; DoEvents<br />
&nbsp; &nbsp; &nbsp; &nbsp; rs.MoveNext<br />
&nbsp; &nbsp; Loop<br />
End If<br />
'MousePointer = vbDefault<br />
&nbsp;  <br />
&nbsp;  <br />
Set rs = Nothing<br />
Set cn = Nothing</pre><br />
but for record 3500 not display, but for record &lt; 3500 display, Why??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>hery</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246758.html</guid>
		</item>
		<item>
			<title>How to use Button array</title>
			<link>http://www.daniweb.com/forums/thread246719.html</link>
			<pubDate>Wed, 16 Dec 2009 00:12:39 GMT</pubDate>
			<description>How to use Button array? 
i want to use separate code for each button, Please Help</description>
			<content:encoded><![CDATA[<div>How to use Button array?<br />
i want to use separate code for each button, Please Help</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Geek_Cyborg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246719.html</guid>
		</item>
		<item>
			<title>How to store ComboBox in a Text file</title>
			<link>http://www.daniweb.com/forums/thread246718.html</link>
			<pubDate>Wed, 16 Dec 2009 00:10:01 GMT</pubDate>
			<description>How to store all ComboBox items in a Text file..? 
 
 
 
Please share the code for this</description>
			<content:encoded><![CDATA[<div>How to store all ComboBox items in a Text file..?<br />
<br />
<br />
<br />
Please share the code for this</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Geek_Cyborg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246718.html</guid>
		</item>
		<item>
			<title>PictureBox scroolbar in vb6</title>
			<link>http://www.daniweb.com/forums/thread246646.html</link>
			<pubDate>Tue, 15 Dec 2009 17:38:47 GMT</pubDate>
			<description><![CDATA[Hi, this is my problem. 
 
I have a big picture to be viewed in picturebox. 
I will need to manipulated that picture (add some graphic in it) and save it in the same size (if the original is 2000x2500, let it be 2000x2500). 
 
The problem is that picture's size is more than the screensize. 
So I...]]></description>
			<content:encoded><![CDATA[<div>Hi, this is my problem.<br />
<br />
I have a big picture to be viewed in picturebox.<br />
I will need to manipulated that picture (add some graphic in it) and save it in the same size (if the original is 2000x2500, let it be 2000x2500).<br />
<br />
The problem is that picture's size is more than the screensize.<br />
So I cannot view everything in that image.<br />
<br />
I think the only way to do it is by using scroolbar.. but do you have any idea to solve it? <br />
Also to be honest, I don't know the difference between .scalewidth and .width? are they related to this issue?<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>neosonic</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246646.html</guid>
		</item>
		<item>
			<title>Hi There</title>
			<link>http://www.daniweb.com/forums/thread246600.html</link>
			<pubDate>Tue, 15 Dec 2009 14:58:31 GMT</pubDate>
			<description>Hi My name is Lin Freeman,im 14 years old and live in Baltimore Maryland.I really want to learn about visual basic 6.0.Ive bought one book and read it and read it well.It taught it the basic and how to write code but i didnt understand the code part very much i know just enough to make a hello...</description>
			<content:encoded><![CDATA[<div>Hi My name is Lin Freeman,im 14 years old and live in Baltimore Maryland.I really want to learn about visual basic 6.0.Ive bought one book and read it and read it well.It taught it the basic and how to write code but i didnt understand the code part very much i know just enough to make a hello world.As far as making forms i can do that with no problem.I was wondering if there was some expirenced programmer here that could show me the ropes some?<br />
If anybody is interested message me at <a href="mailto:skateatvu@hotmail.com">skateatvu@hotmail.com</a>,post here or send me a message thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>skateatvu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246600.html</guid>
		</item>
		<item>
			<title>RS232 in VB programming</title>
			<link>http://www.daniweb.com/forums/thread246528.html</link>
			<pubDate>Tue, 15 Dec 2009 08:50:54 GMT</pubDate>
			<description>hello im making a GUI using VB 6.0 in order to communicate my PC to my PIC microcontroller. Can you give me an alogorithm how to start in coding my GUI. Im just new to VB language. 
 
I really appreciate your reply..Thanks a lot.</description>
			<content:encoded><![CDATA[<div>hello im making a GUI using VB 6.0 in order to communicate my PC to my PIC microcontroller. Can you give me an alogorithm how to start in coding my GUI. Im just new to VB language.<br />
<br />
I really appreciate your reply..Thanks a lot.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>benze</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246528.html</guid>
		</item>
		<item>
			<title>VB in PDA</title>
			<link>http://www.daniweb.com/forums/thread246475.html</link>
			<pubDate>Tue, 15 Dec 2009 04:07:08 GMT</pubDate>
			<description><![CDATA[HI fellas, i want to use a visual basic application in Personal digital assistant(windows mobile platform) but somehow i am facing some problems (Like.... I couldn't run my exe on PDA, which was working fine on my system). 
Please help me.]]></description>
			<content:encoded><![CDATA[<div>HI fellas, i want to use a visual basic application in Personal digital assistant(windows mobile platform) but somehow i am facing some problems (Like.... I couldn't run my exe on PDA, which was working fine on my system).<br />
Please help me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>invincible35</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246475.html</guid>
		</item>
		<item>
			<title>Separate Text With Integer Values From A ListBox</title>
			<link>http://www.daniweb.com/forums/thread246460.html</link>
			<pubDate>Tue, 15 Dec 2009 02:22:19 GMT</pubDate>
			<description>Hello, 
See 
for eg. I have a ListBox with these items: abc1 abc20, abcd 
now i want to search and separate the only text which contain integers to a textbox.  
 
Can anyone help please</description>
			<content:encoded><![CDATA[<div>Hello,<br />
See<br />
for eg. I have a ListBox with these items: abc1 abc20, abcd<br />
now i want to search and separate the only text which contain integers to a textbox. <br />
<br />
Can anyone help please</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Geek_Cyborg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246460.html</guid>
		</item>
		<item>
			<title>checkbox control macro in excel 2007</title>
			<link>http://www.daniweb.com/forums/thread246377.html</link>
			<pubDate>Mon, 14 Dec 2009 19:36:56 GMT</pubDate>
			<description>How do I assign a macro for a selected check box in one worksheet and copy the entire row onto another worksheet? What should I do if I have selected some rows and I want all of those selected in the check box appear on the new worksheet? Anybody out there?</description>
			<content:encoded><![CDATA[<div>How do I assign a macro for a selected check box in one worksheet and copy the entire row onto another worksheet? What should I do if I have selected some rows and I want all of those selected in the check box appear on the new worksheet? Anybody out there?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>misstrouble</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246377.html</guid>
		</item>
		<item>
			<title>Office 2010 VBA</title>
			<link>http://www.daniweb.com/forums/thread246298.html</link>
			<pubDate>Mon, 14 Dec 2009 14:58:28 GMT</pubDate>
			<description><![CDATA[Just downloaded Office 2010 to see what changes have been made in the VBA environment and all looks well.  But i am having a big problem typing in my code!  as soon as i type something it appears in red, it autocorrects so fast that if i type .range("A1") it automatically puts a space inbetween...]]></description>
			<content:encoded><![CDATA[<div>Just downloaded Office 2010 to see what changes have been made in the VBA environment and all looks well.  But i am having a big problem typing in my code!  as soon as i type something it appears in red, it autocorrects so fast that if i type .range(&quot;A1&quot;) it automatically puts a space inbetween range and ( so the cursor ends up before the second bracket and i have to move the cursor to carry on typing.  Then it gets worse! if i then put *space* = *space* i find it automatically deleting my spaces and just deleting what i typed!<br />
<br />
this is rediculous! on the surface no changes have been made so why is this happening? i realise it is just a beta product but all major issues like this should have already been corrected before hand, surely?<br />
<br />
Anyway i just wanted to see if anyone else is having these issues?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>jammiedude</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246298.html</guid>
		</item>
		<item>
			<title>capturing key press event while vb application is running</title>
			<link>http://www.daniweb.com/forums/thread246208.html</link>
			<pubDate>Mon, 14 Dec 2009 08:22:45 GMT</pubDate>
			<description>ex : 
 
while asp web project is running , i have an option for the user , if the user presses F8 key in index page he will be redirected to login page  
 
In the same way while vb application is running i should be able to capture the key press event and redirect the user to certain form 
 
Here...</description>
			<content:encoded><![CDATA[<div>ex :<br />
<br />
while asp web project is running , i have an option for the user , if the user presses F8 key in index page he will be redirected to login page <br />
<br />
In the same way while vb application is running i should be able to capture the key press event and redirect the user to certain form<br />
<br />
Here user refrers to adminstrator .<br />
<br />
Is there an option like that in visual basic</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>coollife</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246208.html</guid>
		</item>
		<item>
			<title>VB 6</title>
			<link>http://www.daniweb.com/forums/thread246188.html</link>
			<pubDate>Mon, 14 Dec 2009 06:01:46 GMT</pubDate>
			<description><![CDATA[here's my code: 
 
this code executes by pressing ALT Q, then the msgbox will return the key value of Q which is 81 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680"...]]></description>
			<content:encoded><![CDATA[<div>here's my code:<br />
<br />
this code executes by pressing ALT Q, then the msgbox will return the key value of Q which is 81<br />
 <pre style="margin:20px; line-height:13px">Private Sub Form_KeyUp(KeyCode As Integer, x As Integer)<br />
If x = vbAltMask Then<br />
&nbsp; &nbsp; If KeyCode = vbKeyQ Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; MsgBox KeyCode<br />
&nbsp; &nbsp; End If<br />
End If<br />
End Sub</pre><br />
actually dis code works but all I want to happen is that every time I hit the ALT Q, its like pressing the numpad7 at the same time...<br />
<br />
help me guys.<br />
tnx in advance, merry Christmas</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>gian10890</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246188.html</guid>
		</item>
		<item>
			<title>How to show the next 15 odd numbers of a number</title>
			<link>http://www.daniweb.com/forums/thread246117.html</link>
			<pubDate>Sun, 13 Dec 2009 22:30:41 GMT</pubDate>
			<description>How can I show the next 15 odd numbers of for example number 10 ?</description>
			<content:encoded><![CDATA[<div>How can I show the next 15 odd numbers of for example number 10 ?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Lida_pink</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246117.html</guid>
		</item>
		<item>
			<title>How do i save a picture to a random access file???</title>
			<link>http://www.daniweb.com/forums/thread246061.html</link>
			<pubDate>Sun, 13 Dec 2009 16:51:26 GMT</pubDate>
			<description>I have made a program which can store users as records with different fields with a public type using text boxes and combo boxes which works fine but I also need to save a picture of the person in the file (same file if possible). how do i save the picture and then load it out of the file and...</description>
			<content:encoded><![CDATA[<div>I have made a program which can store users as records with different fields with a public type using text boxes and combo boxes which works fine but I also need to save a picture of the person in the file (same file if possible). how do i save the picture and then load it out of the file and display it again??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Matt3144</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246061.html</guid>
		</item>
		<item>
			<title>path error</title>
			<link>http://www.daniweb.com/forums/thread246038.html</link>
			<pubDate>Sun, 13 Dec 2009 14:27:03 GMT</pubDate>
			<description><![CDATA[hi experts. 
 
this is my first post here 
hope you could help me.. 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags"...]]></description>
			<content:encoded><![CDATA[<div>hi experts.<br />
<br />
this is my first post here<br />
hope you could help me..<br />
<br />
 <pre style="margin:20px; line-height:13px">Private Sub FindFile()<br />
&nbsp;  <br />
On Error GoTo x&nbsp;  'capture if error occurs<br />
&nbsp;  <br />
&nbsp;  Dim idx As Integer&nbsp; &nbsp; 'index to be incremented<br />
&nbsp;  <br />
&nbsp;  For idx = 1 To Combo.ListCount - 1&nbsp;  'loop to find the and load the text file<br />
&nbsp;  <br />
&nbsp;  <br />
&nbsp;  RTB.LoadFile App.Path &amp; &quot;\Ordinance\&quot; &amp; Combo.List(idx) &amp; &quot;\&quot; &amp; txtFind.Text &amp; &quot;.txt&quot;&nbsp; 'load the text<br />
&nbsp;  <br />
&nbsp; &nbsp; Exit For&nbsp; 'if found<br />
<br />
x:&nbsp; Next idx&nbsp;  'if not found<br />
&nbsp;<br />
End Sub</pre><br />
in my code, I have to catch the error which occurs when i want to load the File from an invalid directory,<br />
I need to catch it to increment the index of my combo which contains the Exact name of sub folders where the Files are.<br />
<br />
my problem is i can only catch the First error and increment the idx once(it can only change the Directory once)<br />
then the error appears(The specified path/file name cannot be access )<br />
<br />
<br />
<br />
why is that???<br />
what's wrong with the Codes???<br />
<br />
<br />
hope it's clear :icon_neutral:</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>ravmonster88</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246038.html</guid>
		</item>
		<item>
			<title>Adding text to an existing text box</title>
			<link>http://www.daniweb.com/forums/thread245882.html</link>
			<pubDate>Sat, 12 Dec 2009 18:27:50 GMT</pubDate>
			<description>I have built a telephone keypad using the drawing function of Excel and I would like to be able to have a visual print out in an existing Text Box of the numbers selected when I touch the individual key button Groups.</description>
			<content:encoded><![CDATA[<div>I have built a telephone keypad using the drawing function of Excel and I would like to be able to have a visual print out in an existing Text Box of the numbers selected when I touch the individual key button Groups.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>bg_ac_dziner</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245882.html</guid>
		</item>
		<item>
			<title>installing patch of spyware doctor</title>
			<link>http://www.daniweb.com/forums/thread245843.html</link>
			<pubDate>Sat, 12 Dec 2009 14:47:06 GMT</pubDate>
			<description>hey folks its me again  i have a big probelem i dont know how to use the patch of spyware doctor hoping to those person who have a good heart god bless to all pf you</description>
			<content:encoded><![CDATA[<div>hey folks its me again  i have a big probelem i dont know how to use the patch of spyware doctor hoping to those person who have a good heart god bless to all pf you</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>cabsjonel</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245843.html</guid>
		</item>
		<item>
			<title>access printscreen through coding</title>
			<link>http://www.daniweb.com/forums/thread246083.html</link>
			<pubDate>Sat, 12 Dec 2009 12:13:22 GMT</pubDate>
			<description>how we access  printscreen through coding</description>
			<content:encoded><![CDATA[<div>how we access  printscreen through coding</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>aakashkumar</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246083.html</guid>
		</item>
		<item>
			<title>Help!!!</title>
			<link>http://www.daniweb.com/forums/thread245782.html</link>
			<pubDate>Sat, 12 Dec 2009 09:21:41 GMT</pubDate>
			<description>i want to install visual basic 6.0 free download to my pc but i dont know if i can get here a free!!!! 
 
help me pls!!!</description>
			<content:encoded><![CDATA[<div>i want to install visual basic 6.0 free download to my pc but i dont know if i can get here a free!!!!<br />
<br />
help me pls!!!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>xandy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245782.html</guid>
		</item>
		<item>
			<title>(Help) +Add integer to specify integer character  from a TextBox</title>
			<link>http://www.daniweb.com/forums/thread245772.html</link>
			<pubDate>Sat, 12 Dec 2009 08:13:09 GMT</pubDate>
			<description><![CDATA[Hello, 
I want to add integer value in specify integer from mix character TextBox,  
 
For eg, I have two TextBoxes first's name Textbox1 and second's name Textresult1 
 
  Textbox1.Text = "blabla 2 bla" 
 
Now after a empty space and before a empty space i want to + 1 in integer value and it'll...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
I want to add integer value in specify integer from mix character TextBox, <br />
<br />
For eg, I have two TextBoxes first's name Textbox1 and second's name Textresult1<br />
<br />
  Textbox1.Text = &quot;blabla 2 bla&quot;<br />
<br />
Now after a empty space and before a empty space i want to + 1 in integer value and it'll show in Textresult1 like this &quot;blabla 3 bla&quot;<br />
<br />
Please Help.. Explain the full code for this, Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Geek_Cyborg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245772.html</guid>
		</item>
		<item>
			<title>VB in MS Word 2007</title>
			<link>http://www.daniweb.com/forums/thread245629.html</link>
			<pubDate>Fri, 11 Dec 2009 16:13:23 GMT</pubDate>
			<description><![CDATA[The following code worked perfectly in word 2003, now in word 2007 it doesn't work if the resulting save file is on a network drive, it does however work on a local drive. We are scrathing our heads here if anyone has any ideas we would be happy to try them out. 
 
  <div class="codeblock"> <div...]]></description>
			<content:encoded><![CDATA[<div>The following code worked perfectly in word 2003, now in word 2007 it doesn't work if the resulting save file is on a network drive, it does however work on a local drive. We are scrathing our heads here if anyone has any ideas we would be happy to try them out.<br />
<br />
 <pre style="margin:20px; line-height:13px">With Options<br />
&nbsp; &nbsp; &nbsp; &nbsp; .LocalNetworkFile = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .AllowFastSave = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .BackgroundSave = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .CreateBackup = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .SavePropertiesPrompt = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .SaveInterval = 10<br />
&nbsp; &nbsp; &nbsp; &nbsp; .SaveNormalPrompt = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .DisableFeaturesbyDefault = False<br />
&nbsp; &nbsp; End With<br />
&nbsp; &nbsp; With ActiveDocument<br />
&nbsp; &nbsp; &nbsp; &nbsp; .ReadOnlyRecommended = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .EmbedTrueTypeFonts = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .SaveFormsData = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; .SaveSubsetFonts = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .DoNotEmbedSystemFonts = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; .Password = &quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; .WritePassword = &quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; .DisableFeatures = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .EmbedSmartTags = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; .SmartTagsAsXMLProps = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; .EmbedLinguisticData = True<br />
&nbsp; &nbsp; End With<br />
&nbsp; &nbsp; Application.DefaultSaveFormat = &quot;&quot;<br />
&nbsp;  SaveName = ActiveDocument.FullName<br />
&nbsp;  SaveName = Left(SaveName, Len(SaveName) - 3)<br />
&nbsp;  SaveName = SaveName &amp; &quot;txt&quot;<br />
&nbsp;  ActiveDocument.SaveAs FileName:=SaveName, FileFormat:=wdFormatText, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; LockComments:=False, Password:=&quot;&quot;, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; AddToRecentFiles:=True, WritePassword:=&quot;&quot;, ReadOnlyRecommended:=False, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; EmbedTrueTypeFonts:=False, SaveNativePictureFormat:=False, SaveFormsData _<br />
&nbsp; &nbsp; &nbsp; &nbsp; :=True, SaveAsAOCELetter:=False, Encoding:=1252, InsertLineBreaks:=False, _<br />
&nbsp; &nbsp; &nbsp; &nbsp;  AllowSubstitutions:=False, LineEnding:=wdCRLF</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>shaunhester</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245629.html</guid>
		</item>
		<item>
			<title>vb hangs help needed</title>
			<link>http://www.daniweb.com/forums/thread245591.html</link>
			<pubDate>Fri, 11 Dec 2009 13:27:12 GMT</pubDate>
			<description><![CDATA[guys,,i use vb6 and access 2007,,i hav a problem with my project,,,,my project is about college admin s/m,,,on runtime if i give certain id's for input it hangs and just crashes,,,i dont know why this happens,,,,,i hav applied the same code in many other places of my project but they dont seem to...]]></description>
			<content:encoded><![CDATA[<div>guys,,i use vb6 and access 2007,,i hav a problem with my project,,,,my project is about college admin s/m,,,on runtime if i give certain id's for input it hangs and just crashes,,,i dont know why this happens,,,,,i hav applied the same code in many other places of my project but they dont seem to hang though i've faced the hanging trouble previously but which doesnt happen now,,,,,pls i need ur help desperately,,,,</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>venkatnams</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245591.html</guid>
		</item>
		<item>
			<title>Working with Internet Explorer Browser Project. Solution Please...</title>
			<link>http://www.daniweb.com/forums/thread245555.html</link>
			<pubDate>Fri, 11 Dec 2009 10:13:25 GMT</pubDate>
			<description>I am fetching the url of internet explorer browser  
ex: http://google.com/accounts/service=orkut............................. 
 
for orkut.com website 
 
but for every page visited inside the orkut website urls keep changing 
 
So i was wondering is there any through which a website can be...</description>
			<content:encoded><![CDATA[<div>I am fetching the url of internet explorer browser <br />
ex: <a rel="nofollow" class="t" href="http://google.com/accounts/service=orkut" target="_blank">http://google.com/accounts/service=orkut</a>.............................<br />
<br />
for orkut.com website<br />
<br />
but for every page visited inside the orkut website urls keep changing<br />
<br />
So i was wondering is there any through which a website can be identified uniquely like ip address, or any text scanning or any ways which should be unique to an whole website .<br />
<br />
Please provide some inputs , its urgent</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>coollife</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245555.html</guid>
		</item>
		<item>
			<title>SQL QUARY</title>
			<link>http://www.daniweb.com/forums/thread245522.html</link>
			<pubDate>Fri, 11 Dec 2009 08:14:29 GMT</pubDate>
			<description><![CDATA[Hi i just have problem in my software 
i just want to apply more then one condition in my quary which is joined "and" operator 
plese helpe me by given an example(coding) 
it is very urgent]]></description>
			<content:encoded><![CDATA[<div>Hi i just have problem in my software<br />
i just want to apply more then one condition in my quary which is joined &quot;and&quot; operator<br />
plese helpe me by given an example(coding)<br />
it is very urgent</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>VINOD_2553</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245522.html</guid>
		</item>
		<item>
			<title>How do i open an specific website through ie and get the url of that website</title>
			<link>http://www.daniweb.com/forums/thread245496.html</link>
			<pubDate>Fri, 11 Dec 2009 06:14:36 GMT</pubDate>
			<description><![CDATA[ex : 
 
Set ie1 = CreateObject("InternetExplorer.Application") 
ie.Navigate "http://www.gmail.com" 
 
the above code opens the gmail.com page but the url will be 
something like http://www.google.com/accounts/......... 
 
I want to get the url , whats the  code for it and how to get ip address of...]]></description>
			<content:encoded><![CDATA[<div>ex :<br />
<br />
Set ie1 = CreateObject(&quot;InternetExplorer.Application&quot;)<br />
ie.Navigate &quot;http://www.gmail.com&quot;<br />
<br />
the above code opens the gmail.com page but the url will be<br />
something like <a rel="nofollow" class="t" href="http://www.google.com/accounts/" target="_blank">http://www.google.com/accounts/</a>.........<br />
<br />
I want to get the url , whats the  code for it and how to get ip address of an website <br />
<br />
Please HELP</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>coollife</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245496.html</guid>
		</item>
		<item>
			<title>open file with vaiable names</title>
			<link>http://www.daniweb.com/forums/thread245487.html</link>
			<pubDate>Fri, 11 Dec 2009 05:27:21 GMT</pubDate>
			<description><![CDATA[I have .txt files saved as their date in yyyymmdd.txt format.  I need to be able to open these files based on today's date or a cell value and use the info to paste into an existing excel file.  I can handle the pasting of the info but do not know how to open files based on this criteria.  Any help...]]></description>
			<content:encoded><![CDATA[<div>I have .txt files saved as their date in yyyymmdd.txt format.  I need to be able to open these files based on today's date or a cell value and use the info to paste into an existing excel file.  I can handle the pasting of the info but do not know how to open files based on this criteria.  Any help would be appreciated</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>cwiggins</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245487.html</guid>
		</item>
		<item>
			<title>difference with the two?</title>
			<link>http://www.daniweb.com/forums/thread245472.html</link>
			<pubDate>Fri, 11 Dec 2009 03:47:15 GMT</pubDate>
			<description><![CDATA[can anybody explain what the difference between the 2 codes below?  
i'm using visual basic 6 and i'm connecting access dbase. 
 
and one other thing, i'm trying to connect access 2007 with my vb6 but i can't remember the code, i know the code below works with access 2003 and that i'll just have to...]]></description>
			<content:encoded><![CDATA[<div>can anybody explain what the difference between the 2 codes below? <br />
i'm using visual basic 6 and i'm connecting access dbase.<br />
<br />
and one other thing, i'm trying to connect access 2007 with my vb6 but i can't remember the code, i know the code below works with access 2003 and that i'll just have to edit the code below, i also remember that instead of .jet it should be .ace other than that i can't remember what follows.<br />
<br />
thanks for the help.<br />
<br />
 <pre style="margin:20px; line-height:13px">With caba<br />
.CursorLocation = adUseClient<br />
.Open &quot;provider = microsoft.jet.oledb.4.0; data source=&quot; &amp; App.Path &amp; &quot;\DBASE\CABA.mdb;&quot;<br />
End With<br />
<br />
<br />
With caba<br />
.ConnectionString = &quot;Provider=microsoft.jet.oledb.4.0; data source=&quot; &amp; App.Path &amp; &quot;\DBASE\caba.mdb;&quot;<br />
.Open<br />
End With</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>makymakaru</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245472.html</guid>
		</item>
		<item>
			<title>Data Base selection Help for VB</title>
			<link>http://www.daniweb.com/forums/thread245368.html</link>
			<pubDate>Thu, 10 Dec 2009 18:05:28 GMT</pubDate>
			<description>Hello, 
 
Please help me in selecting a database to use with VB6. 
 
my application will store some 20-25 values each second (24 X 7) along with date-time stamp...and i would need to access this data for over 1 year period... 
 
Keeping this in mind...which database should i select? 
 
also please...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
Please help me in selecting a database to use with VB6.<br />
<br />
my application will store some 20-25 values each second (24 X 7) along with date-time stamp...and i would need to access this data for over 1 year period...<br />
<br />
Keeping this in mind...which database should i select?<br />
<br />
also please guide me as to what should be structure of my table (should i keep separate database for each month or shall month be part of table etc.)??<br />
<br />
As i am just starting the development, please suggest the best practices :)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>pankaj.garg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245368.html</guid>
		</item>
		<item>
			<title>Visual Basic</title>
			<link>http://www.daniweb.com/forums/thread245367.html</link>
			<pubDate>Thu, 10 Dec 2009 18:03:46 GMT</pubDate>
			<description>I have to write a program to get traffic lights to work - how do i get it to show green and amber at the same time? 
 
any suggestions?</description>
			<content:encoded><![CDATA[<div>I have to write a program to get traffic lights to work - how do i get it to show green and amber at the same time?<br />
<br />
any suggestions?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>gogo2010</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245367.html</guid>
		</item>
		<item>
			<title>MDIChild form SetFocus problem</title>
			<link>http://www.daniweb.com/forums/thread245348.html</link>
			<pubDate>Thu, 10 Dec 2009 15:42:31 GMT</pubDate>
			<description>Hi I was wondering if anyone can help me. 
 
I have a program that has an MDIChild form which contains a button that opens up a second MDIChild form.  This second form has a listbox checkbox on it that allows the user to select from.  Once they have finished selecting, I need the second MDIChild...</description>
			<content:encoded><![CDATA[<div>Hi I was wondering if anyone can help me.<br />
<br />
I have a program that has an MDIChild form which contains a button that opens up a second MDIChild form.  This second form has a listbox checkbox on it that allows the user to select from.  Once they have finished selecting, I need the second MDIChild form to close and return focus to the first MDIChild form.  <br />
<br />
The problem I am getting is when I close the second MDIChild form and try to return to the first one, instead of updating the first form that is already loaded it is creating a new instance of the first MDIChild form so I am getting 2!! <br />
<br />
Does anyone know anything about this?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Dazpenn</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245348.html</guid>
		</item>
		<item>
			<title>rich textbox</title>
			<link>http://www.daniweb.com/forums/thread245301.html</link>
			<pubDate>Thu, 10 Dec 2009 12:51:12 GMT</pubDate>
			<description>i have develop a winsock chat and am trying to add a smiley or an emotion to the rich textbox. 
can anyone help me out 
plzzzzzzzzzzzzzzz</description>
			<content:encoded><![CDATA[<div>i have develop a winsock chat and am trying to add a smiley or an emotion to the rich textbox.<br />
can anyone help me out<br />
plzzzzzzzzzzzzzzz</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>jeffrey4u</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245301.html</guid>
		</item>
		<item>
			<title><![CDATA[need help for my error "querry is too complex']]></title>
			<link>http://www.daniweb.com/forums/thread245247.html</link>
			<pubDate>Thu, 10 Dec 2009 08:43:13 GMT</pubDate>
			<description><![CDATA[hi!!!  
 
 
      am palcy , am having problem in my listview with my save button whenever i try to edit something then press the command button for saving the update that ive' done it give's me the error "querry is too complex" then pointing my "rs.Update" code  
any solutions or proper coding for...]]></description>
			<content:encoded><![CDATA[<div>hi!!! <br />
<br />
<br />
      am palcy , am having problem in my listview with my save button whenever i try to edit something then press the command button for saving the update that ive' done it give's me the error &quot;querry is too complex&quot; then pointing my &quot;rs.Update&quot; code <br />
any solutions or proper coding for updating a recordset ... thank you in adcanve... here is my coding below<br />
<br />
<br />
code:<br />
<br />
        connection<br />
 rs.Open &quot;select * from permanent where num='&quot; &amp; num.Caption &amp; &quot;'&quot;, con, 3, 3<br />
    If rs.RecordCount &lt;&gt; 0 Then<br />
       rs.Update<br />
       rs(&quot;num&quot;) = (num.Caption)<br />
       rs(&quot;name&quot;) = UCase(txtname.Text)<br />
       rs(&quot;sex&quot;) = (sex.Text)<br />
       rs(&quot;year&quot;) = (year1.Text)<br />
       rs(&quot;ncee&quot;) = (ncee.Text)<br />
       rs(&quot;month&quot;) = (month.Text)<br />
       rs(&quot;day&quot;) = (day.Text)<br />
       rs(&quot;year1&quot;) = (year2.Text)<br />
        rs(&quot;place&quot;) = (place.Text)<br />
        rs(&quot;city&quot;) = (city.Text)<br />
        rs(&quot;provincial&quot;) = (prov.Text)<br />
        rs(&quot;parent&quot;) = (parent.Text)<br />
        rs(&quot;address&quot;) = (address.Text)<br />
        rs(&quot;primary&quot;) = (prim.Text)<br />
        rs(&quot;year2&quot;) = (year3.Text)<br />
        rs(&quot;intermediate&quot;) = (inte.Text)<br />
        rs(&quot;year3&quot;) = (year4.Text)<br />
        rs(&quot;high_school&quot;) = (high.Text)<br />
        rs(&quot;year4&quot;) = (year5.Text)<br />
        rs(&quot;year5&quot;) = (co1.Text)<br />
        rs(&quot;elp1&quot;) = (elp1.Text)<br />
        rs(&quot;no1&quot;) = (no1.Text)<br />
        rs(&quot;final1&quot;) = (fin1.Text)<br />
        rs(&quot;final2&quot;) = (fin2.Text)<br />
       rs(&quot;final3&quot;) = (fin3.Text)<br />
       rs(&quot;final4&quot;) = (fin4.Text)<br />
       rs(&quot;final5&quot;) = (fin5.Text)<br />
       rs(&quot;final6&quot;) = (fin6.Text)<br />
       rs(&quot;final7&quot;) = (fin7.Text)<br />
       rs(&quot;final8&quot;) = (fin8.Text)<br />
       rs(&quot;re-xam1&quot;) = (re1.Text)<br />
       rs(&quot;re-xam2&quot;) = (re2.Text)<br />
       rs(&quot;re-xam3&quot;) = (re3.Text)<br />
       rs(&quot;re-xam4&quot;) = (re4.Text)<br />
       rs(&quot;re-xam5&quot;) = (re5.Text)<br />
       rs(&quot;re-xam6&quot;) = (re6.Text)<br />
       rs(&quot;re-xam7&quot;) = (re7.Text)<br />
       rs(&quot;re-xam8&quot;) = (re8.Text)<br />
       rs(&quot;units1&quot;) = (unit1.Text)<br />
       rs(&quot;units2&quot;) = (unit2.Text)<br />
       rs(&quot;units3&quot;) = (unit3.Text)<br />
       rs(&quot;units4&quot;) = (unit4.Text)<br />
       rs(&quot;units5&quot;) = (unit5.Text)<br />
       rs(&quot;units6&quot;) = (unit6.Text)<br />
       rs(&quot;units7&quot;) = (unit7.Text)<br />
       rs(&quot;units8&quot;) = (unit8.Text)<br />
       rs(&quot;remark1&quot;) = (rem1.Text)<br />
       rs(&quot;remark2&quot;) = (rem2.Text)<br />
       rs(&quot;remark3&quot;) = (rem3.Text)<br />
       rs(&quot;remark4&quot;) = (rem4.Text)<br />
       rs(&quot;remark5&quot;) = (rem5.Text)<br />
       rs(&quot;remark6&quot;) = (rem6.Text)<br />
       rs(&quot;remark7&quot;) = (rem7.Text)<br />
       rs(&quot;remark8&quot;) = (rem8.Text)<br />
       rs(&quot;year6&quot;) = (co3.Text)<br />
       rs(&quot;elp2&quot;) = (elp2.Text)<br />
       rs(&quot;no2&quot;) = (no2.Text)<br />
       rs(&quot;final9&quot;) = (fin9.Text)<br />
       rs(&quot;final10&quot;) = (fin10.Text)<br />
       rs(&quot;final11&quot;) = (fin11.Text)<br />
       rs(&quot;final12&quot;) = (fin12.Text)<br />
       rs(&quot;final13&quot;) = (fin13.Text)<br />
       rs(&quot;final14&quot;) = (fin14.Text)<br />
       rs(&quot;final15&quot;) = (fin15.Text)<br />
       rs(&quot;re-xam9&quot;) = (re9.Text)<br />
       rs(&quot;re-xam10&quot;) = (re10.Text)<br />
       rs(&quot;re-xam11&quot;) = (re11.Text)<br />
       rs(&quot;re-xam12&quot;) = (re12.Text)<br />
       rs(&quot;re-xam13&quot;) = (re13.Text)<br />
       rs(&quot;re-xam14&quot;) = (re14.Text)<br />
       rs(&quot;re-xam15&quot;) = (re15.Text)<br />
       rs(&quot;unit9&quot;) = (unit9.Text)<br />
       rs(&quot;unit10&quot;) = (unit10.Text)<br />
       rs(&quot;unit11&quot;) = (unit11.Text)<br />
       rs(&quot;unit12&quot;) = (unit12.Text)<br />
       rs(&quot;unit13&quot;) = (unit13.Text)<br />
       rs(&quot;unit14&quot;) = (unit14.Text)<br />
       rs(&quot;unit15&quot;) = (unit15.Text)<br />
       rs(&quot;remark9&quot;) = (rem9.Text)<br />
       rs(&quot;remark10&quot;) = (rem10.Text)<br />
       rs(&quot;remark11&quot;) = (rem11.Text)<br />
       rs(&quot;remark12&quot;) = (rem12.Text)<br />
       rs(&quot;remark13&quot;) = (rem13.Text)<br />
       rs(&quot;remark14&quot;) = (rem14.Text)<br />
       rs(&quot;remark15&quot;) = (rem15.Text)<br />
       rs(&quot;year7&quot;) = (summer1.co5.Text)<br />
       rs(&quot;elp3&quot;) = (summer1.elp3.Text)<br />
       rs(&quot;no3&quot;) = (summer1.no3.Text)<br />
       rs(&quot;final16&quot;) = (summer1.fin16.Text)<br />
       rs(&quot;final17&quot;) = (summer1.fin17.Text)<br />
       rs(&quot;final18&quot;) = (summer1.fin18.Text)<br />
       rs(&quot;final19&quot;) = (summer1.fin19.Text)<br />
       rs(&quot;final20&quot;) = (summer1.fin20.Text)<br />
       rs(&quot;re-xam16&quot;) = (summer1.re16.Text)<br />
        rs(&quot;re-xam17&quot;) = (summer1.re17.Text)<br />
        rs(&quot;re-xam18&quot;) = (summer1.re18.Text)<br />
        rs(&quot;re-xam19&quot;) = (summer1.re19.Text)<br />
        rs(&quot;re-xam20&quot;) = (summer1.re20.Text)<br />
        rs(&quot;unit16&quot;) = (summer1.unit16.Text)<br />
       rs(&quot;unit17&quot;) = (summer1.unit17.Text)<br />
       rs(&quot;unit18&quot;) = (summer1.unit18.Text)<br />
       rs(&quot;unit19&quot;) = (summer1.unit19.Text)<br />
       rs(&quot;unit20&quot;) = (summer1.unit20.Text)<br />
       rs(&quot;remark16&quot;) = (summer1.rem16.Text)<br />
       rs(&quot;remark17&quot;) = (summer1.rem17.Text)<br />
       rs(&quot;remark18&quot;) = (summer1.rem18.Text)<br />
       rs(&quot;remark19&quot;) = (summer1.rem19.Text)<br />
       rs(&quot;remark20&quot;) = (summer1.rem20.Text)<br />
       rs.Update<br />
       End If<br />
       rs.Close: Set rs = Nothing<br />
       con.Close: Set con = Nothing</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>palcy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245247.html</guid>
		</item>
		<item>
			<title>How to create query to search some info in microsoft access database?</title>
			<link>http://www.daniweb.com/forums/thread245244.html</link>
			<pubDate>Thu, 10 Dec 2009 08:21:09 GMT</pubDate>
			<description>I have many microsoft access database and saved under file name like 4945.mdb, 4946.mdb, 4947.mdb etc..  
 
Inside each *.mdb, there are data columns like Serial Number, Part Number, Qty etc. 
 
Let say I want to create a Query using VB to search one of the Part Number in all these *.mdb files, may...</description>
			<content:encoded><![CDATA[<div>I have many microsoft access database and saved under file name like 4945.mdb, 4946.mdb, 4947.mdb etc.. <br />
<br />
Inside each *.mdb, there are data columns like Serial Number, Part Number, Qty etc.<br />
<br />
Let say I want to create a Query using VB to search one of the Part Number in all these *.mdb files, may I know how to create it?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>wonderhow8</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245244.html</guid>
		</item>
		<item>
			<title>Data Report</title>
			<link>http://www.daniweb.com/forums/thread245228.html</link>
			<pubDate>Thu, 10 Dec 2009 07:01:27 GMT</pubDate>
			<description><![CDATA[Hi,  
i'm actually trying to display records from 3 tables in a Data Report using an InputBox. That is whatever information i enter in the inputbox the data report should display its appropriate records from the tables. 
 
i can display records from 3 tables in the data report, but how to do this...]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
i'm actually trying to display records from 3 tables in a Data Report using an InputBox. That is whatever information i enter in the inputbox the data report should display its appropriate records from the tables.<br />
<br />
i can display records from 3 tables in the data report, but how to do this using an input box?<br />
<br />
can u just help me on this.<br />
<br />
Thank you.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>t__</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245228.html</guid>
		</item>
		<item>
			<title>count down timer</title>
			<link>http://www.daniweb.com/forums/thread245216.html</link>
			<pubDate>Thu, 10 Dec 2009 05:51:00 GMT</pubDate>
			<description><![CDATA[I want to set timer to count down from 40 mins, then messageBox("Time is up"). How do I do this? Thank you. 
 
http://mcatprep.yolasite.com/ 
<a href=http://mcatprep.yolasite.com/>M Prep</a>]]></description>
			<content:encoded><![CDATA[<div>I want to set timer to count down from 40 mins, then messageBox(&quot;Time is up&quot;). How do I do this? Thank you.<br />
<br />
<a rel="nofollow" class="t" href="http://mcatprep.yolasite.com/" target="_blank">http://mcatprep.yolasite.com/</a><br />
&lt;a href=http://mcatprep.yolasite.com/&gt;M Prep&lt;/a&gt;</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>mcatest</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245216.html</guid>
		</item>
		<item>
			<title>write text on jpg image from VB6</title>
			<link>http://www.daniweb.com/forums/thread245143.html</link>
			<pubDate>Wed, 09 Dec 2009 20:42:26 GMT</pubDate>
			<description>Hi, 
 
I have written an application in VB6 that grabs an image from a webcam and writes it out to the hard drive. Before writing it I would like to add a text line listing which camera it is and the date and time. I have no problem sorting out the text I want but just need help to actually write...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have written an application in VB6 that grabs an image from a webcam and writes it out to the hard drive. Before writing it I would like to add a text line listing which camera it is and the date and time. I have no problem sorting out the text I want but just need help to actually write it on the image. <br />
<br />
I know I could write the image to a file then use Imagemagik but would prefer to do it within VB6 if possible.<br />
<br />
Thanks<br />
<br />
George</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>NIWANUT</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245143.html</guid>
		</item>
		<item>
			<title>!!!!!!  Help me !!!!!  Please.</title>
			<link>http://www.daniweb.com/forums/thread245137.html</link>
			<pubDate>Wed, 09 Dec 2009 20:15:58 GMT</pubDate>
			<description>Calculate the number of years worked to date. (Fraction of year, cut waste) as well as to receive a salary. (An integer).  
 
If working conditions and less than 3 years will receive 1% salary increase.  
If work has been 3 years but not more than 5 years will receive salary increases of 3%.  
If...</description>
			<content:encoded><![CDATA[<div>Calculate the number of years worked to date. (Fraction of year, cut waste) as well as to receive a salary. (An integer). <br />
<br />
If working conditions and less than 3 years will receive 1% salary increase. <br />
If work has been 3 years but not more than 5 years will receive salary increases of 3%. <br />
If work has been 5 years but not more than 10 years will receive 5% salary increase. <br />
If running more than 10 years ago will receive 10% salary increase. <br />
<br />
I am a Thai.<br />
<br />
Specialty not English.<br />
<br />
For example, I have to study. <br />
<br />
Thank you very much.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>nupoychan</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245137.html</guid>
		</item>
		<item>
			<title>Excel VBA userform repopulate checkboxes - code attached</title>
			<link>http://www.daniweb.com/forums/thread245134.html</link>
			<pubDate>Wed, 09 Dec 2009 20:07:09 GMT</pubDate>
			<description>Okay, I am hoping someone here can help me.  I have figured out how to double click a cell in my excel worksheet to pull up the userform used to populate the data for each record (in columns C through DA) and repopulate the userform BUT when it repopulates the form it only repopulates the textboxes...</description>
			<content:encoded><![CDATA[<div>Okay, I am hoping someone here can help me.  I have figured out how to double click a cell in my excel worksheet to pull up the userform used to populate the data for each record (in columns C through DA) and repopulate the userform BUT when it repopulates the form it only repopulates the textboxes not the checkboxes.  The checkboxes are repopulated such that they are all greyed in with a checkmark.  I can click on the checkbox and the tick appears (with the black on white check) and a second click removes the tick.  What is wrong with my code?  I want to repopulate the checkboxes only where a &quot;Yes&quot; appears in the worksheet data.  HELP!!!<br />
<br />
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)<br />
    If Target.Column = 2 Then<br />
    Load RSForm<br />
    RSForm.txtTitle = Target.Offset(0, 1).Value<br />
    RSForm.txtDate = Target.Offset(0, 2).Value<br />
    RSForm.txtAuthor = Target.Offset(0, 3).Value<br />
    RSForm.txtPatentAssignee = Target.Offset(0, 4).Value<br />
    RSForm.txtPatentNumber = Target.Offset(0, 5).Value<br />
    RSForm.chkReviewArticle = Target.Offset(0, 6).Value<br />
    RSForm.chkSMMT = Target.Offset(0, 7).Value<br />
    RSForm.chkThermal = Target.Offset(0, 8).Value<br />
    RSForm.chkLaser = Target.Offset(0, 9).Value<br />
    RSForm.chkIonBeam = Target.Offset(0, 10).Value<br />
    RSForm.chkGasFlame = Target.Offset(0, 11).Value<br />
    RSForm.chkMechanical = Target.Offset(0, 12).Value<br />
    RSForm.Show<br />
    End If<br />
End Sub</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>bcdio</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245134.html</guid>
		</item>
		<item>
			<title>Error 91 Object variable or with block variabele not set</title>
			<link>http://www.daniweb.com/forums/thread245081.html</link>
			<pubDate>Wed, 09 Dec 2009 17:04:16 GMT</pubDate>
			<description>In een programma waarin een bepaalde code en database al jaren zonder problemen gebruikt is krijg ik bovenstaande fout. Als ik stap voor stap door het programma ga, loopt het zonder fouten door het instellen van de databasename en de recordsource. Deze recordsource is de recordsource van een data...</description>
			<content:encoded><![CDATA[<div>In een programma waarin een bepaalde code en database al jaren zonder problemen gebruikt is krijg ik bovenstaande fout. Als ik stap voor stap door het programma ga, loopt het zonder fouten door het instellen van de databasename en de recordsource. Deze recordsource is de recordsource van een data control en is de tekst van een query.  Wat kan er de oorzaak van zijn dat het programma altijd zonder fouten liep en nu niet meer correct werkt?<br />
Mogelijk is het volgende de oorzaak. Bij het starten van het programma krijg ik een foutmelding met een rood kruis en de tekst &quot;Unknown&quot; zonder enige toevoeging. Heeft ieman een idee wat hier aan de hand kan zijn?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>jvdpeet</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245081.html</guid>
		</item>
		<item>
			<title>Sum of Subtotals (EXCEL)</title>
			<link>http://www.daniweb.com/forums/thread245078.html</link>
			<pubDate>Wed, 09 Dec 2009 17:01:47 GMT</pubDate>
			<description>I need help with code to find the sum of several different subtotals that may vary in the amount of data. 
 
I have to pull from columns that may vary from report to report (the heading will always be the same but the columns may be different lengths) 
 
Ex: 
Category BankTotal MarketTotal 
BSM 9 6...</description>
			<content:encoded><![CDATA[<div>I need help with code to find the sum of several different subtotals that may vary in the amount of data.<br />
<br />
I have to pull from columns that may vary from report to report (the heading will always be the same but the columns may be different lengths)<br />
<br />
Ex:<br />
Category BankTotal MarketTotal<br />
BSM 9 6<br />
BSM 1 3<br />
subtotal 10 9<br />
<br />
PHM 1 2<br />
PHM 1 2<br />
PHM 1 2<br />
subtotal 3 6<br />
<br />
grand total 13 15<br />
<br />
<br />
BSM might sometimes have 4 or 5 rows of data sometimes. <br />
Just need for the &quot; grand total&quot; to always add the subtotal even if there is a change. <br />
<br />
Can anybody help please?<br />
<br />
Here is the code I have to give me the subtotals and spaces.<br />
<br />
 <pre style="margin:20px; line-height:13px">Dim Lastrow As Long<br />
Dim FirstRow As Long<br />
Dim i As Long<br />
&nbsp; &nbsp; With ActiveSheet<br />
&nbsp; &nbsp; &nbsp; &nbsp; Lastrow = .Cells(.Rows.Count, &quot;A&quot;).End(xlUp).Row<br />
&nbsp; &nbsp; &nbsp; &nbsp; For i = Lastrow To 2 Step -1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FirstRow = i<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Do Until .Cells(FirstRow - 1, &quot;A&quot;).Value &lt;&gt; .Cells(i, &quot;A&quot;).Value<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FirstRow = FirstRow - 1<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Loop<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Rows(i + 1).Resize(2).Insert<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Cells(i + 1, &quot;A&quot;).Value = &quot;Sub Total&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Cells(i + 1, &quot;E&quot;).Resize(, 3).Formula = &quot;=SUM(E&quot; &amp; FirstRow &amp; &quot;:E&quot; &amp; i &amp; &quot;)&quot;<br />
&nbsp; &nbsp;  i = FirstRow<br />
&nbsp; &nbsp; &nbsp; &nbsp; Next i</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>jcb0806</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245078.html</guid>
		</item>
		<item>
			<title>help in dao report</title>
			<link>http://www.daniweb.com/forums/thread244956.html</link>
			<pubDate>Wed, 09 Dec 2009 08:59:20 GMT</pubDate>
			<description>hi  
 
I have developed a project using vb dao. Now I want to generate report by using crystal report 9. can anybody help me with the coding of the same.</description>
			<content:encoded><![CDATA[<div>hi <br />
<br />
I have developed a project using vb dao. Now I want to generate report by using crystal report 9. can anybody help me with the coding of the same.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>aditi123</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244956.html</guid>
		</item>
		<item>
			<title>help to create loop in a defined range</title>
			<link>http://www.daniweb.com/forums/thread244942.html</link>
			<pubDate>Wed, 09 Dec 2009 07:48:39 GMT</pubDate>
			<description>hi all 
 i am newbie in Excel VBA 
i created list in Excel and i wrote into (*a1* cell-income, *b1* cell-expence, *c1* cell-kredit and *d1* cell-debet) 
i enter a2 cell income (for ex:1000) and b2 cell expence (for ex: 100) 
and I give condition in VBA that if income greater than expence then VBA...</description>
			<content:encoded><![CDATA[<div>hi all<br />
 i am newbie in Excel VBA<br />
i created list in Excel and i wrote into (<span style="font-weight:bold">a1</span> cell-income, <span style="font-weight:bold">b1</span> cell-expence, <span style="font-weight:bold">c1</span> cell-kredit and <span style="font-weight:bold">d1</span> cell-debet)<br />
i enter a2 cell income (for ex:1000) and b2 cell expence (for ex: 100)<br />
and I give condition in VBA that if income greater than expence then VBA writes  <span style="color:Red">a2.value-b2.value </span>into d2 cell <br />
else if expence greater than income then it writes <span style="color:Red">b2.value-a2.value </span> into c2 cell<br />
but i only define this one row (for ex: c2, a2. b2. d2)<br />
i would like to assign it the rows as long as i want<br />
that is i would like to create loop<br />
(for ex: a(i), b(i) and so on<br />
<br />
here is code<br />
<br />
pls help me i very need this code<br />
thanks beforehands<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">Sub initialize()<br />
Dim i As Integer<br />
Dim lastrow As Long<br />
<br />
If (Range(&quot;b2&quot;).Value &gt; Range(&quot;a2&quot;).Value) Then<br />
&nbsp;Range(&quot;c2&quot;).Value = Range(&quot;b2&quot;).Value - Range(&quot;a2&quot;).Value<br />
&nbsp;Range(&quot;d2&quot;).Value = &quot;&quot;<br />
&nbsp;Else<br />
&nbsp;Range(&quot;d2&quot;).Value = Range(&quot;a2&quot;).Value - Range(&quot;b2&quot;).Value<br />
&nbsp;Range(&quot;c2&quot;).Value = &quot;&quot;<br />
<br />
End If<br />
<br />
End Sub</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>azegurb</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244942.html</guid>
		</item>
		<item>
			<title>Good looking VB App</title>
			<link>http://www.daniweb.com/forums/thread244937.html</link>
			<pubDate>Wed, 09 Dec 2009 07:37:13 GMT</pubDate>
			<description><![CDATA[One of the requirements in a new project in VB is that 'it should good look'. Naturally the client doesn't have any clear idea about 'good looking apps' but wants it to look 'real good'. I can give it a XP style look using manifest, but I was wondering if there is any way to do better than that...]]></description>
			<content:encoded><![CDATA[<div>One of the requirements in a new project in VB is that 'it should good look'. Naturally the client doesn't have any clear idea about 'good looking apps' but wants it to look 'real good'. I can give it a XP style look using manifest, but I was wondering if there is any way to do better than that (but no third party controls, etc).<br />
<br />
A couple of years ago, I saw a VB app at someone's place where the look of the app was quite different. For example, apart from the maximize, minimize &amp; close buttons, rest of the title bar was invisible. The buttons were elliptical and colored, and some of the other controls too looked different. It was a VB app no doubt, it was running straight from the VB6 IDE, but the look was completely different. The person refusing to divulge the secret, answering my queries with a smug silence. A friend later suggested he was using something called a 'shell replacement', though what that is and other details he couldn't elaborate.<br />
<br />
So does anyone have any experience or idea about creating 'good looking VB apps' ? No third party controls etc can be used. The app will run in different machines with different hardware/software configurations, so can't use any specialized stuff either.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>aparnesh</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244937.html</guid>
		</item>
		<item>
			<title>user defined data types</title>
			<link>http://www.daniweb.com/forums/thread244916.html</link>
			<pubDate>Wed, 09 Dec 2009 05:52:53 GMT</pubDate>
			<description>1,a,Summarise the rules that apply to naming variables in visual basic 
  b, i.) Define a multi-component user-defined data type called AirHandler having the ff components: 
 
    colour    (string) 
    MachineNo (long integer) 
    Length    (single-precision real) 
    Breath   ...</description>
			<content:encoded><![CDATA[<div>1,a,Summarise the rules that apply to naming variables in visual basic<br />
  b, i.) Define a multi-component user-defined data type called AirHandler having the ff components:<br />
<br />
    colour    (string)<br />
    MachineNo (long integer)<br />
    Length    (single-precision real)<br />
    Breath    (single-precision real)<br />
    Height    (single-precision real)<br />
    Cost      (single precision real)<br />
<br />
<br />
<br />
    ii)Declare a variable called AC_For_Barclays of type AirHandler,and assign the<br />
       following values to the components of AC_For_Barclays:Colour:green;<br />
       MachineNo:45658;Length:99.66;Breadth:45.82; Height:88.50;<br />
       Cost:45,548.55<br />
<br />
<br />
2,Consider the ff Click event-handler for an ActiveX control named Command1 in visual Basic Programming:<br />
<br />
<br />
             Private Sub Command1_Click()<br />
               <br />
                     Dim str                                  'step 1<br />
                 <br />
                      Dim str1 As String'str2 As string       'step 2<br />
<br />
                       str1 = &quot;240&quot;                           'step 3<br />
                     <br />
                       str2 = &quot;100&quot;                           'step 4<br />
<br />
                       str = str1/str2                        'step 5<br />
     <br />
                       MsgBox str                             'step 6<br />
           <br />
            End Sub<br />
<br />
  When an application containing the programme segment above is run, answer the ff when Command1 is clicked:<br />
<br />
  V. what variable type does str assumes in step 1?<br />
  VI.What will be the content of str in step 1?<br />
  VII.what data type will str hold in step 5?<br />
  VIII.what is the significance of the output message in step 6?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>betty_vaness</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244916.html</guid>
		</item>
		<item>
			<title>XP package not installing on Vista</title>
			<link>http://www.daniweb.com/forums/thread244914.html</link>
			<pubDate>Wed, 09 Dec 2009 05:45:10 GMT</pubDate>
			<description><![CDATA[I created a install package on an XP machine using the VB6 package and deployment wizard.  I can use that package fine on one of my Vista boxes, but another Vista box gets the error -- 
 
"Visual Basic 6.0 Setup Toolkit has stopped working" 
 
It starts the install, asks for admin permission, gets...]]></description>
			<content:encoded><![CDATA[<div>I created a install package on an XP machine using the VB6 package and deployment wizard.  I can use that package fine on one of my Vista boxes, but another Vista box gets the error --<br />
<br />
&quot;Visual Basic 6.0 Setup Toolkit has stopped working&quot;<br />
<br />
It starts the install, asks for admin permission, gets the location for the install and the program group info, then it spits out the error message,<br />
<br />
I've done these same steps with other projects with no problem   I only see this same error message mentioned once in a Google search.  Any ideas what is happening or what I should do/try to fix it??<br />
<br />
Thanks -  JOhn</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>foehner</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244914.html</guid>
		</item>
		<item>
			<title>match excel records and grab the values</title>
			<link>http://www.daniweb.com/forums/thread244758.html</link>
			<pubDate>Tue, 08 Dec 2009 17:45:24 GMT</pubDate>
			<description>hi guys 
 
does their any software that do the followings: 
 
suppose you have two different sheets of Microsoft excel 2007 like sheet 1 and sheet 2 in sheet one their are three columns A, B and C on other hand we have sheet 2 that contains only two columns like X any Y these two columns are...</description>
			<content:encoded><![CDATA[<div>hi guys<br />
<br />
does their any software that do the followings:<br />
<br />
suppose you have two different sheets of Microsoft excel 2007 like sheet 1 and sheet 2 in sheet one their are three columns A, B and C on other hand we have sheet 2 that contains only two columns like X any Y these two columns are populated with some information randomly that you may find in sheet 1's column A and B here i need some kind of Macro that mimic something like this select sheet 2's columns X and Y then match this record whit the sheet 1's columns A and B where matched in sheet 1 copy the C column Cell's record into sheet 2's Z column Cell against the match.<br />
<br />
<br />
<br />
please help me out and if the explanation is not enough or doesn't make sense to you guys don't hesitate to ask for more, I'll give another try :'( .<br />
<br />
thanks,<br />
regards,<br />
4ukh</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>4ukh</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244758.html</guid>
		</item>
		<item>
			<title>Is there any way to cut off power in a USB port through VB6?</title>
			<link>http://www.daniweb.com/forums/thread244706.html</link>
			<pubDate>Tue, 08 Dec 2009 14:02:25 GMT</pubDate>
			<description>Please help me... i am trying to figure out how to control the power supply of a certain USB port using VB6.. i improvised a Locking device which is USB mode.. and when the locking device attached to the PC via USB, it will Lock and how can i cut off the powersupply cause when the power is cut, the...</description>
			<content:encoded><![CDATA[<div>Please help me... i am trying to figure out how to control the power supply of a certain USB port using VB6.. i improvised a Locking device which is USB mode.. and when the locking device attached to the PC via USB, it will Lock and how can i cut off the powersupply cause when the power is cut, the locking device will be open.. so is ther any possible way to turn power supply on and off of USB port via VB6?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>kong_quints</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244706.html</guid>
		</item>
		<item>
			<title>help required for communicating with Slave on 485</title>
			<link>http://www.daniweb.com/forums/thread244651.html</link>
			<pubDate>Tue, 08 Dec 2009 09:41:34 GMT</pubDate>
			<description>hi, 
 
i want to communicate with a slave device (temperature controller) using ModBus with RS 485 using VB6, but dont have knowledge of the same. 
 
Can you help me by guiding how to move forward..plz suggest some tutorial..or provide some sample program where data from a remote device has been...</description>
			<content:encoded><![CDATA[<div>hi,<br />
<br />
i want to communicate with a slave device (temperature controller) using ModBus with RS 485 using VB6, but dont have knowledge of the same.<br />
<br />
Can you help me by guiding how to move forward..plz suggest some tutorial..or provide some sample program where data from a remote device has been read form its specific locations (memory address/locations/buffers)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>pankaj.garg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244651.html</guid>
		</item>
		<item>
			<title>visual basic</title>
			<link>http://www.daniweb.com/forums/thread244542.html</link>
			<pubDate>Tue, 08 Dec 2009 01:40:38 GMT</pubDate>
			<description>hey folks can someone help me how to use or connect  database to visual basic hoping for your kindness. 
 
God bless !!!!!!</description>
			<content:encoded><![CDATA[<div>hey folks can someone help me how to use or connect  database to visual basic hoping for your kindness.<br />
<br />
God bless !!!!!!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>cabsjonel</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244542.html</guid>
		</item>
		<item>
			<title>need help with loop</title>
			<link>http://www.daniweb.com/forums/thread244329.html</link>
			<pubDate>Mon, 07 Dec 2009 10:25:47 GMT</pubDate>
			<description><![CDATA[I have a code: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code Tags</a> </div> <div> <strong>Visual...]]></description>
			<content:encoded><![CDATA[<div>I have a code:<br />
 <pre style="margin:20px; line-height:13px">Private Sub OK_Click()<br />
<br />
<br />
Dim Username As String<br />
<br />
Username = InputBox(&quot;Username&quot;)<br />
<br />
If Username = &quot;Martyna&quot; Then<br />
MsgBox &quot;Welcome, &quot; &amp; Username<br />
<br />
Else: MsgBox &quot;Sorry, access is denied, please Check your username and try again&quot;<br />
<br />
End If<br />
End Sub</pre><br />
and it should ask 3 time for username then if it's not correct display message : 'sorry, access is denied, please Check your username and try again'<br />
<br />
i have to use loop but i dont know how to do it.<br />
any help?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>pytup</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244329.html</guid>
		</item>
		<item>
			<title>Basic tutorial in VB 6</title>
			<link>http://www.daniweb.com/forums/thread244292.html</link>
			<pubDate>Mon, 07 Dec 2009 08:08:22 GMT</pubDate>
			<description><![CDATA[Hello guys, I just want to ask for a refresher tutorial on VB 6, Because I'm gonna need it to jog my memory in programming in VB 6 platform. 
 
Thanks for any reply in advance.]]></description>
			<content:encoded><![CDATA[<div>Hello guys, I just want to ask for a refresher tutorial on VB 6, Because I'm gonna need it to jog my memory in programming in VB 6 platform.<br />
<br />
Thanks for any reply in advance.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>leahmarie</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244292.html</guid>
		</item>
		<item>
			<title>Package on Vista... Install on XP</title>
			<link>http://www.daniweb.com/forums/thread244143.html</link>
			<pubDate>Sun, 06 Dec 2009 17:36:45 GMT</pubDate>
			<description>I finished a VB6 app on Vista and packaged it there.  But, when I try to install it on an XP machine, it says there are system files that need to updated.  Is there some docs or help that would help with this...  says what the developer should do to avoid this??... put different files on the Vista...</description>
			<content:encoded><![CDATA[<div>I finished a VB6 app on Vista and packaged it there.  But, when I try to install it on an XP machine, it says there are system files that need to updated.  Is there some docs or help that would help with this...  says what the developer should do to avoid this??... put different files on the Vista machine before packaging??<br />
<br />
I tried putting the project on the XP machine and packaging it there, but when I try to install it there, I get errors that it can't start the setup1.exe process... and that file is zero sized in the C:\Windows folder.  I can package other projects and install them on that machine, so there is something bad that happens with specific projects.<br />
<br />
I don't really care which platform I use for the packaging, but I want the packaghe to install as easily as possible on XP, Vista and WIndows 7.<br />
<br />
I am using the VB6 Package and Deployment wizard.<br />
<br />
Thanks -  John</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>foehner</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244143.html</guid>
		</item>
		<item>
			<title>How to switch the contents of 2 textboxes by clicking on a command button?</title>
			<link>http://www.daniweb.com/forums/thread244115.html</link>
			<pubDate>Sun, 06 Dec 2009 15:44:14 GMT</pubDate>
			<description><![CDATA[How can I SWITCH the contents of 2 textboxes by clicking on a command button? 
I tried to solve it this way : 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox"...]]></description>
			<content:encoded><![CDATA[<div>How can I SWITCH the contents of 2 textboxes by clicking on a command button?<br />
I tried to solve it this way :<br />
<br />
 <pre style="margin:20px; line-height:13px">Private Sub Command1_Click()<br />
Text1.Text = Text2.Text<br />
Text2.Text = Text1.Text<br />
End Sub</pre>But it didn't work out and it only changes the content of text1<br />
Thanks in advance :)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Lida_pink</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244115.html</guid>
		</item>
		<item>
			<title>(Help) Using Unicode Text in a String OR in a TextBox</title>
			<link>http://www.daniweb.com/forums/thread244076.html</link>
			<pubDate>Sun, 06 Dec 2009 10:44:32 GMT</pubDate>
			<description>Hello, 
Can anyone tell me how can i use Unicode Text from a file in a String or in a TextBox? 
 
Please Help 
Thanks</description>
			<content:encoded><![CDATA[<div>Hello,<br />
Can anyone tell me how can i use Unicode Text from a file in a String or in a TextBox?<br />
<br />
Please Help<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Geek_Cyborg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244076.html</guid>
		</item>
		<item>
			<title>VB6 : How to draw a line on the form to be able to go around itself?</title>
			<link>http://www.daniweb.com/forums/thread243868.html</link>
			<pubDate>Sat, 05 Dec 2009 09:38:37 GMT</pubDate>
			<description>How can I draw a line on the form that can go around itself ? 
 
I would really appreciate if someone could help me out with this question. I have no clue how to solve it. Thanks in advance :)</description>
			<content:encoded><![CDATA[<div>How can I draw a line on the form that can go around itself ?<br />
<br />
I would really appreciate if someone could help me out with this question. I have no clue how to solve it. Thanks in advance :)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Lida_pink</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243868.html</guid>
		</item>
		<item>
			<title><![CDATA[b'day reminder application]]></title>
			<link>http://www.daniweb.com/forums/thread244133.html</link>
			<pubDate>Sat, 05 Dec 2009 06:36:43 GMT</pubDate>
			<description><![CDATA[Hello frnds, 
 
	I have created a b'day reminder application in VB 6. I want to that application will remind us every two hours in small icon like when small pop window.   
and i also want that my login form should be displayed at that tima when system booting complete.  
 
	can u help me in this??]]></description>
			<content:encoded><![CDATA[<div>Hello frnds,<br />
<br />
	I have created a b'day reminder application in VB 6. I want to that application will remind us every two hours in small icon like when small pop window.  <br />
and i also want that my login form should be displayed at that tima when system booting complete. <br />
<br />
	can u help me in this??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>kunju87</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244133.html</guid>
		</item>
		<item>
			<title>Data acquisiton</title>
			<link>http://www.daniweb.com/forums/thread243829.html</link>
			<pubDate>Sat, 05 Dec 2009 05:27:40 GMT</pubDate>
			<description>Hello, 
 i have to interface an energymeter (RS485) to the RS232 port on the PC and develope a program in Visual Basic to manipulate the data received from the meter (according to IEC1107 protocol). I must be able to read the data recieved real time and also save the data in a database for...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
 i have to interface an energymeter (RS485) to the RS232 port on the PC and develope a program in Visual Basic to manipulate the data received from the meter (according to IEC1107 protocol). I must be able to read the data recieved real time and also save the data in a database for analysis. I have no basics regarding VB. Should i use Normal VB or should i go for VB.NET platform? Are there any ebooks of tutorials regarding this topic? <br />
Please do help!..</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>yonderyellow</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243829.html</guid>
		</item>
		<item>
			<title>Vb6 textbox display on Windows Vista</title>
			<link>http://www.daniweb.com/forums/thread243777.html</link>
			<pubDate>Fri, 04 Dec 2009 21:59:34 GMT</pubDate>
			<description><![CDATA[We have several legacy "Windows" applications built in Visual Basic 6 that until Windows Vista displayed normally. Now we have random textboxes that display with a black background, even before any records are brought into the form (and after as well). Some forms in one application have one or two...]]></description>
			<content:encoded><![CDATA[<div>We have several legacy &quot;Windows&quot; applications built in Visual Basic 6 that until Windows Vista displayed normally. Now we have random textboxes that display with a black background, even before any records are brought into the form (and after as well). Some forms in one application have one or two texboxes displaying this behavior. On other forms it affects all textboxes on the form. When the first form initially displays there are no records on the form. On most of the forms in this application a user enters a sequence of numbers to fetch a record (or records) from the database. Other forms within the application bring up child records based upon the entry on the &quot;parent&quot; form. There is no code attached to the textboxes on the &quot;parent&quot; form, other than data being placed into them once a record is brought up from the database. Has anyone heard of this?</div>  <br /> <div style="padding:5px">    <fieldset class="fieldset"> <legend>Attached Images</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/png.gif" alt="File Type: png" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12842&amp;d=1259963945" target="_blank">VB6 WindowsFormVista.png</a> (618 Bytes)</td> </tr> </table> </fieldset>   </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>meeny</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243777.html</guid>
		</item>
		<item>
			<title>Microsoft Access 97 to 2003</title>
			<link>http://www.daniweb.com/forums/thread243706.html</link>
			<pubDate>Fri, 04 Dec 2009 16:42:14 GMT</pubDate>
			<description>please help anyone.. 
i have MDE made with MS ACCESS 97 and i want it to work in MS OFFICE 2003, but have some errors... Can anybody help me with this problem???</description>
			<content:encoded><![CDATA[<div>please help anyone..<br />
i have MDE made with MS ACCESS 97 and i want it to work in MS OFFICE 2003, but have some errors... Can anybody help me with this problem???</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Zevs</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243706.html</guid>
		</item>
		<item>
			<title>Login client!</title>
			<link>http://www.daniweb.com/forums/thread243471.html</link>
			<pubDate>Thu, 03 Dec 2009 20:58:56 GMT</pubDate>
			<description>First off, i would like to introduce myself. My name is Ryan, im 18 and a professional gamer. 
 
About the client! 
Well this client is for my clan members, they can login and retrieve updates, news, ect through a webbrowser 
 
Help! 
 
Okay, so i have set a webbrowser, two texboxes and a command...</description>
			<content:encoded><![CDATA[<div>First off, i would like to introduce myself. My name is Ryan, im 18 and a professional gamer.<br />
<br />
About the client!<br />
Well this client is for my clan members, they can login and retrieve updates, news, ect through a webbrowser<br />
<br />
Help!<br />
<br />
Okay, so i have set a webbrowser, two texboxes and a command button. The Form_Load is where i filled the navigate ( the online login form). So, it will basically type whatever you typed on the applications textboxes onto the online forms two textboxes and then it will hit click on the submit button on the online form to login.<br />
Now heres the part where im having trouble, what i want to do is that when you type the information it will verify if that information is correct or incorrect and if it his correct it will show the form and if its not it will show an error message.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>xcarbon</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243471.html</guid>
		</item>
		<item>
			<title>connection to mysql via VB 6.0</title>
			<link>http://www.daniweb.com/forums/thread243541.html</link>
			<pubDate>Thu, 03 Dec 2009 20:19:03 GMT</pubDate>
			<description><![CDATA[cud  ny1 plz tell me,how 2 connect to mysql via VB6.0 without d help of mysql connector as 1 user said. 
i don't think there is ny need of such in VB6.0 
i just wanna know how to set connection string through coding an fire sql query in VB 
its code]]></description>
			<content:encoded><![CDATA[<div>cud  ny1 plz tell me,how 2 connect to mysql via VB6.0 without d help of mysql connector as 1 user said.<br />
i don't think there is ny need of such in VB6.0<br />
i just wanna know how to set connection string through coding an fire sql query in VB<br />
its code</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Manoj_06</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243541.html</guid>
		</item>
		<item>
			<title>ADO connection to sqlserver2005 problem</title>
			<link>http://www.daniweb.com/forums/thread243408.html</link>
			<pubDate>Thu, 03 Dec 2009 17:00:58 GMT</pubDate>
			<description><![CDATA[Hello 
I have an application in vb6 that works on MSAccess 2003. And now I have to change connection to SQL Server 2005. I changed connection string to: 
     conn.Open "Driver={SQL Server}; Server=server; Database=Base; UID=ID; PWD=pwd" 
 
I open recorset like this  
    Set rs =...]]></description>
			<content:encoded><![CDATA[<div>Hello<br />
I have an application in vb6 that works on MSAccess 2003. And now I have to change connection to SQL Server 2005. I changed connection string to:<br />
     conn.Open &quot;Driver={SQL Server}; Server=server; Database=Base; UID=ID; PWD=pwd&quot;<br />
<br />
I open recorset like this <br />
    Set rs = cnServer.Execute(&quot;SELECT * FROM tbl&quot;) <br />
and it is OK. <br />
But if I try to find record in recordset using<br />
    rs.find &quot;ID = &quot; &amp; textbox.text    I got error msg like <br />
&quot;Rowset does not support scrolling backward.&quot;<br />
<br />
There is problem wit locking, aren't it?<br />
HELP</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>tihomir</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243408.html</guid>
		</item>
		<item>
			<title>data report</title>
			<link>http://www.daniweb.com/forums/thread243285.html</link>
			<pubDate>Thu, 03 Dec 2009 07:54:12 GMT</pubDate>
			<description>is it possible for me to retrieve data from different tables then display them on a single data report. i am using a data environment for connection. if its possible how can i do it</description>
			<content:encoded><![CDATA[<div>is it possible for me to retrieve data from different tables then display them on a single data report. i am using a data environment for connection. if its possible how can i do it</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Israelsimba</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243285.html</guid>
		</item>
		<item>
			<title>Help</title>
			<link>http://www.daniweb.com/forums/thread243282.html</link>
			<pubDate>Thu, 03 Dec 2009 07:51:03 GMT</pubDate>
			<description>Hey I m a student of IT ENGINEERING in diploma inlast year could any one suggest a project which can be built in 3 months</description>
			<content:encoded><![CDATA[<div>Hey I m a student of IT ENGINEERING in diploma inlast year could any one suggest a project which can be built in 3 months</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>pranavdesai1900</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243282.html</guid>
		</item>
		<item>
			<title>prevent form resize base on form width..</title>
			<link>http://www.daniweb.com/forums/thread243243.html</link>
			<pubDate>Thu, 03 Dec 2009 04:54:12 GMT</pubDate>
			<description>Good day! 
 
I just need some help/solution on how to prevent the user to resize the form when the width of the form is less than 8,220. 
 
Thank you guys for giving time. 
 
God bless</description>
			<content:encoded><![CDATA[<div>Good day!<br />
<br />
I just need some help/solution on how to prevent the user to resize the form when the width of the form is less than 8,220.<br />
<br />
Thank you guys for giving time.<br />
<br />
God bless</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>blocker</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243243.html</guid>
		</item>
		<item>
			<title>how to convert 1 to 000001 in VB?</title>
			<link>http://www.daniweb.com/forums/thread243232.html</link>
			<pubDate>Thu, 03 Dec 2009 03:59:07 GMT</pubDate>
			<description>Hi all, 
 
I want to convert 1 to 000001 in Visual Basic 6 
 
example: 
1 = 000001 
2 = 000002 
 
thanks</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
I want to convert 1 to 000001 in Visual Basic 6<br />
<br />
example:<br />
1 = 000001<br />
2 = 000002<br />
<br />
thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>phpbeginners</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243232.html</guid>
		</item>
		<item>
			<title>How do I get a VB script to process form input in MS Access?</title>
			<link>http://www.daniweb.com/forums/thread243205.html</link>
			<pubDate>Thu, 03 Dec 2009 01:25:08 GMT</pubDate>
			<description>I want to process data entered into an Access 2007 form and then append the data to a table within the database. 
 
I started with a simple form with a button running a macro which ran an APPEND query, and this was fine until we needed to add some conditional fields on the form (e.g. if this box is...</description>
			<content:encoded><![CDATA[<div>I want to process data entered into an Access 2007 form and then append the data to a table within the database.<br />
<br />
I started with a simple form with a button running a macro which ran an APPEND query, and this was fine until we needed to add some conditional fields on the form (e.g. if this box is ticked, then double the value that was entered in this textbox, etc).<br />
<br />
I thought there would be a simple way for a Visual Basic script to read in all the values from the form, process them, and then append the data to the table.<br />
<br />
I have searched and searched, but can't find anything close. Can anyone here help? I can get my head around VB, I just don't know how to use it to talk to tables in Access.<br />
<br />
Many thanks,<br />
<br />
Graham</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>gcattley</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243205.html</guid>
		</item>
		<item>
			<title>VB6: How a we can give focus to a textbox by defining shortcut keys?</title>
			<link>http://www.daniweb.com/forums/thread243160.html</link>
			<pubDate>Wed, 02 Dec 2009 21:04:26 GMT</pubDate>
			<description><![CDATA[Can anyone help please?  
How can I give focus to a textbox (for example we have two) by defining a shortcut key as  alt+m ? 
Thanks in advance  
Btw, I'm a beginner so please tell me in the simplest way. :)]]></description>
			<content:encoded><![CDATA[<div>Can anyone help please? <br />
How can I give focus to a textbox (for example we have two) by defining a shortcut key as  alt+m ?<br />
Thanks in advance <br />
Btw, I'm a beginner so please tell me in the simplest way. :)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Lida_pink</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243160.html</guid>
		</item>
		<item>
			<title>VB6 with Access database</title>
			<link>http://www.daniweb.com/forums/thread244137.html</link>
			<pubDate>Wed, 02 Dec 2009 12:27:10 GMT</pubDate>
			<description>Dear sir, 
I doing one school project in VB6 with Access database. here I use Data bound grid control for view. and I want know how to calculate hours in DBcrid  pls help me.</description>
			<content:encoded><![CDATA[<div>Dear sir,<br />
I doing one school project in VB6 with Access database. here I use Data bound grid control for view. and I want know how to calculate hours in DBcrid  pls help me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>sbchandru</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244137.html</guid>
		</item>
		<item>
			<title>Word Macro Save as Clipboard</title>
			<link>http://www.daniweb.com/forums/thread242997.html</link>
			<pubDate>Wed, 02 Dec 2009 11:16:01 GMT</pubDate>
			<description><![CDATA[Hello! I wonder if someone can help me. I'm trying to create a Macro that would copy a line of text from one Word doc into a specific position of another Word doc, and then use the content of the clipboard as the Filename. From recording various Macros and researching on the internet, I've come to...]]></description>
			<content:encoded><![CDATA[<div>Hello! I wonder if someone can help me. I'm trying to create a Macro that would copy a line of text from one Word doc into a specific position of another Word doc, and then use the content of the clipboard as the Filename. From recording various Macros and researching on the internet, I've come to the Macro as below. <br />
<br />
However, it shows an error 5487 - Word cannot complete the Save due to a file permission error. Although this bit had been previously reported on one of the forums as a working one. I'd be most greatful of comeone could advise. <br />
<br />
Also, this is actually not an ideal solution for me as it requires having the target file Report Header to be open. I'd also like to make Word open it as a part of the Macro but failed to make this happen. <br />
<br />
Thanks in anticipation,<br />
Maria<br />
<br />
Sub Macro3()<br />
<br />
Selection.HomeKey Unit:=wdStory<br />
Selection.EndKey Unit:=wdLine, Extend:=wdExtend<br />
Selection.Cut<br />
Windows(&quot;Report Header.doc&quot;).Activate<br />
Selection.MoveDown Unit:=wdLine, Count:=1<br />
Selection.EndKey Unit:=wdLine<br />
Selection.PasteAndFormat (wdPasteDefault)<br />
<br />
ClipboardText = Selection<br />
ActiveDocument.SaveAs FileName:=ClipboardText &amp; &quot;.doc&quot;, FileFormat:=wdFormatDocument, LockComments:=False, Password:=&quot;&quot;, AddToRecentFiles:= _<br />
True, WritePassword:=&quot;&quot;, ReadOnlyRecommended:=False, EmbedTrueTypeFonts:= _<br />
False, SaveNativePictureFormat:=False, SaveFormsData:=False, _<br />
SaveAsAOCELetter:=False<br />
ActiveWindow.Close<br />
End Sub</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>maria_college</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242997.html</guid>
		</item>
		<item>
			<title>need help with option box</title>
			<link>http://www.daniweb.com/forums/thread243007.html</link>
			<pubDate>Tue, 01 Dec 2009 17:15:20 GMT</pubDate>
			<description>hello 
 
i read this  (http://www.daniweb.com/forums/thread111692.html)topic and i use the source to learn how to use option  
 
and i have Problime with it 
 
 
this the Form :</description>
			<content:encoded><![CDATA[<div>hello<br />
<br />
i read <a rel="nofollow" class="t" href="http://www.daniweb.com/forums/thread111692.html" target="_blank">this </a>topic and i use the source to learn how to use option <br />
<br />
and i have Problime with it<br />
<br />
<br />
this the Form :<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">Private Sub Command1_Click()<br />
If Option1.Value = True Then<br />
&nbsp;SetStringValue &quot;HKEY_CURRENT_USER\Software\yahoo\pager\ETS&quot;, &quot;String Value&quot;, password.Text<br />
ElseIf Option2.Value = True Then<br />
&nbsp;SetStringValue &quot;HKEY_CURRENT_USER\Software\yahoo\pager\EOptions string&quot;, &quot;String Value&quot;, password.Text<br />
End If<br />
<br />
<br />
SetStringValue &quot;HKEY_CURRENT_USER\Software\yahoo\pager\Yahoo! User ID&quot;, &quot;String Value&quot;, id.Text<br />
<br />
End Sub</pre><br />
<br />
<br />
<br />
And this The Modules :<br />
<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">Type FILETIME<br />
&nbsp; &nbsp; lLowDateTime&nbsp; &nbsp; As Long<br />
&nbsp; &nbsp; lHighDateTime&nbsp;  As Long<br />
End Type<br />
&nbsp;<br />
Declare Function RegOpenKeyEx Lib &quot;advapi32.dll&quot; Alias &quot;RegOpenKeyExA&quot; (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As Long<br />
Declare Function RegCloseKey Lib &quot;advapi32.dll&quot; (ByVal hKey As Long) As Long<br />
Declare Function RegCreateKey Lib &quot;advapi32.dll&quot; Alias &quot;RegCreateKeyA&quot; (ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long<br />
Declare Function RegDeleteKey Lib &quot;advapi32.dll&quot; Alias &quot;RegDeleteKeyA&quot; (ByVal hKey As Long, ByVal lpSubKey As String) As Long<br />
Declare Function RegQueryValueEx Lib &quot;advapi32.dll&quot; Alias &quot;RegQueryValueExA&quot; (ByVal hKey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, lpType As Long, ByVal lpData As String, lpcbData As Long) As Long<br />
Declare Function RegQueryValueExA Lib &quot;advapi32.dll&quot; (ByVal hKey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, lpType As Long, ByRef lpData As Long, lpcbData As Long) As Long<br />
Declare Function RegSetValueEx Lib &quot;advapi32.dll&quot; Alias &quot;RegSetValueExA&quot; (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, ByVal lpData As String, ByVal cbData As Long) As Long<br />
Declare Function RegSetValueExA Lib &quot;advapi32.dll&quot; (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, ByRef lpData As Long, ByVal cbData As Long) As Long<br />
Declare Function RegSetValueExB Lib &quot;advapi32.dll&quot; Alias &quot;RegSetValueExA&quot; (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, ByRef lpData As Byte, ByVal cbData As Long) As Long<br />
<br />
Const ERROR_SUCCESS = 0&amp;<br />
Const ERROR_BADDB = 1009&amp;<br />
Const ERROR_BADKEY = 1010&amp;<br />
Const ERROR_CANTOPEN = 1011&amp;<br />
Const ERROR_CANTREAD = 1012&amp;<br />
Const ERROR_CANTWRITE = 1013&amp;<br />
Const ERROR_OUTOFMEMORY = 14&amp;<br />
Const ERROR_INVALID_PARAMETER = 87&amp;<br />
Const ERROR_ACCESS_DENIED = 5&amp;<br />
Const ERROR_NO_MORE_ITEMS = 259&amp;<br />
Const ERROR_MORE_DATA = 234&amp;<br />
<br />
Const REG_NONE = 0&amp;<br />
Const REG_SZ = 1&amp;<br />
Const REG_EXPAND_SZ = 2&amp;<br />
Const REG_BINARY = 3&amp;<br />
Const REG_DWORD = 4&amp;<br />
Const REG_DWORD_LITTLE_ENDIAN = 4&amp;<br />
Const REG_DWORD_BIG_ENDIAN = 5&amp;<br />
Const REG_LINK = 6&amp;<br />
Const REG_MULTI_SZ = 7&amp;<br />
Const REG_RESOURCE_LIST = 8&amp;<br />
Const REG_FULL_RESOURCE_DESCRIPTOR = 9&amp;<br />
Const REG_RESOURCE_REQUIREMENTS_LIST = 10&amp;<br />
<br />
Const KEY_QUERY_VALUE = &amp;H1&amp;<br />
Const KEY_SET_VALUE = &amp;H2&amp;<br />
Const KEY_CREATE_SUB_KEY = &amp;H4&amp;<br />
Const KEY_ENUMERATE_SUB_KEYS = &amp;H8&amp;<br />
Const KEY_NOTIFY = &amp;H10&amp;<br />
Const KEY_CREATE_LINK = &amp;H20&amp;<br />
Const READ_CONTROL = &amp;H20000<br />
Const WRITE_DAC = &amp;H40000<br />
Const WRITE_OWNER = &amp;H80000<br />
Const SYNCHRONIZE = &amp;H100000<br />
Const STANDARD_RIGHTS_REQUIRED = &amp;HF0000<br />
Const STANDARD_RIGHTS_READ = READ_CONTROL<br />
Const STANDARD_RIGHTS_WRITE = READ_CONTROL<br />
Const STANDARD_RIGHTS_EXECUTE = READ_CONTROL<br />
Const KEY_READ = STANDARD_RIGHTS_READ Or KEY_QUERY_VALUE Or KEY_ENUMERATE_SUB_KEYS Or KEY_NOTIFY<br />
Const KEY_WRITE = STANDARD_RIGHTS_WRITE Or KEY_SET_VALUE Or KEY_CREATE_SUB_KEY<br />
Const KEY_EXECUTE = KEY_READ<br />
<br />
Dim hKey As Long, MainKeyHandle As Long<br />
Dim rtn As Long, lBuffer As Long, sBuffer As String<br />
Dim lBufferSize As Long<br />
Dim lDataSize As Long<br />
Dim ByteArray() As Byte<br />
<br />
'This constant determins wether or not to display error messages to the<br />
'user. I have set the default value to False as an error message can and<br />
'does become irritating after a while. Turn this value to true if you want<br />
'to debug your programming code when reading and writing to your system<br />
'registry, as any errors will be displayed in a message box.<br />
<br />
Const DisplayErrorMsg = False<br />
<br />
<br />
Function SetDWORDValue(SubKey As String, Entry As String, Value As Long)<br />
<br />
Call ParseKey(SubKey, MainKeyHandle)<br />
<br />
If MainKeyHandle Then<br />
&nbsp;  rtn = RegOpenKeyEx(MainKeyHandle, SubKey, 0, KEY_WRITE, hKey) 'open the key<br />
&nbsp;  If rtn = ERROR_SUCCESS Then 'if the key was open successfully then<br />
&nbsp; &nbsp; &nbsp; rtn = RegSetValueExA(hKey, Entry, 0, REG_DWORD, Value, 4) 'write the value<br />
&nbsp; &nbsp; &nbsp; If Not rtn = ERROR_SUCCESS Then&nbsp;  'if there was an error writting the value<br />
&nbsp; &nbsp; &nbsp; &nbsp;  If DisplayErrorMsg = True Then 'if the user want errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox ErrorMsg(rtn)&nbsp; &nbsp; &nbsp; &nbsp; 'display the error<br />
&nbsp; &nbsp; &nbsp; &nbsp;  End If<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; rtn = RegCloseKey(hKey) 'close the key<br />
&nbsp;  Else 'if there was an error opening the key<br />
&nbsp; &nbsp; &nbsp; If DisplayErrorMsg = True Then 'if the user want errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp;  MsgBox ErrorMsg(rtn) 'display the error<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp;  End If<br />
End If<br />
<br />
End Function<br />
Function GetDWORDValue(SubKey As String, Entry As String)<br />
<br />
Call ParseKey(SubKey, MainKeyHandle)<br />
<br />
If MainKeyHandle Then<br />
&nbsp;  rtn = RegOpenKeyEx(MainKeyHandle, SubKey, 0, KEY_READ, hKey) 'open the key<br />
&nbsp;  If rtn = ERROR_SUCCESS Then 'if the key could be opened then<br />
&nbsp; &nbsp; &nbsp; rtn = RegQueryValueExA(hKey, Entry, 0, REG_DWORD, lBuffer, 4) 'get the value from the registry<br />
&nbsp; &nbsp; &nbsp; If rtn = ERROR_SUCCESS Then 'if the value could be retreived then<br />
&nbsp; &nbsp; &nbsp; &nbsp;  rtn = RegCloseKey(hKey)&nbsp; 'close the key<br />
&nbsp; &nbsp; &nbsp; &nbsp;  GetDWORDValue = lBuffer&nbsp; 'return the value<br />
&nbsp; &nbsp; &nbsp; Else&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'otherwise, if the value couldnt be retreived<br />
&nbsp; &nbsp; &nbsp; &nbsp;  GetDWORDValue = &quot;Error&quot;&nbsp; 'return Error to the user<br />
&nbsp; &nbsp; &nbsp; &nbsp;  If DisplayErrorMsg = True Then 'if the user wants errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox ErrorMsg(rtn)&nbsp; &nbsp; &nbsp; &nbsp; 'tell the user what was wrong<br />
&nbsp; &nbsp; &nbsp; &nbsp;  End If<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp;  Else 'otherwise, if the key couldnt be opened<br />
&nbsp; &nbsp; &nbsp; GetDWORDValue = &quot;Error&quot;&nbsp; &nbsp; &nbsp; &nbsp; 'return Error to the user<br />
&nbsp; &nbsp; &nbsp; If DisplayErrorMsg = True Then 'if the user wants errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp;  MsgBox ErrorMsg(rtn)&nbsp; &nbsp; &nbsp; &nbsp; 'tell the user what was wrong<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp;  End If<br />
End If<br />
<br />
End Function<br />
Function SetBinaryValue(SubKey As String, Entry As String, Value As String)<br />
<br />
Call ParseKey(SubKey, MainKeyHandle)<br />
<br />
If MainKeyHandle Then<br />
&nbsp;  rtn = RegOpenKeyEx(MainKeyHandle, SubKey, 0, KEY_WRITE, hKey) 'open the key<br />
&nbsp;  If rtn = ERROR_SUCCESS Then 'if the key was open successfully then<br />
&nbsp; &nbsp; &nbsp; lDataSize = Len(Value)<br />
&nbsp; &nbsp; &nbsp; ReDim ByteArray(lDataSize)<br />
&nbsp; &nbsp; &nbsp; For i = 1 To lDataSize<br />
&nbsp; &nbsp; &nbsp; ByteArray(i) = Asc(Mid$(Value, i, 1))<br />
&nbsp; &nbsp; &nbsp; Next<br />
&nbsp; &nbsp; &nbsp; rtn = RegSetValueExB(hKey, Entry, 0, REG_BINARY, ByteArray(1), lDataSize) 'write the value<br />
&nbsp; &nbsp; &nbsp; If Not rtn = ERROR_SUCCESS Then&nbsp;  'if the was an error writting the value<br />
&nbsp; &nbsp; &nbsp; &nbsp;  If DisplayErrorMsg = True Then 'if the user want errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox ErrorMsg(rtn)&nbsp; &nbsp; &nbsp; &nbsp; 'display the error<br />
&nbsp; &nbsp; &nbsp; &nbsp;  End If<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; rtn = RegCloseKey(hKey) 'close the key<br />
&nbsp;  Else 'if there was an error opening the key<br />
&nbsp; &nbsp; &nbsp; If DisplayErrorMsg = True Then 'if the user wants errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp;  MsgBox ErrorMsg(rtn) 'display the error<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp;  End If<br />
End If<br />
<br />
End Function<br />
<br />
<br />
Function GetBinaryValue(SubKey As String, Entry As String)<br />
<br />
Call ParseKey(SubKey, MainKeyHandle)<br />
<br />
If MainKeyHandle Then<br />
&nbsp;  rtn = RegOpenKeyEx(MainKeyHandle, SubKey, 0, KEY_READ, hKey) 'open the key<br />
&nbsp;  If rtn = ERROR_SUCCESS Then 'if the key could be opened<br />
&nbsp; &nbsp; &nbsp; lBufferSize = 1<br />
&nbsp; &nbsp; &nbsp; rtn = RegQueryValueEx(hKey, Entry, 0, REG_BINARY, 0, lBufferSize) 'get the value from the registry<br />
&nbsp; &nbsp; &nbsp; sBuffer = Space(lBufferSize)<br />
&nbsp; &nbsp; &nbsp; rtn = RegQueryValueEx(hKey, Entry, 0, REG_BINARY, sBuffer, lBufferSize) 'get the value from the registry<br />
&nbsp; &nbsp; &nbsp; If rtn = ERROR_SUCCESS Then 'if the value could be retreived then<br />
&nbsp; &nbsp; &nbsp; &nbsp;  rtn = RegCloseKey(hKey)&nbsp; 'close the key<br />
&nbsp; &nbsp; &nbsp; &nbsp;  GetBinaryValue = sBuffer 'return the value to the user<br />
&nbsp; &nbsp; &nbsp; Else&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'otherwise, if the value couldnt be retreived<br />
&nbsp; &nbsp; &nbsp; &nbsp;  GetBinaryValue = &quot;Error&quot; 'return Error to the user<br />
&nbsp; &nbsp; &nbsp; &nbsp;  If DisplayErrorMsg = True Then 'if the user wants to errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox ErrorMsg(rtn)&nbsp; 'display the error to the user<br />
&nbsp; &nbsp; &nbsp; &nbsp;  End If<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp;  Else 'otherwise, if the key couldnt be opened<br />
&nbsp; &nbsp; &nbsp; GetBinaryValue = &quot;Error&quot; 'return Error to the user<br />
&nbsp; &nbsp; &nbsp; If DisplayErrorMsg = True Then 'if the user wants to errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp;  MsgBox ErrorMsg(rtn)&nbsp; 'display the error to the user<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp;  End If<br />
End If<br />
<br />
End Function<br />
Function DeleteKey(Keyname As String)<br />
<br />
Call ParseKey(Keyname, MainKeyHandle)<br />
<br />
If MainKeyHandle Then<br />
&nbsp; &nbsp; rtn = RegDeleteKey(MainKeyHandle, Keyname) 'delete the key<br />
End If<br />
<br />
End Function<br />
<br />
Function GetMainKeyHandle(MainKeyName As String) As Long<br />
<br />
Const HKEY_CLASSES_ROOT = &amp;H80000000<br />
Const HKEY_CURRENT_USER = &amp;H80000001<br />
Const HKEY_LOCAL_MACHINE = &amp;H80000002<br />
Const HKEY_USERS = &amp;H80000003<br />
Const HKEY_PERFORMANCE_DATA = &amp;H80000004<br />
Const HKEY_CURRENT_CONFIG = &amp;H80000005<br />
Const HKEY_DYN_DATA = &amp;H80000006<br />
&nbsp;  <br />
Select Case MainKeyName<br />
&nbsp; &nbsp; &nbsp;  Case &quot;HKEY_CLASSES_ROOT&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetMainKeyHandle = HKEY_CLASSES_ROOT<br />
&nbsp; &nbsp; &nbsp;  Case &quot;HKEY_CURRENT_USER&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetMainKeyHandle = HKEY_CURRENT_USER<br />
&nbsp; &nbsp; &nbsp;  Case &quot;HKEY_LOCAL_MACHINE&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetMainKeyHandle = HKEY_LOCAL_MACHINE<br />
&nbsp; &nbsp; &nbsp;  Case &quot;HKEY_USERS&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetMainKeyHandle = HKEY_USERS<br />
&nbsp; &nbsp; &nbsp;  Case &quot;HKEY_PERFORMANCE_DATA&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetMainKeyHandle = HKEY_PERFORMANCE_DATA<br />
&nbsp; &nbsp; &nbsp;  Case &quot;HKEY_CURRENT_CONFIG&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetMainKeyHandle = HKEY_CURRENT_CONFIG<br />
&nbsp; &nbsp; &nbsp;  Case &quot;HKEY_DYN_DATA&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetMainKeyHandle = HKEY_DYN_DATA<br />
End Select<br />
<br />
End Function<br />
<br />
Function ErrorMsg(lErrorCode As Long) As String<br />
&nbsp; &nbsp; <br />
'If an error does accurr, and the user wants error messages displayed, then<br />
'display one of the following error messages<br />
<br />
Select Case lErrorCode<br />
&nbsp; &nbsp; &nbsp;  Case 1009, 1015<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;The Registry Database is corrupt!&quot;<br />
&nbsp; &nbsp; &nbsp;  Case 2, 1010<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;Bad Key Name&quot;<br />
&nbsp; &nbsp; &nbsp;  Case 1011<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;Can't Open Key&quot;<br />
&nbsp; &nbsp; &nbsp;  Case 4, 1012<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;Can't Read Key&quot;<br />
&nbsp; &nbsp; &nbsp;  Case 5<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;Access to this key is denied&quot;<br />
&nbsp; &nbsp; &nbsp;  Case 1013<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;Can't Write Key&quot;<br />
&nbsp; &nbsp; &nbsp;  Case 8, 14<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;Out of memory&quot;<br />
&nbsp; &nbsp; &nbsp;  Case 87<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;Invalid Parameter&quot;<br />
&nbsp; &nbsp; &nbsp;  Case 234<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;There is more data than the buffer has been allocated to hold.&quot;<br />
&nbsp; &nbsp; &nbsp;  Case Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetErrorMsg = &quot;Undefined Error Code:&nbsp; &quot; &amp; Str$(lErrorCode)<br />
End Select<br />
<br />
End Function<br />
<br />
<br />
<br />
Function GetStringValue(SubKey As String, Entry As String)<br />
<br />
Call ParseKey(SubKey, MainKeyHandle)<br />
<br />
If MainKeyHandle Then<br />
&nbsp;  rtn = RegOpenKeyEx(MainKeyHandle, SubKey, 0, KEY_READ, hKey) 'open the key<br />
&nbsp;  If rtn = ERROR_SUCCESS Then 'if the key could be opened then<br />
&nbsp; &nbsp; &nbsp; sBuffer = Space(255)&nbsp; &nbsp;  'make a buffer<br />
&nbsp; &nbsp; &nbsp; lBufferSize = Len(sBuffer)<br />
&nbsp; &nbsp; &nbsp; rtn = RegQueryValueEx(hKey, Entry, 0, REG_SZ, sBuffer, lBufferSize) 'get the value from the registry<br />
&nbsp; &nbsp; &nbsp; If rtn = ERROR_SUCCESS Then 'if the value could be retreived then<br />
&nbsp; &nbsp; &nbsp; &nbsp;  rtn = RegCloseKey(hKey)&nbsp; 'close the key<br />
&nbsp; &nbsp; &nbsp; &nbsp;  sBuffer = Trim(sBuffer)<br />
&nbsp; &nbsp; &nbsp; &nbsp;  GetStringValue = Left(sBuffer, Len(sBuffer) - 1) 'return the value to the user<br />
&nbsp; &nbsp; &nbsp; Else&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'otherwise, if the value couldnt be retreived<br />
&nbsp; &nbsp; &nbsp; &nbsp;  GetStringValue = &quot;Error&quot; 'return Error to the user<br />
&nbsp; &nbsp; &nbsp; &nbsp;  If DisplayErrorMsg = True Then 'if the user wants errors displayed then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox ErrorMsg(rtn)&nbsp; 'tell the user what was wrong<br />
&nbsp; &nbsp; &nbsp; &nbsp;  End If<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp;  Else 'otherwise, if the key couldnt be opened<br />
&nbsp; &nbsp; &nbsp; GetStringValue = &quot;Error&quot;&nbsp; &nbsp; &nbsp;  'return Error to the user<br />
&nbsp; &nbsp; &nbsp; If DisplayErrorMsg = True Then 'if the user wants errors displayed then<br />
&nbsp; &nbsp; &nbsp; &nbsp;  MsgBox ErrorMsg(rtn)&nbsp; &nbsp; &nbsp; &nbsp; 'tell the user what was wrong<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp;  End If<br />
End If<br />
<br />
End Function<br />
<br />
Private Sub ParseKey(Keyname As String, Keyhandle As Long)<br />
&nbsp; &nbsp; <br />
rtn = InStr(Keyname, &quot;\&quot;) 'return if &quot;\&quot; is contained in the Keyname<br />
<br />
If Left(Keyname, 5) &lt;&gt; &quot;HKEY_&quot; Or Right(Keyname, 1) = &quot;\&quot; Then 'if the is a &quot;\&quot; at the end of the Keyname then<br />
&nbsp;  MsgBox &quot;Incorrect Format:&quot; + Chr(10) + Chr(10) + Keyname 'display error to the user<br />
&nbsp;  Exit Sub 'exit the procedure<br />
ElseIf rtn = 0 Then 'if the Keyname contains no &quot;\&quot;<br />
&nbsp;  Keyhandle = GetMainKeyHandle(Keyname)<br />
&nbsp;  Keyname = &quot;&quot; 'leave Keyname blank<br />
Else 'otherwise, Keyname contains &quot;\&quot;<br />
&nbsp;  Keyhandle = GetMainKeyHandle(Left(Keyname, rtn - 1)) 'seperate the Keyname<br />
&nbsp;  Keyname = Right(Keyname, Len(Keyname) - rtn)<br />
End If<br />
<br />
End Sub<br />
Function CreateKey(SubKey As String)<br />
<br />
Call ParseKey(SubKey, MainKeyHandle)<br />
<br />
If MainKeyHandle Then<br />
&nbsp;  rtn = RegCreateKey(MainKeyHandle, SubKey, hKey) 'create the key<br />
&nbsp;  If rtn = ERROR_SUCCESS Then 'if the key was created then<br />
&nbsp; &nbsp; &nbsp; rtn = RegCloseKey(hKey)&nbsp; 'close the key<br />
&nbsp;  End If<br />
End If<br />
<br />
End Function<br />
Function SetStringValue(SubKey As String, Entry As String, Value As String)<br />
<br />
Call ParseKey(SubKey, MainKeyHandle)<br />
<br />
If MainKeyHandle Then<br />
&nbsp;  rtn = RegOpenKeyEx(MainKeyHandle, SubKey, 0, KEY_WRITE, hKey) 'open the key<br />
&nbsp;  If rtn = ERROR_SUCCESS Then 'if the key was open successfully then<br />
&nbsp; &nbsp; &nbsp; rtn = RegSetValueEx(hKey, Entry, 0, REG_SZ, ByVal Value, Len(Value)) 'write the value<br />
&nbsp; &nbsp; &nbsp; If Not rtn = ERROR_SUCCESS Then&nbsp;  'if there was an error writting the value<br />
&nbsp; &nbsp; &nbsp; &nbsp;  If DisplayErrorMsg = True Then 'if the user wants errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox ErrorMsg(rtn)&nbsp; &nbsp; &nbsp; &nbsp; 'display the error<br />
&nbsp; &nbsp; &nbsp; &nbsp;  End If<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; rtn = RegCloseKey(hKey) 'close the key<br />
&nbsp;  Else 'if there was an error opening the key<br />
&nbsp; &nbsp; &nbsp; If DisplayErrorMsg = True Then 'if the user wants errors displayed<br />
&nbsp; &nbsp; &nbsp; &nbsp;  MsgBox ErrorMsg(rtn)&nbsp; &nbsp; &nbsp; &nbsp; 'display the error<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp;  End If<br />
End If<br />
<br />
End Function</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>DeadlyMan</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243007.html</guid>
		</item>
		<item>
			<title>oracle 9i connect with VB</title>
			<link>http://www.daniweb.com/forums/thread243004.html</link>
			<pubDate>Tue, 01 Dec 2009 12:38:14 GMT</pubDate>
			<description>I want to store multiple usernames and passwords in the oracle 9i and connect with VB.  I am new with this.  Kindly send me reply. 
Smitha</description>
			<content:encoded><![CDATA[<div>I want to store multiple usernames and passwords in the oracle 9i and connect with VB.  I am new with this.  Kindly send me reply.<br />
Smitha</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>smithaboby</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243004.html</guid>
		</item>
		<item>
			<title>vb combo box</title>
			<link>http://www.daniweb.com/forums/thread242735.html</link>
			<pubDate>Tue, 01 Dec 2009 11:37:09 GMT</pubDate>
			<description>i have a combo box in vb6.0 which i need to get a column of data from oracle database, how can i extract a perticular column of data to a combo box</description>
			<content:encoded><![CDATA[<div>i have a combo box in vb6.0 which i need to get a column of data from oracle database, how can i extract a perticular column of data to a combo box</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>supriya mysore</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242735.html</guid>
		</item>
		<item>
			<title>devexpress tabcontrol set focus coding</title>
			<link>http://www.daniweb.com/forums/thread242722.html</link>
			<pubDate>Tue, 01 Dec 2009 10:49:45 GMT</pubDate>
			<description>Hey 
 
I am using a devexpress tabcontrol.  
 
I have a created a program that allows the user to select an option button and that button takes them to the correct tab.  
 
Ive set all the tabs to visable = false untill the option button has been selected.  
 
The problem i am having is setting the...</description>
			<content:encoded><![CDATA[<div>Hey<br />
<br />
I am using a devexpress tabcontrol. <br />
<br />
I have a created a program that allows the user to select an option button and that button takes them to the correct tab. <br />
<br />
Ive set all the tabs to visable = false untill the option button has been selected. <br />
<br />
The problem i am having is setting the focus, so the button sgoes to the tab instead of just making it visable again. <br />
<br />
I know normally you would use the setfocus = ture command but with <br />
devexpress tabcontrol this function does not work. <br />
<br />
does anyone have ideas on the code am meant to use<br />
<br />
Thanks for your help</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>sash_le</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242722.html</guid>
		</item>
		<item>
			<title>how to run a VB code in DOS SHELL?</title>
			<link>http://www.daniweb.com/forums/thread242532.html</link>
			<pubDate>Mon, 30 Nov 2009 19:52:27 GMT</pubDate>
			<description><![CDATA[how can i execute a loop (a series of natural numbers  from 1 to 100) in dos shell ? 
 
code:- 
[ dim a as integer,dim b as integer 
 for b=1 to 100 step 1  
 for a =1 to 100 step 1 
  print a,b 
next a 
next b 
]]]></description>
			<content:encoded><![CDATA[<div>how can i execute a loop (a series of natural numbers  from 1 to 100) in dos shell ?<br />
<br />
code:-<br />
[ dim a as integer,dim b as integer<br />
 for b=1 to 100 step 1 <br />
 for a =1 to 100 step 1<br />
  print a,b<br />
next a<br />
next b<br />
]<br />
<br />
it is executed on a form.<br />
if i want to execute this code in command prompt (DOS shell)  (rather than visual basic form)  from vb6 how will i achieve that<br />
??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>randomized999</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242532.html</guid>
		</item>
		<item>
			<title>VB6 and SQL Server record lock/unlock</title>
			<link>http://www.daniweb.com/forums/thread242472.html</link>
			<pubDate>Mon, 30 Nov 2009 15:26:11 GMT</pubDate>
			<description><![CDATA[Pleeeeeaaaase help.  If you have the answer please email me on 
<<mail removed>> 
 
Thanks 
 
Mac[code]Hi 
 
I have a VB6 system that interacts with a SQL Server database and GET's 
records with the following code 
     <div class="codeblock"> <div class="spaced"> <div style="float:right;...]]></description>
			<content:encoded><![CDATA[<div>Pleeeeeaaaase help.  If you have the answer please email me on<br />
&lt;&lt;mail removed&gt;&gt;<br />
<br />
Thanks<br />
<br />
Mac[code]Hi<br />
<br />
I have a VB6 system that interacts with a SQL Server database and GET's<br />
records with the following code<br />
    <pre style="margin:20px; line-height:13px">&nbsp;  If I_Syscont.State = adStateOpen Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I_Syscont.Close<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; szSQL = &quot;select * from syscont&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; szSQL = Trim(szSQL) &amp; &quot; where recno = 1&quot;&nbsp; 'section = '&quot; &amp; DB_wssasfSection &amp; &quot;'&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; If DB_LockMode = 1 Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I_Syscont.Open szSQL, ContractDB, adOpenDynamic, adLockPessimistic<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I_Syscont.Open szSQL, ContractDB, adOpenDynamic, adLockReadOnly<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; I_Syscont.MoveFirst<br />
&nbsp; &nbsp; &nbsp; &nbsp; etc]<br />
If DB_Lockmode is = 1 it locks the record LockPessimistic.<br />
<br />
This GET routine, after changes to certain fields, is followed by a PUT routine as<br />
follow:<br />
[&nbsp; If DB_LockMode = 1 Then<br />
&nbsp; &nbsp; DB_LockMode = 0<br />
&nbsp; End If<br />
&nbsp; I_Syscont(&quot;RecNo&quot;) = sy.recno<br />
&nbsp; I_Syscont(&quot;CoName&quot;) = sy.coname<br />
&nbsp; I_Syscont(&quot;LogSeq&quot;) = sy.logseq<br />
&nbsp; I_Syscont(&quot;ErrSeq&quot;) = sy.errseq<br />
&nbsp; I_Syscont(&quot;ProcSeq&quot;) = sy.procseq<br />
&nbsp; I_Syscont(&quot;DocSeq&quot;) = sy.docseq<br />
&nbsp; I_Syscont(&quot;DDSeq&quot;) = sy.ddseq<br />
&nbsp; I_Syscont(&quot;InpTyp&quot;) = sy.InpTyp<br />
&nbsp; I_Syscont(&quot;OutTyp&quot;) = sy.outtyp<br />
&nbsp; I_Syscont(&quot;ElemFileNo&quot;) = sy.elemfileno<br />
&nbsp; I_Syscont(&quot;PrintDocNo&quot;) = sy.printdocno<br />
&nbsp; I_Syscont(&quot;TextHistNo&quot;) = sy.Texthistno<br />
&nbsp; I_Syscont(&quot;RulesNo&quot;) = sy.rulesno<br />
&nbsp; I_Syscont(&quot;StreamNo&quot;) = sy.streamno<br />
&nbsp; I_Syscont(&quot;AutoNo&quot;) = sy.autono<br />
&nbsp; I_Syscont(&quot;STime&quot;) = sy.STime<br />
&nbsp; I_Syscont(&quot;DocPath&quot;) = sy.docpath<br />
&nbsp; I_Syscont(&quot;VolPath&quot;) = sy.volpath<br />
&nbsp; I_Syscont(&quot;ElementFilePath&quot;) = sy.ElementFilePath<br />
&nbsp; I_Syscont(&quot;BracketDocPath&quot;) = sy.BracketDocPath<br />
&nbsp; I_Syscont(&quot;FinalDocPath&quot;) = sy.FinalDocPath<br />
&nbsp; I_Syscont(&quot;DBName&quot;) = sy.DBName<br />
&nbsp; I_Syscont(&quot;VolFile&quot;) = sy.VolFile<br />
&nbsp; I_Syscont(&quot;VolExt&quot;) = sy.VolExt<br />
&nbsp; I_Syscont(&quot;Options&quot;) = sy.options<br />
&nbsp; I_Syscont(&quot;WpMacro&quot;) = sy.WPMacro<br />
&nbsp; I_Syscont(&quot;WpMacroM&quot;) = sy.wppmacrom<br />
&nbsp; I_Syscont(&quot;WpMacroL&quot;) = sy.wppmacrol<br />
&nbsp; I_Syscont(&quot;MnDTC&quot;) = sy.mndtc<br />
&nbsp; I_Syscont(&quot;static11&quot;) = sy.static1(1)<br />
&nbsp; I_Syscont(&quot;static12&quot;) = sy.static1(2)<br />
&nbsp; I_Syscont(&quot;static13&quot;) = sy.static1(3)<br />
&nbsp; I_Syscont(&quot;static14&quot;) = sy.static1(4)<br />
&nbsp; I_Syscont(&quot;static15&quot;) = sy.static1(5)<br />
&nbsp; I_Syscont(&quot;static16&quot;) = sy.static1(6)<br />
&nbsp; I_Syscont(&quot;static17&quot;) = sy.static1(7)<br />
&nbsp; I_Syscont(&quot;static18&quot;) = sy.static1(8)<br />
&nbsp; I_Syscont(&quot;static19&quot;) = sy.static1(9)<br />
&nbsp; I_Syscont(&quot;static110&quot;) = sy.static1(10)<br />
&nbsp; I_Syscont(&quot;staticl11&quot;) = sy.staticl1(1)<br />
&nbsp; I_Syscont(&quot;staticl12&quot;) = sy.staticl1(2)<br />
&nbsp; I_Syscont(&quot;staticl13&quot;) = sy.staticl1(3)<br />
&nbsp; I_Syscont(&quot;staticl14&quot;) = sy.staticl1(4)<br />
&nbsp; I_Syscont(&quot;staticl15&quot;) = sy.staticl1(5)<br />
&nbsp; I_Syscont(&quot;staticl16&quot;) = sy.staticl1(6)<br />
&nbsp; I_Syscont(&quot;staticl17&quot;) = sy.staticl1(7)<br />
&nbsp; I_Syscont(&quot;staticl18&quot;) = sy.staticl1(8)<br />
&nbsp; I_Syscont(&quot;staticl19&quot;) = sy.staticl1(9)<br />
&nbsp; I_Syscont(&quot;staticl110&quot;) = sy.staticl1(10)<br />
&nbsp; I_Syscont(&quot;static21&quot;) = sy.static2(1)<br />
&nbsp; I_Syscont(&quot;static22&quot;) = sy.static2(2)<br />
&nbsp; I_Syscont(&quot;static23&quot;) = sy.static2(3)<br />
&nbsp; I_Syscont(&quot;static24&quot;) = sy.static2(4)<br />
&nbsp; I_Syscont(&quot;static25&quot;) = sy.static2(5)<br />
&nbsp; I_Syscont(&quot;static26&quot;) = sy.static2(6)<br />
&nbsp; I_Syscont(&quot;static27&quot;) = sy.static2(7)<br />
&nbsp; I_Syscont(&quot;static28&quot;) = sy.static2(8)<br />
&nbsp; I_Syscont(&quot;static29&quot;) = sy.static2(9)<br />
&nbsp; I_Syscont(&quot;static210&quot;) = sy.static2(10)<br />
&nbsp; I_Syscont(&quot;staticl21&quot;) = sy.staticl2(1)<br />
&nbsp; I_Syscont(&quot;staticl22&quot;) = sy.staticl2(2)<br />
&nbsp; I_Syscont(&quot;staticl23&quot;) = sy.staticl2(3)<br />
&nbsp; I_Syscont(&quot;staticl24&quot;) = sy.staticl2(4)<br />
&nbsp; I_Syscont(&quot;staticl25&quot;) = sy.staticl2(5)<br />
&nbsp; I_Syscont(&quot;staticl26&quot;) = sy.staticl2(6)<br />
&nbsp; I_Syscont(&quot;staticl27&quot;) = sy.staticl2(7)<br />
&nbsp; I_Syscont(&quot;staticl28&quot;) = sy.staticl2(8)<br />
&nbsp; I_Syscont(&quot;staticl29&quot;) = sy.staticl2(9)<br />
&nbsp; I_Syscont(&quot;staticl210&quot;) = sy.staticl2(10)<br />
&nbsp; I_Syscont(&quot;Notes&quot;) = sy.Notes<br />
&nbsp; I_Syscont(&quot;AutoNo1&quot;) = sy.autono1<br />
&nbsp; I_Syscont(&quot;AutoNo2&quot;) = sy.autono2<br />
&nbsp; I_Syscont(&quot;ImageDir&quot;) = sy.ImageDir<br />
&nbsp; I_Syscont(&quot;EMailDir&quot;) = sy.EMailDir<br />
&nbsp; I_Syscont(&quot;EMailType&quot;) = sy.EMailType<br />
&nbsp; I_Syscont(&quot;FileElems1&quot;) = sy.FileElems1<br />
&nbsp; I_Syscont(&quot;FileElems2&quot;) = sy.FileElems2<br />
&nbsp; I_Syscont(&quot;DefaultFontSize&quot;) = sy.DefaultFontSize<br />
&nbsp; I_Syscont(&quot;DefaultFont&quot;) = sy.DefaultFont<br />
&nbsp; <br />
&nbsp; I_Syscont(&quot;Options2&quot;) = sy.Options2<br />
&nbsp; I_Syscont(&quot;SysRef&quot;) = &quot; &quot;<br />
&nbsp; I_Syscont(&quot;SysSeq&quot;) = 0<br />
&nbsp; I_Syscont(&quot;SysDate&quot;) = Date 'Now<br />
&nbsp; I_Syscont(&quot;SysUser&quot;) = wsuserid<br />
&nbsp; <br />
&nbsp; I_Syscont(&quot;FixedWaterMark01&quot;) = sy.FixedWaterMark(1)<br />
&nbsp; I_Syscont(&quot;FixedWaterMark02&quot;) = sy.FixedWaterMark(2)<br />
&nbsp; I_Syscont(&quot;FixedWaterMark03&quot;) = sy.FixedWaterMark(3)<br />
&nbsp; I_Syscont(&quot;FixedWaterMark04&quot;) = sy.FixedWaterMark(4)<br />
&nbsp; I_Syscont(&quot;FixedWaterMark05&quot;) = sy.FixedWaterMark(5)<br />
&nbsp; I_Syscont(&quot;FixedWaterMark06&quot;) = sy.FixedWaterMark(6)<br />
&nbsp; I_Syscont(&quot;FixedWaterMark07&quot;) = sy.FixedWaterMark(7)<br />
&nbsp; I_Syscont(&quot;FixedWaterMark08&quot;) = sy.FixedWaterMark(8)<br />
&nbsp; I_Syscont(&quot;FixedWaterMark09&quot;) = sy.FixedWaterMark(9)<br />
&nbsp; I_Syscont(&quot;FixedWaterMark10&quot;) = sy.FixedWaterMark(10)<br />
&nbsp; <br />
&nbsp; <br />
&nbsp; I_Syscont.update]</pre><br />
I assumed this would PUT the record back and then release the lock.  However<br />
the lock is not released and the system hangs for anyone else trying to log on.<br />
<br />
Pleeeeeaaaase help.  If you have the answer please email me on<br />
&lt;&lt;mail removed&gt;&gt;<br />
<br />
Thanks<br />
<br />
Mac</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Mac Mac Gregor</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242472.html</guid>
		</item>
		<item>
			<title>drawing tool in vb6</title>
			<link>http://www.daniweb.com/forums/thread242469.html</link>
			<pubDate>Mon, 30 Nov 2009 15:12:39 GMT</pubDate>
			<description>Hi all, 
 
If I want to read an image and split them into pixel of rgb(red green blue) regarding their color. 
 
Is it possible to do it in vb?  
Or I need to use the different program? if you have any clue, please let me know, thanks.</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
If I want to read an image and split them into pixel of rgb(red green blue) regarding their color.<br />
<br />
Is it possible to do it in vb? <br />
Or I need to use the different program? if you have any clue, please let me know, thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>neosonic</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242469.html</guid>
		</item>
		<item>
			<title>Write a  program.... (VB6)</title>
			<link>http://www.daniweb.com/forums/thread242387.html</link>
			<pubDate>Mon, 30 Nov 2009 09:20:17 GMT</pubDate>
			<description><![CDATA[Write a program that will deal with the following scenario: 
- someone buys a car at £7.500 
-  the car is to be "paid up" over 4 years 
- the intrest rate is 5% flat rate per annum. 
The program should display the total monthly payment, and should alsoo show how this is made up (ie the part of the...]]></description>
			<content:encoded><![CDATA[<div>Write a program that will deal with the following scenario:<br />
- someone buys a car at £7.500<br />
-  the car is to be &quot;paid up&quot; over 4 years<br />
- the intrest rate is 5% flat rate per annum.<br />
The program should display the total monthly payment, and should alsoo show how this is made up (ie the part of the payment towards the car, the part of the payment that covers the interest).<br />
<br />
Example:<br />
Purshase price - £7.500<br />
Interest per annum - 5% of £7.500 = £375.<br />
<br />
<br />
Use loops /  operators / arrays.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>pytup</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242387.html</guid>
		</item>
		<item>
			<title>Network Monitor - problem listview</title>
			<link>http://www.daniweb.com/forums/thread242385.html</link>
			<pubDate>Mon, 30 Nov 2009 09:02:37 GMT</pubDate>
			<description>Good morning friends 
 
I write from Brazil, and I need help from an expert .(.. 
I am developing the program attached with another program on existing 
 
This is very important to me as it is for my college training .. 
 
basically I track IP address through ICMP. The problem is the following: 
...</description>
			<content:encoded><![CDATA[<div>Good morning friends<br />
<br />
I write from Brazil, and I need help from an expert .(..<br />
I am developing the program attached with another program on existing<br />
<br />
This is very important to me as it is for my college training ..<br />
<br />
basically I track IP address through ICMP. The problem is the following:<br />
<br />
add options in the form of Ip and description for the monitoring after these will add to the listview on the form and ping works<br />
the problem is when I try to remove an address in the form options it should also delete the form ping ... this is my problem ....<br />
<br />
please help me .. do I need to deliver soon and I can not solve this ...<br />
<br />
Thank you very much</div>  <br /> <div style="padding:5px">     <fieldset class="fieldset"> <legend>Attached Files</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12790&amp;d=1259571747">ping monitor.zip</a> (117.2 KB)</td> </tr> </table> </fieldset>  </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>danicam</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242385.html</guid>
		</item>
		<item>
			<title>(Help) Storing ListView specific index items</title>
			<link>http://www.daniweb.com/forums/thread242347.html</link>
			<pubDate>Mon, 30 Nov 2009 05:22:53 GMT</pubDate>
			<description>Hello, 
I want to store all ListView items of index (2) in a MultiLine TextBox, 
Please explain how can i transfer all listed text of specific index</description>
			<content:encoded><![CDATA[<div>Hello,<br />
I want to store all ListView items of index (2) in a MultiLine TextBox,<br />
Please explain how can i transfer all listed text of specific index</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Geek_Cyborg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242347.html</guid>
		</item>
		<item>
			<title>Calling Crystal Report from vb6</title>
			<link>http://www.daniweb.com/forums/thread242328.html</link>
			<pubDate>Mon, 30 Nov 2009 03:12:41 GMT</pubDate>
			<description>How to call Crystal Report from vb6 code? help me.</description>
			<content:encoded><![CDATA[<div>How to call Crystal Report from vb6 code? help me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>bhaskaram</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242328.html</guid>
		</item>
		<item>
			<title><![CDATA[[Error] Server has not yet been opened]]></title>
			<link>http://www.daniweb.com/forums/thread242326.html</link>
			<pubDate>Mon, 30 Nov 2009 03:03:37 GMT</pubDate>
			<description><![CDATA[I have a problem when I ran report from vb6. I use Crystal Report 8.5 as reporting tools and MySql as database for my program. When I tried to run the report in Crystal Report, it worked. But when I ran it from vb6, it showed an error: "Server has not yet been opened". Here is my codes for showing...]]></description>
			<content:encoded><![CDATA[<div>I have a problem when I ran report from vb6. I use Crystal Report 8.5 as reporting tools and MySql as database for my program. When I tried to run the report in Crystal Report, it worked. But when I ran it from vb6, it showed an error: &quot;Server has not yet been opened&quot;. Here is my codes for showing the report. Can anyone help me pliz to find the solution for my problem. Thx before. <br />
<br />
 <pre style="margin:20px; line-height:13px">Dim formlap1 As New lap_pembelian_barang<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim crystal1 As CRAXDRT.Application<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim dbTable As CRAXDDRT.DatabaseTable<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim Report1 As CRAXDRT.Report&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim SubReport As CRAXDRT.Report<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim Sections As CRAXDRT.Sections<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim Section As CRAXDRT.Section<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim RepObjs As CRAXDRT.ReportObjects<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim SubReportObj As CRAXDRT.SubreportObject<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim n As Integer<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim i As Integer<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim j As Integer<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; formlap1.CRViewer1.DisplayBorder = False <br />
&nbsp; &nbsp; &nbsp; &nbsp; formlap1.CRViewer1.DisplayTabs = False&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; formlap1.CRViewer1.EnableDrillDown = False&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; formlap1.CRViewer1.EnableRefreshButton = False<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Set crystal1 = New CRAXDRT.Application&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Set Report1 = crystal1.OpenReport(App.Path &amp; &quot;\laporan\pembelian_per_barang.rpt&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; For n = 1 To Report1.Database.Tables.Count<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Report1.Database.Tables(n).SetLogOnInfo &quot;localhost&quot;, &quot;database&quot;, user, pass<br />
&nbsp; &nbsp; &nbsp; &nbsp; Next n<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Set Sections = Report1.Sections<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; For n = 1 To Sections.Count <br />
&nbsp; &nbsp; &nbsp;  Set Section = Sections.Item(n)<br />
&nbsp; &nbsp; &nbsp;  Set RepObjs = Section.ReportObjects<br />
&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For i = 1 To RepObjs.Count<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  If RepObjs.Item(i).Kind = crSubreportObject Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set SubReportObj = RepObjs.Item(i)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set SubReport = SubReportObj.OpenSubreport<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For j = 1 To SubReport.Database.Tables.Count<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SubReport.Database.Tables(j).SetLogOnInfo &quot;localhost&quot;, &quot;database&quot;, user, pass<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Next j<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Next i<br />
&nbsp; &nbsp; &nbsp;  Next n<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Report1.DiscardSavedData&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Report1.Database.SetDataSource rs&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Report1.RecordSelectionFormula = &quot;{faktur_pembelian_header.tgl_faktur}&gt;= #&quot; &amp; DTPickerawal.Value &amp; &quot;# and {faktur_pembelian_header.tgl_faktur}&lt;= #&quot; &amp; DTPickerakhir.Value &amp; &quot;#&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; formlap1.CRViewer1.ReportSource = Report1<br />
&nbsp; &nbsp; &nbsp; &nbsp; formlap1.CRViewer1.ViewReport<br />
&nbsp; &nbsp; &nbsp; &nbsp; formlap1.Show<br />
&nbsp; &nbsp; &nbsp; &nbsp; Unload Me</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>wild_angel</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242326.html</guid>
		</item>
		<item>
			<title>type mismatch</title>
			<link>http://www.daniweb.com/forums/thread242231.html</link>
			<pubDate>Sun, 29 Nov 2009 17:02:02 GMT</pubDate>
			<description>guys i recently used this following code in my project,, 
http://www.vb-helper.com/howto_store...access_db.html 
 
after adding the above form in my project i added microsoft active x control in my reference,,cos the above code needs it,,,, 
 
i also have added microsoft dao 3.5 in reference before...</description>
			<content:encoded><![CDATA[<div>guys i recently used this following code in my project,,<br />
<a rel="nofollow" class="t" href="http://www.vb-helper.com/howto_store...access_db.html" target="_blank">http://www.vb-helper.com/howto_store...access_db.html</a><br />
<br />
after adding the above form in my project i added microsoft active x control in my reference,,cos the above code needs it,,,,<br />
<br />
i also have added microsoft dao 3.5 in reference before i added the above form,,,<br />
<br />
then i tried running the program,,,<br />
i get an error tellin &quot;error no13, type mismatch&quot; which highlights the line of that form which links to the new downloaded form<br />
set db=(&quot;<span style="font-style:italic">location</span>&quot;)<br />
<br />
<br />
pls help me,,,i've gotta complete my project in few days time,,pls,,,</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>venkatnams</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242231.html</guid>
		</item>
		<item>
			<title>VB6 Opening MS Access</title>
			<link>http://www.daniweb.com/forums/thread242188.html</link>
			<pubDate>Sun, 29 Nov 2009 13:21:24 GMT</pubDate>
			<description>Hi 
I am trying to open a MS Access db via CommonDialog1. All is fine untill I click OPEN after selecting the db I want. What I then get is a dialog for ODBC entitled SELECT DATA SOURCE with two tabs: File Data Source or Machine Data Source. If I choose Machine Data Source and then MS Access I get...</description>
			<content:encoded><![CDATA[<div>Hi<br />
I am trying to open a MS Access db via CommonDialog1. All is fine untill I click OPEN after selecting the db I want. What I then get is a dialog for ODBC entitled SELECT DATA SOURCE with two tabs: File Data Source or Machine Data Source. If I choose Machine Data Source and then MS Access I get a runtime error 3423 and the message that I cannot use ODBC to import from/export to or link an external Microsoft Jet or ISAM Database table to my database.  I am really confused - why does the SELECT DATA SOURCE  window appear at all?<br />
If I run debug it fails at the following line of code:<br />
Set db = ws.OpenDatabase(gf_strDbPath)<br />
Please Helpme!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>novicevbp</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242188.html</guid>
		</item>
		<item>
			<title>expain this code pls</title>
			<link>http://www.daniweb.com/forums/thread242170.html</link>
			<pubDate>Sun, 29 Nov 2009 11:17:12 GMT</pubDate>
			<description>hey guys,,i recently got this code from robocr of this community,,i got this from another website,,im trying to use this in my project to link a photo,,but im not able to do that,,i get errors one by one when i try to run the code after importing the forms and modules into my project,,,can some one...</description>
			<content:encoded><![CDATA[<div>hey guys,,i recently got this code from robocr of this community,,i got this from another website,,im trying to use this in my project to link a photo,,but im not able to do that,,i get errors one by one when i try to run the code after importing the forms and modules into my project,,,can some one explain the function of each line in this code??? pls,,,,<br />
my previous post was <br />
<a rel="nofollow" class="t" href="http://www.daniweb.com/forums/newpostinthread236985.html?utm_source=vBMail&amp;utm_medium=email&amp;utm_campaign=ThreadUpdate" target="_blank">http://www.daniweb.com/forums/newpos...n=ThreadUpdate</a><br />
<br />
i need the explanation of each and every lines of the code mentioned in this page<br />
<br />
<a rel="nofollow" class="t" href="http://www.vb-helper.com/howto_store_image_in_access_db.html" target="_blank">http://www.vb-helper.com/howto_store...access_db.html</a><br />
<br />
pls pls,,help me,,,</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>venkatnams</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242170.html</guid>
		</item>
		<item>
			<title>VBS Script to add registry keys to all Current Users</title>
			<link>http://www.daniweb.com/forums/thread242012.html</link>
			<pubDate>Sat, 28 Nov 2009 12:42:03 GMT</pubDate>
			<description>Hi 
 
Writing a vbs logon script to add a registry key for users, but it is only adding it once for the SYSTEM account, (since this account is used to run logon scripts) via HKEY_CURRENT_USER, whereas I need it to add it for the user logging on, so append it to all accounts within HKEY_USERS; 
...</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
Writing a vbs logon script to add a registry key for users, but it is only adding it once for the SYSTEM account, (since this account is used to run logon scripts) via HKEY_CURRENT_USER, whereas I need it to add it for the user logging on, so append it to all accounts within HKEY_USERS;<br />
<br />
current script;<br />
<br />
 <pre style="margin:20px; line-height:13px">const HKEY_CURRENT_USER = &amp;H80000001<br />
strComputer = &quot;.&quot;<br />
Set StdOut = WScript.StdOut<br />
&nbsp;<br />
Set oReg=GetObject(&quot;winmgmts:{impersonationLevel=impersonate}!\\&quot; &amp;_ <br />
strComputer &amp; &quot;\root\default:StdRegProv&quot;)<br />
&nbsp;<br />
strKeyPath = &quot;Software\Microsoft\Windows\CurrentVersion\Internet Settings&quot;<br />
strValueName = &quot;DialupUseLanSettings&quot;<br />
strValue = &quot;1&quot;<br />
oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue<br />
&nbsp;<br />
strValueName = &quot;DialupUseLanSettings&quot;<br />
dwValue = 1<br />
oReg.SetDWORDValue HKEY_CURRENT_USER,strKeyPath,strValueName,dwValue</pre><br />
Is there a way to modify this so for all occurances of the key path &quot;Software\Microsoft\Windows\CurrentVersion\Internet Settings&quot; in HKEY_USERS, it will add a new value &quot;DialupUseLanSettings&quot; with DWORD value 1?<br />
<br />
Any help would be appreciated, thanks, Dave</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>DaveB</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242012.html</guid>
		</item>
		<item>
			<title>Need help in making reports...(VB6)</title>
			<link>http://www.daniweb.com/forums/thread242006.html</link>
			<pubDate>Sat, 28 Nov 2009 12:03:44 GMT</pubDate>
			<description><![CDATA[Hi to all and good day... 
 
I'm still studying about vb 6's data report designer and the data environment...but what i need to know is 
how can i make or *generate* a report at _run time_... 
 
for example, generate report for the employee names. 
(names of the employees will populate the report...]]></description>
			<content:encoded><![CDATA[<div>Hi to all and good day...<br />
<br />
I'm still studying about vb 6's data report designer and the data environment...but what i need to know is<br />
how can i make or <span style="font-weight:bold">generate</span> a report at <span style="text-decoration:underline">run time</span>...<br />
<br />
for example, generate report for the employee names.<br />
(names of the employees will populate the report and nothing else...<br />
or generate report for orders...<br />
<br />
something like that...<br />
<br />
the user will choose between the two options (maybe an option button will be OK to use.)  then after the user chooses one and click the button 'generate report'...) the report will be generated according the choices..<br />
<br />
I have search through the net for some samples about the data report designer, but what i see is, the report was build during the design time.<br />
<br />
Thanks in advance...:)<br />
<br />
This forum helps me a lot, thanks to all of you</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>PoisonedHeart</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242006.html</guid>
		</item>
		<item>
			<title><![CDATA[[unknown question]]]></title>
			<link>http://www.daniweb.com/forums/thread242049.html</link>
			<pubDate>Sat, 28 Nov 2009 09:36:53 GMT</pubDate>
			<description><![CDATA[Is there a command that change's server's file's inside buffer? 
Change file's inside text? 
I hope you understand me]]></description>
			<content:encoded><![CDATA[<div>Is there a command that change's server's file's inside buffer?<br />
Change file's inside text?<br />
I hope you understand me</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>lashatt2</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242049.html</guid>
		</item>
		<item>
			<title><![CDATA[Package & Deployment Wizard - size dramatically increased]]></title>
			<link>http://www.daniweb.com/forums/thread241876.html</link>
			<pubDate>Fri, 27 Nov 2009 20:20:05 GMT</pubDate>
			<description><![CDATA[i have a VB6 application using DAO and other reference libraries...so i used Package & Deployment wizard, so that it works on other machines as well...now my application size has increased from "79 KB" (my earlier exe + DB Files) to whooping "30 MB" (entire package). 
 
Please guide me how to...]]></description>
			<content:encoded><![CDATA[<div>i have a VB6 application using DAO and other reference libraries...so i used Package &amp; Deployment wizard, so that it works on other machines as well...now my application size has increased from &quot;79 KB&quot; (my earlier exe + DB Files) to whooping &quot;30 MB&quot; (entire package).<br />
<br />
Please guide me how to reduce this size...as i have to make it as crisp as possible...<br />
<br />
i just have to send application so that ppl can use it..no need for modification and all..keeping this in mind...do i need .cab file (13 MB)?? what else can i do to reduce the size of package ???</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>pankaj.garg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241876.html</guid>
		</item>
		<item>
			<title><![CDATA[VB6 Object or Property Doesn't Support This Method]]></title>
			<link>http://www.daniweb.com/forums/thread241814.html</link>
			<pubDate>Fri, 27 Nov 2009 14:19:53 GMT</pubDate>
			<description>I am adding a usercontrol combo box to another usercontrol form and when I do this the program actually runs and goes to an initialise routine in a class and shows the error mentioned in subject. 
 
I have a collection of records and a new combo box and this is the reason also for the new class....</description>
			<content:encoded><![CDATA[<div>I am adding a usercontrol combo box to another usercontrol form and when I do this the program actually runs and goes to an initialise routine in a class and shows the error mentioned in subject.<br />
<br />
I have a collection of records and a new combo box and this is the reason also for the new class. The routine in the new class has a 'For' loop, which adds the items to the combo box and this is where the error shows up.<br />
<br />
My main question is why does the code start running when I try to add a user control to the main parameter user control form?<br />
<br />
Thanks<br />
<br />
Andrew</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>wdb07159</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241814.html</guid>
		</item>
		<item>
			<title>Runtime-error 429 active x component cant create object</title>
			<link>http://www.daniweb.com/forums/thread241752.html</link>
			<pubDate>Fri, 27 Nov 2009 08:20:27 GMT</pubDate>
			<description><![CDATA[i created a VB-6 program using reference "DAO 3.51 object library" on XP OS....works ok on my system...but does not work on my friends system...gives error - "Runtime-error 429 : active x component cant create object" 
 
friend's system is Windows XP with Office 2007 installed... 
 
Pl help to...]]></description>
			<content:encoded><![CDATA[<div>i created a VB-6 program using reference &quot;DAO 3.51 object library&quot; on XP OS....works ok on my system...but does not work on my friends system...gives error - &quot;Runtime-error 429 : active x component cant create object&quot;<br />
<br />
friend's system is Windows XP with Office 2007 installed...<br />
<br />
Pl help to resolve this...<br />
<br />
and i am planning to send this to lots of my friends...can the solution be bundled with the exe itself??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>pankaj.garg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241752.html</guid>
		</item>
		<item>
			<title>How to terminate some application using vb code</title>
			<link>http://www.daniweb.com/forums/thread241739.html</link>
			<pubDate>Fri, 27 Nov 2009 06:00:12 GMT</pubDate>
			<description>hi to all! i need some help. My problem is how to code the terminating current process, actually it is like a task manager. i hope somebody will answer my question. thanks to all...</description>
			<content:encoded><![CDATA[<div>hi to all! i need some help. My problem is how to code the terminating current process, actually it is like a task manager. i hope somebody will answer my question. thanks to all...</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>asaness</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241739.html</guid>
		</item>
		<item>
			<title>VB within Excel, help please</title>
			<link>http://www.daniweb.com/forums/thread241699.html</link>
			<pubDate>Fri, 27 Nov 2009 01:29:19 GMT</pubDate>
			<description>Hi, 
 
I have to write a function in Visual Basic within Microsoft that takes customer type and number of books purchased as inputs and returns the discount that should be given. Calculate the total sum after deducting discount that is to be paid and that the interface shows the total amount before...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have to write a function in Visual Basic within Microsoft that takes customer type and number of books purchased as inputs and returns the discount that should be given. Calculate the total sum after deducting discount that is to be paid and that the interface shows the total amount before and after the discount. <br />
<br />
I would like to get some help in this because im totally stuck. I have designed the form in VB somewhat,not finalised ofcourse and done the code. But I can't manage to get it working as how it's described above :S Pleaseeeeeee helppppppppppppppppppp. <br />
<br />
I have attached the file of what I did so far. <br />
<br />
Thanks</div>  <br /> <div style="padding:5px">     <fieldset class="fieldset"> <legend>Attached Files</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/doc.gif" alt="File Type: doc" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12731&amp;d=1259285307">Function Discount.doc</a> (195.5 KB)</td> </tr> </table> </fieldset>  </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Nepenthe</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241699.html</guid>
		</item>
		<item>
			<title>networking</title>
			<link>http://www.daniweb.com/forums/thread241574.html</link>
			<pubDate>Thu, 26 Nov 2009 13:10:30 GMT</pubDate>
			<description>Please, i want to know how to ntework in vb6. Also, capturing the system name and other things like that.</description>
			<content:encoded><![CDATA[<div>Please, i want to know how to ntework in vb6. Also, capturing the system name and other things like that.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>imolorhe</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241574.html</guid>
		</item>
		<item>
			<title>Paint Application</title>
			<link>http://www.daniweb.com/forums/thread241550.html</link>
			<pubDate>Thu, 26 Nov 2009 11:07:53 GMT</pubDate>
			<description>Hi, everyone i am so pressed with this task of developing a Piant Application using java or vb. i have run short of time, please someone save a me.  
I am Justine .O.</description>
			<content:encoded><![CDATA[<div>Hi, everyone i am so pressed with this task of developing a Piant Application using java or vb. i have run short of time, please someone save a me. <br />
I am Justine .O.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>Jlutha1001</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241550.html</guid>
		</item>
		<item>
			<title>calendar</title>
			<link>http://www.daniweb.com/forums/thread241524.html</link>
			<pubDate>Thu, 26 Nov 2009 09:30:38 GMT</pubDate>
			<description>how to bind collected Data in calendar control in vb 6</description>
			<content:encoded><![CDATA[<div>how to bind collected Data in calendar control in vb 6</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>remalisam</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241524.html</guid>
		</item>
		<item>
			<title>Exporting Macros from excel</title>
			<link>http://www.daniweb.com/forums/thread241327.html</link>
			<pubDate>Wed, 25 Nov 2009 16:20:08 GMT</pubDate>
			<description><![CDATA[Hey everyone, 
 
I've been working on a project for my job and I've become stuck. I'm trying to figure out a way to extract or export all macros from an excel workbook to a folder on my filesystem. 
 
Is there a way of doing this with out creating a program in VB? 
 
I would appreciate any help!...]]></description>
			<content:encoded><![CDATA[<div>Hey everyone,<br />
<br />
I've been working on a project for my job and I've become stuck. I'm trying to figure out a way to extract or export all macros from an excel workbook to a folder on my filesystem.<br />
<br />
Is there a way of doing this with out creating a program in VB?<br />
<br />
I would appreciate any help! thanks.<br />
<br />
jcb</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>jcb0806</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241327.html</guid>
		</item>
		<item>
			<title>MMcontrol does not play previously played .wav file</title>
			<link>http://www.daniweb.com/forums/thread241192.html</link>
			<pubDate>Wed, 25 Nov 2009 05:52:39 GMT</pubDate>
			<description><![CDATA[Hi!  
I'm a newbie in this community. 
I am developing a VB6 app which displays 100 pictures one at a time at random using a button click event.  This works fine so far.  Using the same random number generated to display the picture using a ' select case' routine, it needs to play a wave file...]]></description>
			<content:encoded><![CDATA[<div>Hi! <br />
I'm a newbie in this community.<br />
I am developing a VB6 app which displays 100 pictures one at a time at random using a button click event.  This works fine so far.  Using the same random number generated to display the picture using a ' select case' routine, it needs to play a wave file representing a question for that picture using the mmcontrol1 play button. This is then followed with playing an answer using the mmcontrol2 play button<br />
I am using mmcontrol1 for playing the question and mmcontrol2 for the answer.<br />
The problem is this; When the random number has caused a picture and wave file to be executed,it will continue to work fine until the current random number is a number that has already been used once before. When this happens the picture displays correctly but the sound file does not play.<br />
How can I trap this and correct it.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>michellspijkers</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241192.html</guid>
		</item>
		<item>
			<title>Is vb6 suitable for this kind of program?</title>
			<link>http://www.daniweb.com/forums/thread241190.html</link>
			<pubDate>Wed, 25 Nov 2009 05:48:24 GMT</pubDate>
			<description>Hi All, 
 
Thanks for your continuing helps and supports, I really love this forum. (and somewhat depended on it). 
 
I have got program written in vb6, this program provide the calculation and links to microsoft access and microsoft words. 
This program soon will be integrated with microsoft visio...</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
Thanks for your continuing helps and supports, I really love this forum. (and somewhat depended on it).<br />
<br />
I have got program written in vb6, this program provide the calculation and links to microsoft access and microsoft words.<br />
This program soon will be integrated with microsoft visio or other drawing tool.<br />
<br />
The thing that I want to do is:<br />
I want to have a program which can be used by everyone (including linux and mac users).  <br />
Is vb6 able to make that kind of stuff?<br />
Or do I need to publish online? Or should I upgrade it in vb.net (then again, will vb.net able to do it)?<br />
<br />
I will use mySQL for the database in the server. <br />
But will vb6 able to cope with this?<br />
And also if I need to scan a house plan (and do calculation in it), which program is the best to do it?<br />
<br />
Thanks a lot, I really appeciate your help</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>neosonic</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241190.html</guid>
		</item>
		<item>
			<title>after Form resize event..(pls help)</title>
			<link>http://www.daniweb.com/forums/thread241149.html</link>
			<pubDate>Wed, 25 Nov 2009 02:19:50 GMT</pubDate>
			<description>Hi guys.!! 
 
Good day.! 
 
I just want to know on how to execute an event or function call after the resize event of the Form had been triggered!.. 
 
Thank you for giving time on this post.!</description>
			<content:encoded><![CDATA[<div>Hi guys.!!<br />
<br />
Good day.!<br />
<br />
I just want to know on how to execute an event or function call after the resize event of the Form had been triggered!..<br />
<br />
Thank you for giving time on this post.!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>blocker</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241149.html</guid>
		</item>
	</channel>
</rss>
