<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Launch/Open an MS Access Database Using a VBScript &#8211; Part 2	</title>
	<atom:link href="https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/</link>
	<description>MS Access &#38; MS Office Help, Tutorials, Samples and more ...</description>
	<lastBuildDate>Sun, 20 Nov 2022 12:06:27 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Daniel Pineault		</title>
		<link>https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-6356</link>

		<dc:creator><![CDATA[Daniel Pineault]]></dc:creator>
		<pubDate>Thu, 30 Sep 2021 18:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.devhut.net/?p=337#comment-6356</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-6352&quot;&gt;swed&lt;/a&gt;.

Simply update the sSec  variable with the name of your mdw file.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-6352">swed</a>.</p>
<p>Simply update the sSec  variable with the name of your mdw file.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: swed		</title>
		<link>https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-6352</link>

		<dc:creator><![CDATA[swed]]></dc:creator>
		<pubDate>Thu, 30 Sep 2021 10:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.devhut.net/?p=337#comment-6352</guid>

					<description><![CDATA[hi 
can i Opening a protected Access database with a workgroup
like (SYSTEM.MDW)
thank]]></description>
			<content:encoded><![CDATA[<p>hi<br />
can i Opening a protected Access database with a workgroup<br />
like (SYSTEM.MDW)<br />
thank</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Pineault		</title>
		<link>https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1569</link>

		<dc:creator><![CDATA[Daniel Pineault]]></dc:creator>
		<pubDate>Sun, 27 Aug 2017 11:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.devhut.net/?p=337#comment-1569</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1562&quot;&gt;Kristen&lt;/a&gt;.

Kristen,

While it is possible to change the script to do as you are thinking, the way I&#039;ve always worked was to setup my network folder, install the BE and networked FE and the launch script and then create a shortcut on each user&#039;s desktop back to the launch script.  Then all they do is double-click the shortcut and everything is taken care of for them.  They don&#039;t ever need to know the actual path to the database.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1562">Kristen</a>.</p>
<p>Kristen,</p>
<p>While it is possible to change the script to do as you are thinking, the way I&#8217;ve always worked was to setup my network folder, install the BE and networked FE and the launch script and then create a shortcut on each user&#8217;s desktop back to the launch script.  Then all they do is double-click the shortcut and everything is taken care of for them.  They don&#8217;t ever need to know the actual path to the database.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kristen		</title>
		<link>https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1562</link>

		<dc:creator><![CDATA[Kristen]]></dc:creator>
		<pubDate>Wed, 23 Aug 2017 17:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.devhut.net/?p=337#comment-1562</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1559&quot;&gt;Daniel Pineault&lt;/a&gt;.

Thank you very much, that worked. I had another question. I can get this script to work if I have the script and the database in the same folder, and specify only the database name and not the path to the database for sFrontEnd. Is there a way to make this script work if I want the script to be saved in a different folder from the database? I don&#039;t want users opening the front end directly, so I want it somewhere else from the script. Can this script be used that way? It fails if I specify the path to the database in the variable.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1559">Daniel Pineault</a>.</p>
<p>Thank you very much, that worked. I had another question. I can get this script to work if I have the script and the database in the same folder, and specify only the database name and not the path to the database for sFrontEnd. Is there a way to make this script work if I want the script to be saved in a different folder from the database? I don&#8217;t want users opening the front end directly, so I want it somewhere else from the script. Can this script be used that way? It fails if I specify the path to the database in the variable.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Pineault		</title>
		<link>https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1559</link>

		<dc:creator><![CDATA[Daniel Pineault]]></dc:creator>
		<pubDate>Wed, 23 Aug 2017 15:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.devhut.net/?p=337#comment-1559</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1558&quot;&gt;Kristen&lt;/a&gt;.

Yes, this is an old script that I need to update.  Basically, you need to change the entire &#039;Determine the location of the MS Access executable&#039; section and replace it with code similar to what is found at &lt;a href=&quot;http://www.devhut.net/2012/07/10/vba-determine-executable-path-for-given-application/&quot; target=&quot;_blank&quot;&gt;http://www.devhut.net/2012/07/10/vba-determine-executable-path-for-given-application/&lt;/a&gt;.  Then the code should adapt to any setup.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1558">Kristen</a>.</p>
<p>Yes, this is an old script that I need to update.  Basically, you need to change the entire &#8216;Determine the location of the MS Access executable&#8217; section and replace it with code similar to what is found at <a href="http://www.devhut.net/2012/07/10/vba-determine-executable-path-for-given-application/" target="_blank">http://www.devhut.net/2012/07/10/vba-determine-executable-path-for-given-application/</a>.  Then the code should adapt to any setup.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kristen		</title>
		<link>https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1558</link>

		<dc:creator><![CDATA[Kristen]]></dc:creator>
		<pubDate>Wed, 23 Aug 2017 15:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.devhut.net/?p=337#comment-1558</guid>

					<description><![CDATA[Hi, 

I&#039;m having issues with this script and was wondering if you could help. With troubleshooting, I&#039;ve gotten as far as determining that I think the issue is because the Microsoft Access executable is in a folder called Office14 in the Program files (x86) folder. I had originally tried just adding an ElseIf with the folder name Office14, but the problem is sProgPath stores Program Files, not the x86 file folder. How do I modify the script to accommodate for the situations where Access is installed in the x86 Program files folder? I&#039;m not sure how to change the way it calls the folder as I&#039;m not sure how that part works. And it&#039;d be awesome to check both folders in case it is still installed in the Program Files folder. 

Any help would be much appreciated :)]]></description>
			<content:encoded><![CDATA[<p>Hi, </p>
<p>I&#8217;m having issues with this script and was wondering if you could help. With troubleshooting, I&#8217;ve gotten as far as determining that I think the issue is because the Microsoft Access executable is in a folder called Office14 in the Program files (x86) folder. I had originally tried just adding an ElseIf with the folder name Office14, but the problem is sProgPath stores Program Files, not the x86 file folder. How do I modify the script to accommodate for the situations where Access is installed in the x86 Program files folder? I&#8217;m not sure how to change the way it calls the folder as I&#8217;m not sure how that part works. And it&#8217;d be awesome to check both folders in case it is still installed in the Program Files folder. </p>
<p>Any help would be much appreciated 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Pineault		</title>
		<link>https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1479</link>

		<dc:creator><![CDATA[Daniel Pineault]]></dc:creator>
		<pubDate>Fri, 16 Jun 2017 12:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.devhut.net/?p=337#comment-1479</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1478&quot;&gt;Ajith&lt;/a&gt;.

I&#039;d start by using a MsgBox to display the variable values to see where the script is having an issue and work backwards from there.

MsgBox sVBSPath &amp; &quot;\&quot; &amp; sFrontEnd
MsgBox sPath &amp; sFrontEnd
etc...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1478">Ajith</a>.</p>
<p>I&#8217;d start by using a MsgBox to display the variable values to see where the script is having an issue and work backwards from there.</p>
<p>MsgBox sVBSPath &#038; &#8220;\&#8221; &#038; sFrontEnd<br />
MsgBox sPath &#038; sFrontEnd<br />
etc&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ajith		</title>
		<link>https://www.devhut.net/launch-open-an-ms-access-database-using-a-vbscript-part-2/comment-page-1/#comment-1478</link>

		<dc:creator><![CDATA[Ajith]]></dc:creator>
		<pubDate>Fri, 16 Jun 2017 06:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.devhut.net/?p=337#comment-1478</guid>

					<description><![CDATA[Please assist 

tried this code &#038; get the error below.

Thanks.

---------------------------
Windows Script Host
---------------------------
Script:	I:\AS400\Checklist\Access_Checklist\ajith.vbs
Line:	77
Char:	5
Error:	Path not found
Code:	800A004C
Source: 	Microsoft VBScript runtime error

---------------------------
OK   
---------------------------]]></description>
			<content:encoded><![CDATA[<p>Please assist </p>
<p>tried this code &amp; get the error below.</p>
<p>Thanks.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Windows Script Host<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Script:	I:\AS400\Checklist\Access_Checklist\ajith.vbs<br />
Line:	77<br />
Char:	5<br />
Error:	Path not found<br />
Code:	800A004C<br />
Source: 	Microsoft VBScript runtime error</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
OK<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
