<?xml version="1.0" encoding="ISO-8859-1"?>

<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>Xtreme Visual Basic Talk</title>
		<link>http://www.xtremevbtalk.com/</link>
		<description>XVBT is an interactive discussion forum for Visual Basic programmers. Topics include game programming, DirectX, COM, .NET, and API. To visit the forum, go to http://www.xtremevbtalk.com/ .</description>
		<language>en</language>
		<lastBuildDate>Thu, 17 May 2012 11:33:08 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.xtremevbtalk.com/x_images/images/misc/rss.jpg</url>
			<title>Xtreme Visual Basic Talk</title>
			<link>http://www.xtremevbtalk.com/</link>
		</image>
		<item>
			<title>Label Not Updating</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324102&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 07:10:15 GMT</pubDate>
			<description>Hi there, 
 
This is quite a strange one I’m not to sure why it does not work but there you have it! 
 
In my MyApplication  class I’ve defined a splash screen the form has no border etc! 
 
In MyApplication_Startup I display it before the Login form loads etc. 
 
The problem is that if I write the...</description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
This is quite a strange one I’m not to sure why it does not work but there you have it!<br />
<br />
In my MyApplication  class I’ve defined a splash screen the form has no border etc!<br />
<br />
In MyApplication_Startup I display it before the Login form loads etc.<br />
<br />
The problem is that if I write the following code.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px"> Code:</div>
	<pre class="alt2" style="margin:0px; padding:4px; border:1px inset; width:95%; height:68px; overflow:auto"><div dir="ltr" style="text-align:left;">FrmSplash.Info.Text = &quot;Synchronising Data To Laptop Please Wait...&quot;
Application.DoEvents()</div></pre>
</div><br />
The label will update the text fine but if I write<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px"> Code:</div>
	<pre class="alt2" style="margin:0px; padding:4px; border:1px inset; width:95%; height:52px; overflow:auto"><div dir="ltr" style="text-align:left;">FrmSplash.Invoke(sub() FrmSplash.Info.Text = &quot;Synchronising Data To Laptop Please Wait...&quot;)</div></pre>
</div><br />
It just does not update??</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=98">.NET General</category>
			<dc:creator>piggybank1974</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324102</guid>
		</item>
		<item>
			<title>Overflow error when loading DataEnvironment</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324101&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 03:53:22 GMT</pubDate>
			<description><![CDATA[Hi, 
     I need advice on overflow error. I'm having the error when the data environment loads. I'm really sure its because of the data because it works with test data but have the error in production data. 
     But I'm not sure on how to troubleshoot because the error appears when the data...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
     I need advice on overflow error. I'm having the error when the data environment loads. I'm really sure its because of the data because it works with test data but have the error in production data.<br />
     But I'm not sure on how to troubleshoot because the error appears when the data environment loads but not in any of my codes. :huh:<br />
<br />
Please help, advance thanks.</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=16">Database and Reporting</category>
			<dc:creator>Fali Sheru</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324101</guid>
		</item>
		<item>
			<title>Rotation around maintained arbitrary axis.</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324099&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 18:55:34 GMT</pubDate>
			<description><![CDATA[I've been racking my brain for days now and can't find the answer. I'm using C++ and DirectX but I figure that this is more of a math problem that can relate to all languages trying to work in 3D. 
 
Basically, to rotate a flying vehicle (spaceship, airplane, whatever) I am using this system that I...]]></description>
			<content:encoded><![CDATA[<div>I've been racking my brain for days now and can't find the answer. I'm using C++ and DirectX but I figure that this is more of a math problem that can relate to all languages trying to work in 3D.<br />
<br />
Basically, to rotate a flying vehicle (spaceship, airplane, whatever) I am using this system that I found for FPS camera control:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; &nbsp; &nbsp; up=D3DXVECTOR3(0.0f, 1.0f, 0.0f);<br />
&nbsp; &nbsp; &nbsp; &nbsp; look=D3DXVECTOR3(0.0f, 0.0f, 1.0f);<br />
&nbsp; &nbsp; &nbsp; &nbsp; right=D3DXVECTOR3(1.0f, 0.0f, 0.0f);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXMATRIX yawMatrix;<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXMatrixRotationAxis(&amp;yawMatrix, &amp;up, yaw);<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXVec3TransformCoord(&amp;look, &amp;look, &amp;yawMatrix);<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXVec3TransformCoord(&amp;right, &amp;right, &amp;yawMatrix);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXMATRIX pitchMatrix;<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXMatrixRotationAxis(&amp;pitchMatrix, &amp;right, pitch);<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXVec3TransformCoord(&amp;look, &amp;look, &amp;pitchMatrix);<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXVec3TransformCoord(&amp;up, &amp;up, &amp;pitchMatrix);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXMATRIX rollMatrix;<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXMatrixRotationAxis(&amp;rollMatrix, &amp;look, roll);<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXVec3TransformCoord(&amp;right, &amp;right, &amp;rollMatrix);<br />
&nbsp; &nbsp; &nbsp; &nbsp; D3DXVec3TransformCoord(&amp;up, &amp;up, &amp;rollMatrix);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; rotMatrix = yawMatrix*pitchMatrix*rollMatrix;</code><hr />
</div>And you rotate by adjusting the yaw, pitch, and roll float values. The problem is that this code only seems to rotate around the default axis. For instance, if I make my little ship pitch down (lower the nose to fly downwards) and then wish to &quot;roll&quot; left or right, I want to rotate the ship around the look axis of the ship itself, but with this method it will only rotate around (0, 0, 1).<br />
<br />
Basically, what methods can I use to maintain a look, right, and up axis that stay aligned with the object in question and never revert to default so that I can rotate around them at will?<br />
<br />
EDIT: Actually, to be more precise, this method will rotate properly around the look axis I want, but only because it does roll last after the look axis is already fully finished by the yaw and pitch rotations. Pitch rotates around a half formed right axis, and yaw rotates around the default (0, 1, 0) up axis.</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=12">DirectX</category>
			<dc:creator>Zerocyde</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324099</guid>
		</item>
		<item>
			<title>Macro trigger</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324096&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 10:44:47 GMT</pubDate>
			<description>Hi, 
 
how do a start my macro to allow it to trigger in outlook when the usser send or acept an appointment? 
 
thank you 
v</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
how do a start my macro to allow it to trigger in outlook when the usser send or acept an appointment?<br />
<br />
thank you<br />
v</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=116">Word, PowerPoint, Outlook, and Other Office Products</category>
			<dc:creator>Visvang</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324096</guid>
		</item>
		<item>
			<title>userform is displaying on other files</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324095&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 05:28:58 GMT</pubDate>
			<description>Hi,  
 
I have made a stopwatch on userform to measure the time  
 
Now the problem is when I am using this stop watch, it is keep displaying with all those excel files till the time I am not closing main excel file which it belongs. 
 
I want it to run with main file not with other file which does...</description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
I have made a stopwatch on userform to measure the time <br />
<br />
Now the problem is when I am using this stop watch, it is keep displaying with all those excel files till the time I am not closing main excel file which it belongs.<br />
<br />
I want it to run with main file not with other file which does not belong it because I have to move it here and there as it hides their cells,column and row.<br />
<br />
1) This is the macro I have on &quot;SHEET 1&quot;<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Private Sub CommandButton1_Click()<br />
&nbsp; Timer<br />
&nbsp; If ActiveCell.Column &lt;&gt; 5 Then Exit Sub<br />
&nbsp; ActiveCell = Time<br />
End Sub<br />
<br />
Private Sub CommandButton5_Click()<br />
&nbsp; StopCycle<br />
&nbsp; UserForm1.Label1.Caption = Format(0, &quot;h:mm:ss&quot;)<br />
&nbsp; Counter = 0<br />
&nbsp; If ActiveCell.Column &lt;&gt; 5 Then Exit Sub<br />
&nbsp; ActiveCell = Time<br />
End Sub<br />
<br />
Private Sub commandButton4_click()<br />
&nbsp; Timer<br />
&nbsp; If ActiveCell.Column &lt;&gt; 4 Then Exit Sub<br />
&nbsp; ActiveCell = Time<br />
End Sub</code><hr />
</div>2) This is the macro coding which I have on UserForm under Forms<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Private Sub CommandButton1_Click()<br />
&nbsp; Load UserForm1<br />
&nbsp; Application.WindowState = xlMinimized<br />
&nbsp; UserForm1.Show<br />
End Sub<br />
<br />
Private Sub CommandButton2_Click()<br />
&nbsp; Application.WindowState = xlMaximized<br />
End Sub</code><hr />
</div>3) This is the macro coding which I have on Modules<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Public RunPause As Boolean<br />
Public RunWhen As Double<br />
Public RunWhen2 As Double<br />
Dim StrtTime As Date<br />
Dim Counter As Date<br />
<br />
Sub Timer()<br />
&nbsp; Counter = 0<br />
&nbsp; StrtTime = Now<br />
&nbsp; RunWhen = Now + TimeSerial(0, 0, 1)<br />
&nbsp; Application.OnTime RunWhen, &quot;StartCycle&quot;, , True<br />
End Sub<br />
<br />
Sub StartCycle()<br />
&nbsp; Counter = Now - StrtTime<br />
&nbsp; UserForm1.Label1.Caption = Format(Counter, &quot;h:mm:ss&quot;)<br />
&nbsp; RunWhen = Now + TimeSerial(0, 0, 1)<br />
&nbsp; Application.OnTime RunWhen, &quot;StartCycle&quot;, , True<br />
End Sub<br />
<br />
Sub StopCycle()<br />
&nbsp; On Error Resume Next<br />
&nbsp; Application.OnTime RunWhen, &quot;StartCycle&quot;, , False<br />
End Sub<br />
<br />
Sub CloseBook()<br />
&nbsp; StopCycle<br />
End Sub<br />
<br />
Sub LoadForm()<br />
&nbsp; UserForm1.Show vbModeless<br />
End Sub</code><hr />
</div>there is no problem in code . Problem is that when codes runs then it provides me something which i do not want. i want when i click on sheet 1 command button then user form should appear on the excel file which contain macro coding and it should not open on those excel files, which does not belong it . Those excel made without coding for other purposes. User form must not appear on these files. <br />
<br />
Please tell me what should I do? Or provide me any other code or excel file with example if possible. Thanks buddy <br />
<br />
<br />
Please let me know what changes I need to make in coding.<br />
Any help would be great. <br />
<br />
Thanks in advance!!<br />
<br />
Regards,<br />
Bittu</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=78">Excel</category>
			<dc:creator>bittu2010</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324095</guid>
		</item>
		<item>
			<title>Trouble with Binary Read</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324094&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 01:35:25 GMT</pubDate>
			<description><![CDATA[My program saves the contents of a listbox to file but when 
i go to read it back into the listbox, it only goes through a FOR 
Loop, 1 time when it should be going through it 60 times. It 
doesn't even make it to the FileClose statement. It some how 
jumps right out of the loop and exits the sub,...]]></description>
			<content:encoded><![CDATA[<div>My program saves the contents of a listbox to file but when<br />
i go to read it back into the listbox, it only goes through a FOR<br />
Loop, 1 time when it should be going through it 60 times. It<br />
doesn't even make it to the FileClose statement. It some how<br />
jumps right out of the loop and exits the sub, without closing<br />
the file. Here is what i got:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"> Dim file_num As Integer = FreeFile()<br />
&nbsp;Dim listcount As Integer<br />
&nbsp;Dim imgIndex As Integer<br />
&nbsp;Dim lstName As String<br />
&nbsp;Dim i As Integer<br />
<br />
&nbsp;' Read file back into listbox<br />
&nbsp; &nbsp; &nbsp; &nbsp; If My.Computer.FileSystem.FileExists(Application.StartupPath &amp; &quot;\lstFileData.dat&quot;) Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Open the file <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FileOpen(file_num, Application.StartupPath &amp; &quot;\lstFileData.dat&quot;, OpenMode.Binary, OpenAccess.Read)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Get the listbox item count<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FileGet(file_num, listcount)' &lt;-I put a msgbox here. It gives me right number<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For i = 0 To listcount - 1<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Get the image index used for the listbox image<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FileGet(file_num, imgIndex) '&lt;-I put msgbox here. I get first number.<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Get the listbox item text<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FileGet(file_num, lstName.ToString)'&lt;-Put msgbox here. Get blank<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ' Msgbox doesn't make it this far for some reason. It jumps<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ' out of the loop and exits the sub, without closing the file.<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  lstFiles.Items.Add(lstName.ToString)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  MsgBox(&quot;Made it this far&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lstFiles.ItemImage(i).ImageIndex = imgIndex<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Next<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FileClose(file_num)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox(&quot;File Closed&quot;) '&lt;-Code doesn't make it this far.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '&nbsp;  lstFiles.Refresh()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If</code><hr />
</div>I checked the save routine and it is saving everything that i want it to.<br />
<br />
In case you want to see it, here it is:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
&nbsp;Dim file_num As Integer = FreeFile()<br />
<br />
&nbsp; ' Write new file<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FileOpen(file_num, Application.StartupPath &amp; &quot;\lstFileData.dat&quot;, OpenMode.Binary, OpenAccess.Write)<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FilePut(file_num, lstFiles.Items.Count)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For i As Integer = 0 To lstFiles.Items.Count - 1<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' In case your wondering, i have a user drawn listbox<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ' that holds an icon beside each item in the listbox.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ' I need to keep track of the index number of the icon<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ' that is stored in an imagelistbox.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FilePut(file_num, lstFiles.ItemImage(i).ImageIndex)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FilePut(file_num, lstFiles.Items(i).ToString)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Next<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FileClose(file_num)</code><hr />
</div>The listbox has 60 items in it and when saving, it is saving everything.</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=106">.NET File I/O and Registry</category>
			<dc:creator>VB_Alien</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324094</guid>
		</item>
		<item>
			<title>Crosstab Query with Multiple Value Fields - Access</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324093&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 21:15:01 GMT</pubDate>
			<description>My background: I used to use Access and VBA frequently about 4 years ago.  I have general knowledge of how things work but have forgotten the specifics.  Wondering if you guys could point me in the right direction... 
 
My problem:  I would like to generate a crosstab query that reports multiple...</description>
			<content:encoded><![CDATA[<div>My background: I used to use Access and VBA frequently about 4 years ago.  I have general knowledge of how things work but have forgotten the specifics.  Wondering if you guys could point me in the right direction...<br />
<br />
My problem:  I would like to generate a crosstab query that reports multiple values.  For example,  I have a Table with 4 fields, [Date] [Crew] [JobNum]  and [Tons].  I would like to have the [Date] be grouped for the columns, showing a standard week.  Then have the [Crew] grouped for the rows, call them A, B, and C values.   I would like to show the values of [JobNum] and [Tons] for that crew and date.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp;  5/15&nbsp; &nbsp; &nbsp; &nbsp; 5/16<br />
A&nbsp;  #123&nbsp; &nbsp; &nbsp;  #123<br />
&nbsp; &nbsp;  15 tons&nbsp;  20 tons<br />
<br />
B&nbsp;  #234&nbsp; &nbsp; &nbsp;  #123<br />
&nbsp; &nbsp;  10 tons&nbsp; &nbsp; 5 tons<br />
<br />
C&nbsp;  #345&nbsp; &nbsp; &nbsp;  #345<br />
&nbsp; &nbsp;  20 tons&nbsp; &nbsp; 10 tons</code><hr />
</div>Any ideas on how to achieve this?  I come very close but no cigar.  Thanks in advance.</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=16">Database and Reporting</category>
			<dc:creator>Rodan2000</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324093</guid>
		</item>
		<item>
			<title>Testing a Windows service</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324091&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 17:53:20 GMT</pubDate>
			<description>Hi folks, 
 
Two quick questions:  
 
1. when testing a service, should I install the exe which is in the bin subfolder or the obj subfolder, and why? 
2. when distributing the service, should I use the exe which is in the bin subfolder or the obj subfolder, and why? 
 
Thanks!!!</description>
			<content:encoded><![CDATA[<div>Hi folks,<br />
<br />
Two quick questions: <br />
<br />
1. when testing a service, should I install the exe which is in the bin subfolder or the obj subfolder, and why?<br />
2. when distributing the service, should I use the exe which is in the bin subfolder or the obj subfolder, and why?<br />
<br />
Thanks!!!</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=98">.NET General</category>
			<dc:creator>Mike</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324091</guid>
		</item>
		<item>
			<title>PDFbox - text area</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324090&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 17:22:13 GMT</pubDate>
			<description>Hi 
 
I am using vb.net 2008 and working in a windows form with PDFBox. 
 
I am able to extract text from the PDF doc but I am interested in extracting text from an area, using the PDFTextStripperByArea class. 
 
I am not able to find an example of this class in vb.net and have been unable to...</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
I am using vb.net 2008 and working in a windows form with PDFBox.<br />
<br />
I am able to extract text from the PDF doc but I am interested in extracting text from an area, using the PDFTextStripperByArea class.<br />
<br />
I am not able to find an example of this class in vb.net and have been unable to convert any other code or get it to work.<br />
<br />
Does anyone have any example code that they could share?<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=98">.NET General</category>
			<dc:creator>nomaam</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324090</guid>
		</item>
		<item>
			<title>How to close a pop up window in IE</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324089&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 17:18:13 GMT</pubDate>
			<description>hello I want to close a pop up window for example: in this link (http://www.buy.com/prod/apple-macbook-pro-md313ll-a-13-3-led-notebook-intel-core-i5-2-40-ghz/225924289.html) when I click on the picture on the left, a pop up window appears, so I want to close it but the window has no handle 
any...</description>
			<content:encoded><![CDATA[<div>hello I want to close a pop up window for example: in this <a href="http://www.buy.com/prod/apple-macbook-pro-md313ll-a-13-3-led-notebook-intel-core-i5-2-40-ghz/225924289.html" target="_blank">link</a> when I click on the picture on the left, a pop up window appears, so I want to close it but the window has no handle<br />
any idea?</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=7">General</category>
			<dc:creator>yossi321</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324089</guid>
		</item>
		<item>
			<title>text box height</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324088&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 14:21:10 GMT</pubDate>
			<description>Greetings All, 
 
I am adding some content to a 6 page form and on page 2 and page 3 all my textboxes want to have 26 for a height. I try to change them and they revert to 26. I can change the length to whatever I want but the height for all the textboxes is stuck.  
 
The textboxes on the first...</description>
			<content:encoded><![CDATA[<div>Greetings All,<br />
<br />
I am adding some content to a 6 page form and on page 2 and page 3 all my textboxes want to have 26 for a height. I try to change them and they revert to 26. I can change the length to whatever I want but the height for all the textboxes is stuck. <br />
<br />
The textboxes on the first page are fine I can change them to any height I choose<br />
<br />
Ideas?<br />
<br />
Thanks!</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=98">.NET General</category>
			<dc:creator>Matanic</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324088</guid>
		</item>
		<item>
			<title>Beginner: Reversing Calculations</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324084&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 07:49:17 GMT</pubDate>
			<description><![CDATA[I'm an absolute beginner and today would be my 5th day of self teaching VB, so please try explaining in simple terms.  
 
I wrote a program to assist me with game crafting (not a bot, a calculator). 
 
Basically what this program does is : 
1. Calculate the amount of XP needed from one crafting...]]></description>
			<content:encoded><![CDATA[<div>I'm an absolute beginner and today would be my 5th day of self teaching VB, so please try explaining in simple terms. <br />
<br />
I wrote a program to assist me with game crafting (not a bot, a calculator).<br />
<br />
Basically what this program does is :<br />
1. Calculate the amount of XP needed from one crafting level to another<br />
2. Calculate the number of crafts needed to reach that level<br />
3. Calculate the amounts of materials needed to reach that level.<br />
<br />
in the previous parts known variables are: starting level, end level (desired level), recipe level (the level if the item i'm crafting, as the experience goes down the more difference there is between current level and the recipe level), and up to 7 items used in ingredients.<br />
<br />
Unknown variables are: total xp needed, number of crafts, total amount of items<br />
<br />
The previous 3 parts produce correct results. I'm planning to add a 4rth part that calculates the level you would reach if you have a specific total number of items.<br />
known variables would be: start level, craft(recipe) level, number of items (assuming I only use one item), number of crafts<br />
unknown variables: end level<br />
<br />
the program has: <br />
1. Total xp formula for a level (200x+100)<br />
2. An array that contains how much xp each craft would give me based on the difference between recipe level and current crafting level (example: If I use a level 10 recipe and my current crafting level is 25 the amount of xp I gain would be lvl(15))<br />
<br />
What's needed: I can't figure out how to enter the total number of items I have, starting level, and recipe level and then come up with a result that represents the max level I would reach with my given resources. <br />
(assume I only use &quot;i1&quot;). <br />
<br />
I have a feeling it might be nested loops but I'm not very experienced with that. Basically the outer loop would go up in levels until 0 crafts are left and the inner loop would keep subtracting xp until the amount of xp between two consecutive levels runs out. <br />
<br />
This is just what I logically think and it might not even be right and even if it is, I don't know how the formula would look. Thank you in advance.<br />
<br />
Here is the full code (&quot;ofitem&quot; is the total items I have, example: 500 iron):<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Public Class Form1<br />
<br />
&nbsp; &nbsp; Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim startlvl, endlvl, craftlvl, i1, i2, i3, i4, i5, i6, i7, ofitem As Integer<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim lvl(31) As Integer<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim i As Integer = 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim r As Integer = 2<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim totalxp As Integer<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim ncrafts As Integer = 0<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; While i &lt; 12<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lvl(i) = 200<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i = i + 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; End While<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(12) = 199<br />
&nbsp; &nbsp; &nbsp; &nbsp; i = 13<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; While i &lt; 19<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lvl(i) = 199 - (r)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i = i + 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; r = r + 2<br />
&nbsp; &nbsp; &nbsp; &nbsp; End While<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(19) = 131<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(20) = 116<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(21) = 100<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(22) = 84<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(23) = 69<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(24) = 55<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(25) = 41<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(26) = 30<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(27) = 19<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(28) = 11<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(29) = 5<br />
&nbsp; &nbsp; &nbsp; &nbsp; lvl(30)=1<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; startlvl = CInt(txtstart.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; endlvl = CInt(txtend.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; craftlvl = CInt(txtcraft.Text)<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; i1 = CInt(txt1.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; i2 = CInt(txt2.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; i3 = CInt(txt3.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; i4 = CInt(txt4.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; i5 = CInt(txt5.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; i6 = CInt(txt6.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; i7 = CInt(txt7.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ofitem = CInt(txtofitem.Text)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; totalxp = calculateXp(endlvl) - calculateXp(startlvl)<br />
&nbsp; &nbsp; &nbsp; &nbsp; lblxp.Text = &quot;Total XP: &quot; &amp; totalxp<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; i = 1<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; While startlvl &lt; endlvl<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ncrafts = ncrafts + ((calculateXp(startlvl + 1) - calculateXp(startlvl)) / lvl(i))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i = i + 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; startlvl = startlvl + 1<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; End While<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; lblncrafts.Text = &quot;Number of crafts: &quot; &amp; ncrafts<br />
&nbsp; &nbsp; &nbsp; &nbsp; lblnmaterials.Text = &quot;You need &quot; &amp; i1 * ncrafts &amp; &quot; of item1 &quot; &amp; vbCrLf &amp; &quot;You need &quot; &amp; i2 * ncrafts &amp; &quot; of item2 &quot; &amp; vbCrLf &amp; &quot;You need &quot; &amp; i3 * ncrafts &amp; &quot; of item3 &quot; &amp; vbCrLf &amp; &quot;You need &quot; &amp; i4 * ncrafts &amp; &quot; of item4 &quot; &amp; vbCrLf &amp; &quot;You need &quot; &amp; i5 * ncrafts &amp; &quot; of item5 &quot; &amp; vbCrLf &amp; &quot;You need &quot; &amp; i6 * ncrafts &amp; &quot; of item6 &quot; &amp; vbCrLf &amp; &quot;You need &quot; &amp; i7 * ncrafts &amp; &quot; of item7&quot;<br />
<br />
<br />
&nbsp; &nbsp; End Sub<br />
&nbsp; &nbsp; Private Function calculateXp(ByVal level As Integer)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim i As Integer<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim total As Integer<br />
&nbsp; &nbsp; &nbsp; &nbsp; i = 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; total = 0<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; While i &lt;= level<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total = total + (i * 200) + 100<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i += 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; End While<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Return total<br />
<br />
&nbsp; &nbsp; End Function<br />
<br />
<br />
<br />
End Class</code><hr />
</div></div>


	<br />
	<div style="padding:4px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.xtremevbtalk.com/x_images/images/attach/png.gif" alt="File Type: png" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.xtremevbtalk.com/attachment.php?attachmentid=32425&amp;d=1337068133" target="_blank">crafting.PNG</a> (12.0 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=98">.NET General</category>
			<dc:creator>amused00</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324084</guid>
		</item>
		<item>
			<title>save webform checkbox values into tables</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324083&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 07:35:20 GMT</pubDate>
			<description><![CDATA[Hi 
 
I'm new in programming i created a form with some dropdownlist  some textboxes and some checkedboxes and i want to save the values and selections into sql tables how can i do that?]]></description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
I'm new in programming i created a form with some dropdownlist  some textboxes and some checkedboxes and i want to save the values and selections into sql tables how can i do that?</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=114">ASP.Net</category>
			<dc:creator>nicolascy78</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324083</guid>
		</item>
		<item>
			<title>Game Movement by Rotation direction</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324082&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 05:52:04 GMT</pubDate>
			<description><![CDATA[Okay so basically i'm trying to move the Player by rotation. 
 
I have a perfect rotation system that works with a custom picturebox control that supports rotation that i have. 
 
I'm completely stuck on this and i have no idea where i'd even start with the math behind it. Thanks in advance for...]]></description>
			<content:encoded><![CDATA[<div>Okay so basically i'm trying to move the Player by rotation.<br />
<br />
I have a perfect rotation system that works with a custom picturebox control that supports rotation that i have.<br />
<br />
I'm completely stuck on this and i have no idea where i'd even start with the math behind it. Thanks in advance for help!</div>


	<br />
	<div style="padding:4px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.xtremevbtalk.com/x_images/images/attach/png.gif" alt="File Type: png" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.xtremevbtalk.com/attachment.php?attachmentid=32424&amp;d=1337061104" target="_blank">7e814827e0c1f4f8ef60d4b9b62d6c4e.png</a> (37.5 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=100">.NET Game Programming</category>
			<dc:creator>Pathogenix</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324082</guid>
		</item>
		<item>
			<title>OpenText method: columns problem</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=324081&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 05:08:41 GMT</pubDate>
			<description><![CDATA[I’m using Excel 2010 and have come across a problem using the WorkBooks.OpenText method to open a certain file.  
Opening the file manually (going through the Import Text Wizard) is no problem. The file looks like the first attachment ("Wizard Open.png") after doing so. However when I use OpenText...]]></description>
			<content:encoded><![CDATA[<div>I’m using Excel 2010 and have come across a problem using the WorkBooks.OpenText method to open a certain file. <br />
Opening the file manually (going through the Import Text Wizard) is no problem. The file looks like the first attachment (&quot;Wizard Open.png&quot;) after doing so. However when I use OpenText it ends up looking like the second attachment (&quot;OpenText.png&quot;).<br />
Instead of putting the data into columns according to the delimiter (,) it seems to have put a single character into each of the first 9 columns and everything else into the 10th. Has anyone ever seen anything like this before, any idea what is causing it? Here is the code I am using:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Sub OpenTextTest()<br />
&nbsp; &nbsp; Dim FieldInfoArray(1 To 10, 1 To 2) As Integer<br />
&nbsp; &nbsp; Dim Index As Integer<br />
<br />
&nbsp; &nbsp; For Index = 1 To UBound(FieldInfoArray, 1)<br />
&nbsp; &nbsp; &nbsp; &nbsp; FieldInfoArray(Index, 1) = Index<br />
&nbsp; &nbsp; &nbsp; &nbsp; FieldInfoArray(Index, 2) = 2<br />
&nbsp; &nbsp; Next Index<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; Workbooks.OpenText Filename:=&quot;c:\OpenTextData.txt&quot;, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Comma:=True, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  FieldInfo:=FieldInfoArray, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  TextQualifier:=xlTextQualifierDoubleQuote<br />
End Sub</code><hr />
</div></div>


	<br />
	<div style="padding:4px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.xtremevbtalk.com/x_images/images/attach/png.gif" alt="File Type: png" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.xtremevbtalk.com/attachment.php?attachmentid=32422&amp;d=1337058710" target="_blank">Wizard Open.png</a> (5.1 KB)</td>
</tr><tr>
	<td><img class="inlineimg" src="http://www.xtremevbtalk.com/x_images/images/attach/png.gif" alt="File Type: png" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.xtremevbtalk.com/attachment.php?attachmentid=32423&amp;d=1337058762" target="_blank">OpenText.png</a> (23.4 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=78">Excel</category>
			<dc:creator>Ray12354</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=324081</guid>
		</item>
	</channel>
</rss>

