<?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 — (UNRESOLVED) Select directory and..]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=7910</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=7910&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in (UNRESOLVED) Select directory and...]]></description>
		<lastBuildDate>Thu, 25 Nov 2021 21:56:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43451#p43451</link>
			<description><![CDATA[<div class="quotebox"><cite>sibprogsistem wrote:</cite><blockquote><div class="quotebox"><cite>AD1408 wrote:</cite><blockquote><div class="quotebox"><cite>sibprogsistem wrote:</cite><blockquote><p>добавьте свой проект</p></blockquote></div></blockquote></div><p>я мел ввиду тот проект в котором у Вас не работает..</p></blockquote></div><br /><br /><p>I cannot speak Russian. Google translates your text as:<br />&quot;I&#039;m chalk because of the project in which you do not work .. &quot;</p><br /><p>I&#039;m not clear but I guess you are saying I didn&#039;t post the actual project. If this is the case, then It doesn&#039;t matter which other project; the script you kindly provided doesn&#039;t work any other project with a different name... at least I couldn&#039;t make it work. <br />However, I truly appreciate your help and time... Once again thank you very much.</p><br /><p>Perhaps some English speaking MVD users may be able to help me.......</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Thu, 25 Nov 2021 21:56:32 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43451#p43451</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43449#p43449</link>
			<description><![CDATA[<div class="quotebox"><cite>AD1408 wrote:</cite><blockquote><div class="quotebox"><cite>sibprogsistem wrote:</cite><blockquote><p>добавьте свой проект</p></blockquote></div></blockquote></div><p>я мел ввиду тот проект в котором у Вас не работает..</p>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Thu, 25 Nov 2021 18:52:27 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43449#p43449</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43448#p43448</link>
			<description><![CDATA[<div class="quotebox"><cite>sibprogsistem wrote:</cite><blockquote><p>добавьте свой проект</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Thu, 25 Nov 2021 18:23:04 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43448#p43448</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43443#p43443</link>
			<description><![CDATA[<p>добавьте свой проект</p>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Thu, 25 Nov 2021 15:31:52 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43443#p43443</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43438#p43438</link>
			<description><![CDATA[<p>Thanks but still not working when used in different project.<br />I used the code in my actual project which has a different name. It cannot find the RatingImages folder.<br />I also tried by changing FolderTest project name and re-compiled. It stop working after changing the name.</p><br /><p>-------------------------------------</p><br /><p>Спасибо, но все еще не работает при использовании в другом проекте.<br />Я использовал код в своем реальном проекте, который имеет другое имя. Не удается найти папку RatingImages.<br />Я также попытался изменить имя проекта FolderTest и перекомпилировать. Он перестает работать после смены названия.</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Thu, 25 Nov 2021 05:20:40 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43438#p43438</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43433#p43433</link>
			<description><![CDATA[<div class="codebox"><pre><code>if openDialog.Execute then
  begin
     frmItems.DBImage11.Picture.LoadFromFile(openDialog.fileName);
     frmItems.DBImage11.dbFileName := openDialog.fileName;
  end;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Wed, 24 Nov 2021 16:32:38 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43433#p43433</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43432#p43432</link>
			<description><![CDATA[<p>Thanks a lot sibprogsistem....</p><br /><p>Now it does locate the specified folder. However, it doesn&#039;t load to image on the form for saving using button. Image loaded using MVD image component open button. I was hoping to load the image on the form without using MVD default buttons. Instead using custom button or clicking on image event; while show buttons property for image component checked off.</p><p>---------------------------</p><br /><p>Большое спасибо sibprogsistem ....</p><br /><p>Теперь он находит указанную папку. Однако он не загружается в изображение в форме для сохранения с помощью кнопки. Изображение загружено с помощью кнопки открытия компонента изображения MVD. Я надеялся загрузить изображение в форму без использования кнопок MVD по умолчанию. Вместо использования настраиваемой кнопки или щелчка по событию изображения; в то время как свойство показа кнопок для компонента изображения отмечено.</p><br /><div class="quotebox"><cite>sibprogsistem wrote:</cite><blockquote><p>команда - <strong>ExtractFilePath(Application.ExeName)</strong>&nbsp; уже имеет &#039;<strong>\</strong>&#039; в конце записи<br />Вы пытаетесь добавить &#039;<strong>\RatingImages</strong>&#039; <br />в итоге получается такой адрес <strong>***\\RatingImages</strong></p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Wed, 24 Nov 2021 16:18:10 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43432#p43432</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43431#p43431</link>
			<description><![CDATA[<p>команда - <strong>ExtractFilePath(Application.ExeName)</strong>&nbsp; уже имеет &#039;<strong>\</strong>&#039; в конце записи<br />Вы пытаетесь добавить &#039;<strong>\RatingImages</strong>&#039; <br />в итоге получается такой адрес <strong>***\\RatingImages</strong></p>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Wed, 24 Nov 2021 15:43:58 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43431#p43431</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43430#p43430</link>
			<description><![CDATA[<p>Still cannot get into <strong>RatingImages</strong> folder within app root folder on click of the button.</p><br /><p>Once again what I&#039;m trying to do:<br />1. Click on image button on frmItems<br />2. Windows open dialog opened<br />3. Windows open dialog opens <strong>RatingImages</strong> folder within app root folder<br />4. User select an image from <strong>RatingImages</strong> folder and loads into frmItems</p><br /><p>Here is a sample app that correction can be applied:</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Wed, 24 Nov 2021 13:01:09 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43430#p43430</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43428#p43428</link>
			<description><![CDATA[<div class="quotebox"><cite>AD1408 wrote:</cite><blockquote><p>Tried the following but still couldn&#039;t get it working</p><div class="codebox"><pre><code>procedure frmItems_btnOpemImg01_OnClick (Sender: TObject; var Cancel: boolean);
var
openDialog:TOpenDialog;

begin
  openDialog := TOpenDialog.Create(Form1);
  openDialog.Options := ofHideReadOnly+ofAllowMultiSelect+ofEnableSizing;
  openDialog.DefaultExt := &#039;.PNG&#039;;
  openDialog.Filter := &#039;PNG | *.PNG&#039;;

  if openDialog.Execute then
  begin
    openDialog.InitialDir := ExtractFilePath(Application.ExeName) + &#039;\RatingImages&#039;;
  end;

  openDialog.Free;
end;</code></pre></div><br /><p>Please use the above the correct if wrong. Maybe I couldn&#039;t explain what I&#039;m trying to do<br />1. I click the button to load image<br />2. I want windows open dialog opens specified folder INSTEAD of default image load folder</p></blockquote></div><div class="codebox"><pre><code>procedure frmItems_btnOpemImg01_OnClick (Sender: TObject; var Cancel: boolean);
var
openDialog:TOpenDialog;

begin
  openDialog := TOpenDialog.Create(Form1);
  openDialog.Options := ofHideReadOnly+ofAllowMultiSelect+ofEnableSizing;
  openDialog.DefaultExt := &#039;.PNG&#039;;
  openDialog.Filter := &#039;PNG | *.png&#039;;
  openDialog.InitialDir := ExtractFilePath(Application.ExeName) + &#039;\RatingImages&#039;;

  if openDialog.Execute then
  begin
    // Form1.Image1.Picture.LoadFromFile(openDialog.fileName);
  end;

  openDialog.Free;
end;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Wed, 24 Nov 2021 06:36:41 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43428#p43428</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43427#p43427</link>
			<description><![CDATA[<p>Tried the following but still couldn&#039;t get it working</p><div class="codebox"><pre><code>procedure frmItems_btnOpemImg01_OnClick (Sender: TObject; var Cancel: boolean);
var
openDialog:TOpenDialog;

begin
  openDialog := TOpenDialog.Create(Form1);
  openDialog.Options := ofHideReadOnly+ofAllowMultiSelect+ofEnableSizing;
  openDialog.DefaultExt := &#039;.PNG&#039;;
  openDialog.Filter := &#039;PNG | *.PNG&#039;;

  if openDialog.Execute then
  begin
    openDialog.InitialDir := ExtractFilePath(Application.ExeName) + &#039;\RatingImages&#039;;
  end;

  openDialog.Free;
end;</code></pre></div><br /><p>Please use the above the correct if wrong. Maybe I couldn&#039;t explain what I&#039;m trying to do<br />1. I click the button to load image<br />2. I want windows open dialog opens specified folder INSTEAD of default image load folder</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Tue, 23 Nov 2021 23:22:26 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43427#p43427</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43426#p43426</link>
			<description><![CDATA[<div class="quotebox"><cite>AD1408 wrote:</cite><blockquote><p>Hi Sibprogsistem,</p><br /><p>Thank you very much for the reply.</p><br /><p>The script you have shared doesn&#039;t take user to specified folder on windows open dialog.</p><br /><p>When button is clicked; I want windows open dialog opens specified folder, then I choose an image there. Specific folder <strong>RatingImages</strong> is within the MVD app root folder.</p></blockquote></div><div class="codebox"><pre><code>openDialog.InitialDir := ExtractFilePath(Application.ExeName);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Tue, 23 Nov 2021 21:51:29 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43426#p43426</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43425#p43425</link>
			<description><![CDATA[<p>Hi Sibprogsistem,</p><br /><p>Thank you very much for the reply.</p><br /><p>The script you have shared doesn&#039;t take user to specified folder on windows open dialog.</p><br /><p>When button is clicked; I want windows open dialog opens specified folder, then I choose an image there. Specific folder <strong>RatingImages</strong> is within the MVD app root folder.</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Tue, 23 Nov 2021 21:39:14 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43425#p43425</guid>
		</item>
		<item>
			<title><![CDATA[Re: (UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43424#p43424</link>
			<description><![CDATA[<div class="codebox"><pre><code>procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
var
openDialog:TOpenDialog;
begin

  openDialog := TOpenDialog.Create(Form1);
  openDialog.Options := ofHideReadOnly+ofAllowMultiSelect+ofEnableSizing;
  openDialog.Filter := &#039;PNG|*.png|JPG|*.jpg|BMP|*.bmp&#039;;
  openDialog.DefaultExt := &#039;.png&#039;;

  if openDialog.Execute then
  begin
    Form1.Image1.Picture.LoadFromFile(openDialog.fileName);
  end;

  openDialog.Free;
end;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Tue, 23 Nov 2021 21:03:27 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43424#p43424</guid>
		</item>
		<item>
			<title><![CDATA[(UNRESOLVED) Select directory and..]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=43422#p43422</link>
			<description><![CDATA[<p>I like to select pre-defined directory and load image. Pre-defined image folder located under application root folder.</p><br /><p>Using the following script takes me to the pre-defined folder named RatingImages ( but Windows open dialog displayed is missing Open, Cancel buttons file field etc.<br /></p><div class="codebox"><pre><code>procedure frmItems_btnOpemImg01_OnClick (Sender: TObject; var Cancel: boolean);
begin
OpenFile(ExtractFilePath(Application.ExeName) + &#039;\RatingImages&#039;,&#039;&#039;);
end;</code></pre></div><p>Could somebody fix the above please?</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Tue, 23 Nov 2021 19:00:59 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=43422#p43422</guid>
		</item>
	</channel>
</rss>
