<?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>Sat, 25 May 2013 16:52:18 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>psd files</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325974&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 14:49:42 GMT</pubDate>
			<description><![CDATA[I'm trying to print different files on a Sato M-840Pro 600dpi printer - they are all .psd files. I've looked around and didn't come across any way to print the file through vb, unfortunately. What I'd like to know is - is it possible to open up the program(gimp) with vb and send the print command...]]></description>
			<content:encoded><![CDATA[<div>I'm trying to print different files on a Sato M-840Pro 600dpi printer - they are all .psd files. I've looked around and didn't come across any way to print the file through vb, unfortunately. What I'd like to know is - is it possible to open up the program(gimp) with vb and send the print command through gimp?</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=108">.NET Interface and Graphics</category>
			<dc:creator>_Nikkiz_</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325974</guid>
		</item>
		<item>
			<title>Dll calling in VB.</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325972&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 02:34:12 GMT</pubDate>
			<description><![CDATA[Dear friends, 
Iam new to this VB codes. 
Objective is to make a OCR. 
I tried it with dll files from www.asprise.com. 
 
The following is my code 
it gives output "runtime error 49" and "Bad dll call convention" 
need your suggestions. 
 
Private Declare Function OCRBarCodes Lib...]]></description>
			<content:encoded><![CDATA[<div>Dear friends,<br />
Iam new to this VB codes.<br />
Objective is to make a OCR.<br />
I tried it with dll files from <a href="http://www.asprise.com" target="_blank">www.asprise.com</a>.<br />
<br />
The following is my code<br />
it gives output &quot;runtime error 49&quot; and &quot;Bad dll call convention&quot;<br />
need your suggestions.<br />
<br />
Private Declare Function OCRBarCodes Lib &quot;C:\WINDOWS\system32\AspriseOCR.dll&quot; (ByVal file As String, ByVal imageType As Long) As String<br />
Private Declare Function OCRpart Lib &quot;AspriseOCR.dll&quot; (ByVal file As String, ByVal imageType As Long, ByVal startX As Long, ByVal startY As Long, ByVal width As Long, ByVal height As Long) As String<br />
Private Declare Function OCR Lib &quot;AspriseOCR.dll&quot; (ByVal file As String, ByVal imageType As Long) As String<br />
Private Sub Command1_Click()<br />
<br />
Dim ret As Long<br />
ret = OCR(&quot;D:\untitled.bmp&quot;, -1)<br />
End Sub<br />
<br />
<br />
Thanks in advance.<br />
PRANESH</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=15">API</category>
			<dc:creator>praneshkumarpj</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325972</guid>
		</item>
		<item>
			<title>excel if statement (multiple choice and population)</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325971&amp;goto=newpost</link>
			<pubDate>Thu, 23 May 2013 15:30:26 GMT</pubDate>
			<description>Hi, I would hope there is an easy way to do this but I sem to be getting bogged down and going round and round and getting nowhere 
 
Basically I have a spreadsheet say five columns wide, column five holds a value and columns one to four are blank,  
 
I want to enter a date in column 1 and have...</description>
			<content:encoded><![CDATA[<div>Hi, I would hope there is an easy way to do this but I sem to be getting bogged down and going round and round and getting nowhere<br />
<br />
Basically I have a spreadsheet say five columns wide, column five holds a value and columns one to four are blank, <br />
<br />
I want to enter a date in column 1 and have the value entered in five copied to column 3, that bit I can manage but when I enter a date in column 2 I want the value held in column five copied to column 4 and column three to be returned to a blank value<br />
<br />
Surely this is possible but I'm at a loss how to do it, can anyone help<br />
<br />
regards, Colin<br />
<br />
Don't know if this will explian it better<br />
<br />
Date1(a)  Date2(b)   Value1(c)   Value2(d)    MainValue(e)<br />
<br />
The if statement I've got in (c)<br />
=IF(AND(ISBLANK(B2)=FALSE),E2,&quot;&quot;)<br />
<br />
And in (d)<br />
=IF(AND(ISBLANK(A2)=FALSE),E2,&quot;&quot;)<br />
<br />
All I need to do is check if a value is in B2 and populate C2 with E2 value as it does but then set D2 to a null value or 0</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=78">Excel</category>
			<dc:creator>evanscolin</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325971</guid>
		</item>
		<item>
			<title>Use ErrorProvider with Custom Control?</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325970&amp;goto=newpost</link>
			<pubDate>Thu, 23 May 2013 15:04:11 GMT</pubDate>
			<description>I am using VB 2010. 
 
This is my goal. I have made a custom control textbox. Management likes it when we use the ErrorProvider because it traps the user in the textbox until they enter the right stuff. Also, there is a blinking exclamation point next to the textbox that they seem to like. 
 
My...</description>
			<content:encoded><![CDATA[<div>I am using VB 2010.<br />
<br />
This is my goal. I have made a custom control textbox. Management likes it when we use the ErrorProvider because it traps the user in the textbox until they enter the right stuff. Also, there is a blinking exclamation point next to the textbox that they seem to like.<br />
<br />
My question is, how can I combine the ErrorProvider with a custom control?</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=108">.NET Interface and Graphics</category>
			<dc:creator>RM33</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325970</guid>
		</item>
		<item>
			<title>Calling a function, click a link using VBA</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325969&amp;goto=newpost</link>
			<pubDate>Thu, 23 May 2013 11:31:22 GMT</pubDate>
			<description><![CDATA[Hi 
I wonder if someone might know this: 
I want to get an excel file from an IE page and open it and use it in excel. The page has a database and allows, by clicking, to “export data as excel”. 
I am creating an IE object using  “CreateObject("InternetExplorer.Application")” 
I am facing two...]]></description>
			<content:encoded><![CDATA[<div>Hi<br />
I wonder if someone might know this:<br />
I want to get an excel file from an IE page and open it and use it in excel. The page has a database and allows, by clicking, to “export data as excel”.<br />
I am creating an IE object using  “CreateObject(&quot;InternetExplorer.Application&quot;)”<br />
I am facing two problems:<br />
1.	I have no idea how to click the link. cant see an “ID” so I cant use GetElementByID<br />
2.	The click calls a function and I have no idea how to use vba to get it to work and neither how to get the object of the workbook it exports <br />
This is the HTML to click (The function is ExcelBondSearchResults):<br />
&lt;div style=&quot;font-weight:bold; border-bottom: 3px solid #95A6B7;&quot;&gt;<br />
&lt;span class=&quot;exelIcon&quot; onclick=&quot;ExcelBondSearchResults()&quot; style=&quot;margin-top:-5px&quot;&gt;EXPORT&lt;/span&gt;<br />
&lt;/div&gt;<br />
<br />
Many Thanks<br />
Manny</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=78">Excel</category>
			<dc:creator>manny123</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325969</guid>
		</item>
		<item>
			<title>Late Binding</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325967&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 11:48:47 GMT</pubDate>
			<description><![CDATA[I am writting an app which makes use of automation (Excel) but I'm plagued with late binding warnings and I'm struggling to understand how to fix them. Could someone please tech me how to re-write the example code below so it doesn't give me late binding warnings, currently every line does (except...]]></description>
			<content:encoded><![CDATA[<div>I am writting an app which makes use of automation (Excel) but I'm plagued with late binding warnings and I'm struggling to understand how to fix them. Could someone please tech me how to re-write the example code below so it doesn't give me late binding warnings, currently every line does (except the dim's and with / end with) - thanks.<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 MyTemplate As New Excel.Worksheet<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim ChartPage As New Excel.Chart<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; MyTemplate.Cells(2, 2).Value = &quot;Some String&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; ChartPage.Axes(Excel.XlAxisType.xlCategory).HasTitle = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; ChartPage.ChartGroups(1).Overlap = -100<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; With MyTemplate.Cells(1, 1)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .HorizontalAlignment = Excel.XlHAlign.xlHAlignLeft<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Font.Size = 11<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Font.Name = &quot;Calibri&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Font.Color = ColorTranslator.ToOle(Color.Blue)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Font.Bold = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Value = &quot;Some String&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; End With</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=105">.NET Office Automation</category>
			<dc:creator>CodeAdze</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325967</guid>
		</item>
		<item>
			<title>SQL statement with variables in it?</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325966&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 04:42:25 GMT</pubDate>
			<description><![CDATA[So, I am doing some SQL statements to update some things in an access database. Like This: 
 
UPDATE NOTES SET mydata = '" & thisdata & "'....... 
 
I have used a variable in place of thisdata before. However, I have never used a variable in the place mydata. In other words, I want to be able to...]]></description>
			<content:encoded><![CDATA[<div>So, I am doing some SQL statements to update some things in an access database. Like This:<br />
<br />
UPDATE NOTES SET mydata = '&quot; &amp; thisdata &amp; &quot;'.......<br />
<br />
I have used a variable in place of thisdata before. However, I have never used a variable in the place mydata. In other words, I want to be able to assign a value to the variable mydata and use this in the SQL statement to show which column I want to edit. Is this possible?</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=107">.NET Database and Reporting</category>
			<dc:creator>bonedoc</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325966</guid>
		</item>
		<item>
			<title>Need a VBA Function/Sub to find a cell value based on Row and Column ID.</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325965&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 15:43:26 GMT</pubDate>
			<description>In the example below I need to select the value where East and RT3 intersect which is 80 
               A   B   C   D   E 
1   null    RT1 RT2 RT3 RT4 
2   North   31  40  78  11 
3   South   32  41  79  12 
4   East    33  42  80  13 
5   West    34  43  81  14  
 
Here is what I have so far, but...</description>
			<content:encoded><![CDATA[<div>In the example below I need to select the value where East and RT3 intersect which is 80<br />
               A   B   C   D   E<br />
1   null    RT1 RT2 RT3 RT4<br />
2   North   31  40  78  11<br />
3   South   32  41  79  12<br />
4   East    33  42  80  13<br />
5   West    34  43  81  14 <br />
<br />
Here is what I have so far, but when I call the function I get a compile error<br />
<br />
Function getcell (ct as string, rt as string) as range<br />
<br />
    With activesheet<br />
        R = .columns(&quot;A&quot;).find(rt).row<br />
        C = .rows(&quot;1&quot;).find(ct).Column<br />
        'The below will escape the function if none where found<br />
        If r = nothing or c = nothing then exit function<br />
        Set getcell = .cells(r, c)<br />
    End with<br />
<br />
End function</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=78">Excel</category>
			<dc:creator>Herrtodd</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325965</guid>
		</item>
		<item>
			<title>VBA Database connections fail on 64-bit Win7</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325964&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 20:48:15 GMT</pubDate>
			<description>I loaded the latest version of Autodesk inventor today. 
 
The rumor is that VBA is now 64b-bit in the 2014 version 
 
Indeed when I fire up my 64-bit pc and load Inventor 2014. 
My VBA code crashes on any database connection when I use the Open() command. 
 
Autodesk is becoming less and less...</description>
			<content:encoded><![CDATA[<div>I loaded the latest version of Autodesk inventor today.<br />
<br />
The rumor is that VBA is now 64b-bit in the 2014 version<br />
<br />
Indeed when I fire up my 64-bit pc and load Inventor 2014.<br />
My VBA code crashes on any database connection when I use the Open() command.<br />
<br />
Autodesk is becoming less and less responsive to programming issues.<br />
I know they had a large layoff not long ago.<br />
<br />
I am trying to connect to Access via Jet 4.0 and MAS 200 via a DSN.<br />
Access just says it cannot find the driver.  MAS says there is an architecture mismatch between the driver and the app.<br />
<br />
The latter error led me to some help that talks about SysWow64, but I am in the dark as to what I need to do.<br />
<br />
Version 2011 has no such issues.  I have both versions installed on the same 64 bit PC.</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=116">Word, PowerPoint, Outlook, and Other Office Products</category>
			<dc:creator>Gruff</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325964</guid>
		</item>
		<item>
			<title>Removing the lines</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325961&amp;goto=newpost</link>
			<pubDate>Sun, 19 May 2013 15:42:39 GMT</pubDate>
			<description>I have these platform tiles that have green lines 
running through them and i was wondering if anyone 
knew of a way to clean it up a little?</description>
			<content:encoded><![CDATA[<div>I have these platform tiles that have green lines<br />
running through them and i was wondering if anyone<br />
knew of a way to clean it up a little?</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=33246&amp;d=1368978139" target="_blank">PlatFormTiles1.png</a> (393.8 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=25">Tech Discussions</category>
			<dc:creator>VB_Alien</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325961</guid>
		</item>
		<item>
			<title>Duplex Printing Excel Sheet from VB.Net</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325960&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 20:31:58 GMT</pubDate>
			<description>Hi All, 
 
I believe I have posted this thread in the correct place. I have a major problem to be solved. I have been develeoping excel automation application. Getting some inputs and combining with databases and writing all to the excel sheets. Up to this point everything goes smoothly. My problem...</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I believe I have posted this thread in the correct place. I have a major problem to be solved. I have been develeoping excel automation application. Getting some inputs and combining with databases and writing all to the excel sheets. Up to this point everything goes smoothly. My problem arises when I want to print sheets from a printer which can duplex print. I have been searching forums and websites for weeks trying to find a feasible solution, and up to now It is all in vane. I have to print some sheets as simplex and some of them to be duplex. I tried setting duplex value of the printer from Printer.Settings by setting print.document to my workbook. I need a single tip or any suggestion to start working on the issue. I can print simplex sheets with no problem. However, I have no clue how to pirnt dublex. Many threads state it to be solved from Windows API or some modules to be used. <br />
Please help me with this asmy hopes are melting away day by day.</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=105">.NET Office Automation</category>
			<dc:creator>ew03</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325960</guid>
		</item>
		<item>
			<title>Removal of any column in text file</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325959&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 15:44:50 GMT</pubDate>
			<description><![CDATA[Can any one help me, I have to remove a selected column in a text file 
How to do this using VB6, I have tried with some of the available codes 
with no success. 
 
the file contents is as below: 
(remove all '0' in the 9th column, remove 'E' in the 7th column) 
...]]></description>
			<content:encoded><![CDATA[<div>Can any one help me, I have to remove a selected column in a text file<br />
How to do this using VB6, I have tried with some of the available codes<br />
with no success.<br />
<br />
the file contents is as below:<br />
(remove all '0' in the 9th column, remove 'E' in the 7th column)<br />
<br />
No	ABNo	ScNo	Name		AMNo	Make	EN/EXT	Backenter	abcdefg	DateTime<br />
1	1	00000001		1	1	E	0	0	2013-05-13  15:00:17<br />
2	1	00000001		1	1	E	0	0	2013-05-13  15:00:19<br />
3	1	00000001		1	1	E	0	0	2013-05-13  15:00:23<br />
4	1	00000001		1	1	E	0	0	2013-05-13  15:00:44</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=116">Word, PowerPoint, Outlook, and Other Office Products</category>
			<dc:creator>sneha</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325959</guid>
		</item>
		<item>
			<title>Common Progress Bar for multiple functions in a single class</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325958&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 13:58:17 GMT</pubDate>
			<description><![CDATA[Hi. 
I have a class "MachineServer" that enables and controls communications with a factory machine, the way it works strange as it may seem is not for me to change or ask why! I can add to the code but only to make UI better. Not the functionality or the defined interface as it has to work with...]]></description>
			<content:encoded><![CDATA[<div>Hi.<br />
I have a class &quot;MachineServer&quot; that enables and controls communications with a factory machine, the way it works strange as it may seem is not for me to change or ask why! I can add to the code but only to make UI better. Not the functionality or the defined interface as it has to work with other software.<br />
<br />
Note this does not stop the use of &quot;optional&quot; and associated  &quot;default = NULL&quot;  in the parameters<br />
<br />
The Class once initiated by the main form application, works by running in a timer initiated subroutine scenario.<br />
Basically if I make a call and set a &quot;property&quot; within the &quot;MachineServer&quot; class this then starts the relative timer within the property routine.<br />
This timer event when fired initiates the corresponding subroutine within the same class or subclass thereof.<br />
<br />
The &quot;MachineServer&quot;  class gets defined and becomes an object only once in the main code.<br />
<br />
The problem I have is that I am trying to incorporate a single progress bar that can be controlled by the numerous subroutines within this &quot;MachineServer&quot; class.<br />
<br />
I understand the normal and basic way of creating the background worker and feeding back the events to the progress bar.<br />
<br />
My question to you experienced engineers - is how do I best go about solving this problem with a single Class, single progress bar and multiple subroutines that require user feedback through the single progress bar?<br />
<br />
My first thought was to make the whole class a backgroundworker, but would this be feasible? Plus how would the multiple subroutines control the displaying of the single progress bar? <br />
My second thought was to create the progress bar in the main application and pass it into the main &quot;MachineServer&quot; Class as an optional parameter, then make the subroutine run as background process with events handled by the progress bar object?<br />
<br />
But then this all appears too too much, I appreciate any suggestions, thought  or ideas.<br />
<br />
Cheers Steve</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=98">.NET General</category>
			<dc:creator>calltronics</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325958</guid>
		</item>
		<item>
			<title>how to convert a Logaritmic Trendline formula into Excel VBA</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325957&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 16:22:47 GMT</pubDate>
			<description><![CDATA[Hello, 
 
As you can see in this tread in example 3, it is possible to convert a Polynomial trendlineformule into VBA code: 
 
http://www.xtremevbtalk.com/archive/index.php/t-232944.html 
 
 
*) 'Example 3 
Let myArr1 = Array(7, 24, 71, 160) 
Let myArr2 = Array(1, 2, 3, 4)]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
As you can see in this tread in example 3, it is possible to convert a Polynomial trendlineformule into VBA code:<br />
<br />
<a href="http://www.xtremevbtalk.com/archive/index.php/t-232944.html" target="_blank">http://www.xtremevbtalk.com/archive/.../t-232944.html</a><br />
<br />
<br />
*) 'Example 3<br />
Let myArr1 = Array(7, 24, 71, 160)<br />
Let myArr2 = Array(1, 2, 3, 4)<br />
Debug.Print Round(Evaluate(&quot;INDEX(LINEST({&quot; &amp; Join(myArr1, &quot;;&quot;) _<br />
&amp; &quot;},{&quot; &amp; Join(myArr2, &quot;;&quot;) &amp; &quot;}^{1,2,3}),1)&quot;), 8)<br />
<br />
<br />
Currently I am looking to convert a Logaritmic Trendline into VBA code with the Join Array method. The same as above. I tried a lot, although i did not succeed.<br />
<br />
So i am looking for the equations below (c and b) in VBA code:<br />
<br />
Logarithmic Trendline<br />
Equation: y = (c * LN(x)) + b<br />
c: =INDEX(LINEST(y,LN(x)),1)<br />
b: =INDEX(LINEST(y,LN(x)),1,2)<br />
<br />
Does anyone know how to do this?<br />
<br />
Thanks a lot!<br />
<br />
regards,<br />
Marcel</div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=78">Excel</category>
			<dc:creator>Marcel502</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325957</guid>
		</item>
		<item>
			<title>Problems converting old 32 bit app to windows 7 (access database)...</title>
			<link>http://www.xtremevbtalk.com/showthread.php?t=325956&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 13:13:34 GMT</pubDate>
			<description>About 7 years ago, I wrote a large program for my office in visual basic. It was back when we were using XP and the database is access. Well, we have gone to windows 7 and I am very confused as to how I can use my software on my windows 7 computer. I know that there are ways to run a program in XP...</description>
			<content:encoded><![CDATA[<div>About 7 years ago, I wrote a large program for my office in visual basic. It was back when we were using XP and the database is access. Well, we have gone to windows 7 and I am very confused as to how I can use my software on my windows 7 computer. I know that there are ways to run a program in XP mode. But, I would like to open my project back up and change a few things. <br />
<br />
I opened my old visual basic project in visual basic 2010 express, and allowed to to do the automatic conversion. Everything appears ok, but when I build the project, it appears to be crashing at my database setup lines. from what I have read, Access was built for 32 bits at the time and the new 64 bit stuff is crashing here. <br />
<br />
Can anyone tell me what may be going on, and what would be the easiest thing to do? Here is my database string:<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 conn As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn = &quot;Provider=Microsoft.Jet.OLEDB.4.0;Password=&quot;&quot;&quot;&quot;;User ID=Admin;Data Source=&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn += PMTRegistry.DatabasePath<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn += &quot;;Mode=Share Deny None;Extended Properties=&quot;&quot;&quot;&quot;;Jet OLEDB:System database=&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn += &quot;&quot;&quot;&quot;&quot;;Jet OLEDB:Registry Path=&quot;&quot;&quot;&quot;;Jet OLEDB:Database Password=&quot;&quot;&quot;&quot;;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn += &quot;Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn += &quot;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn += &quot;Jet OLEDB:New Database Password=&quot;&quot;&quot;&quot;;Jet OLEDB:Create System Database=False;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn += &quot;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn += &quot;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False&quot;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.xtremevbtalk.com/forumdisplay.php?f=98">.NET General</category>
			<dc:creator>bonedoc</dc:creator>
			<guid isPermaLink="true">http://www.xtremevbtalk.com/showthread.php?t=325956</guid>
		</item>
	</channel>
</rss>
