<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — Sharing some information...]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=9326</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=9326&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Sharing some information....]]></description>
		<lastBuildDate>Sat, 23 Aug 2025 20:19:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Sharing some information...]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=52903#p52903</link>
			<description><![CDATA[<p>The &quot;compilation&quot; of the MVD 5.6 project generates a file called &quot;project_name.exe.&quot; I took this file (exe) and placed it in the folder of another MVD project, and when I ran it, the application in the new folder worked normally...</p><br /><p>I thought that the EXE of an MVD project could only be run in the project for which it was &quot;compiled.&quot; I&#039;ve since concluded that I was wrong!</p><br /><p>The &quot;project_name.exe&quot; is a &quot;runtime&quot; that executes an MVD application, requiring only the files: graphics.dll, sqlite3.dll, forms.xlm, settings.ini, tables.ini, script.pas, and sqlite.db to be contained in the same folder as the EXE?</p><br /><p>I also noticed that the EXE file used in this case could have any name.</p><br /><p>This doesn&#039;t diminish MVD&#039;s capabilities in any way. On the contrary, it simply demonstrates its versatility!</p><br /><p>I&#039;m not an expert on the subject and just wanted to share the information.</p><br /><p>P.S.: This BAT was the only one that worked on Windows 11 and allows you to run any MVD application, having the EXE in another folder (single EXE)</p><div class="codebox"><pre><code>@echo off
setlocal

REM Pega a pasta onde o .bat está
set &quot;BATDIR=%~dp0&quot;

REM Caminho do exe original
set &quot;SRC=C:\run_mvd.exe&quot;

REM Copia o executável para a pasta do bat
copy /Y &quot;%SRC%&quot; &quot;%BATDIR%run_mvd.exe&quot; &gt;nul

REM Vai para a pasta do bat
cd /d &quot;%BATDIR%&quot;

REM Executa o programa e espera terminar
start &quot;&quot; /wait &quot;run_mvd.exe&quot;

REM Apaga o executável sem pedir confirmação
del /f /q &quot;run_mvd.exe&quot;

endlocal</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (jrga)]]></author>
			<pubDate>Sat, 23 Aug 2025 20:19:03 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=52903#p52903</guid>
		</item>
	</channel>
</rss>
