<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Access Datenbank password abfrage.]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es mit ADO eine möglichkeit herrausfinden ob die Access Datenbank mit einem password versehen ist ???</p>
<p>Mfg</p>
<p>|23|</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/103613/access-datenbank-password-abfrage</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 15:39:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/103613.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Mar 2005 09:29:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Access Datenbank password abfrage. on Fri, 11 Mar 2005 09:29:16 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es mit ADO eine möglichkeit herrausfinden ob die Access Datenbank mit einem password versehen ist ???</p>
<p>Mfg</p>
<p>|23|</p>
]]></description><link>https://www.c-plusplus.net/forum/post/742066</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/742066</guid><dc:creator><![CDATA[*23*]]></dc:creator><pubDate>Fri, 11 Mar 2005 09:29:16 GMT</pubDate></item><item><title><![CDATA[Reply to Access Datenbank password abfrage. on Fri, 11 Mar 2005 09:34:55 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Verbindung versuchen -&gt; try...catch -&gt; Eroor abfragen (sollte so funktionieren)</p>
<p>MfG<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/742071</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/742071</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Fri, 11 Mar 2005 09:34:55 GMT</pubDate></item><item><title><![CDATA[Reply to Access Datenbank password abfrage. on Fri, 11 Mar 2005 09:52:24 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">try
         {
         ADOConnection1-&gt;Open();
         }
       catch (...)
         {
         Error = GetLastError();
         }
</code></pre>
<p>so mache ich das derzeit. Bekomme aber von &quot;GetLastError&quot; eine 0 zurück.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/742083</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/742083</guid><dc:creator><![CDATA[*23*]]></dc:creator><pubDate>Fri, 11 Mar 2005 09:52:24 GMT</pubDate></item><item><title><![CDATA[Reply to Access Datenbank password abfrage. on Fri, 11 Mar 2005 10:21:45 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>du must die Exception auswerten</p>
<pre><code class="language-cpp">catch (Exception &amp;exception)
{
  Application-&gt;ShowException(&amp;exception);
  }
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/742113</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/742113</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Fri, 11 Mar 2005 10:21:45 GMT</pubDate></item><item><title><![CDATA[Reply to Access Datenbank password abfrage. on Fri, 11 Mar 2005 10:39:31 GMT]]></title><description><![CDATA[<p>ich möchte das ganze ab abfangen. wenn eine Password auf die Datenbank gesetzt ist, das der Benutzer die möglichkeit hat eins einzutragen. Und nicht die reine info.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/742134</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/742134</guid><dc:creator><![CDATA[*23*]]></dc:creator><pubDate>Fri, 11 Mar 2005 10:39:31 GMT</pubDate></item><item><title><![CDATA[Reply to Access Datenbank password abfrage. on Fri, 11 Mar 2005 10:49:32 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>dann must du statt ShowMessage eben z.B. eine InputQuery anzeigen lassen, die Eingabe als Password dem ADOConnection1 übergeben (habe ich bei mir nicht, kann dir nicht genau sagen wie) und die Verbindung neu öffnen.<br />
Wenn du das in eine while-Schleife packst, kannst du das solange machen bis die Verbindung steht oder der User abbricht.</p>
<p>Bei meinen MyDAC-Connections gibst dafür eine Eigenschaft LoginPrompt (true/false), die ein solche Behandlung automatisch abwickelt. Eventuell gibt es bei ADO auch soetwas.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/742146</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/742146</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Fri, 11 Mar 2005 10:49:32 GMT</pubDate></item><item><title><![CDATA[Reply to Access Datenbank password abfrage. on Fri, 11 Mar 2005 11:04:46 GMT]]></title><description><![CDATA[<p>Hmm hastet glaube meine Frage falsch verstanden.</p>
<p>Also mal ganz von Anfang an. Ich schreibe grade an einer Viewer für Access Datenbanken. sprich ich wähle eine Datenbank und eine Verbindung wird hergestellt. Aber wenn diese Datenbank mit einem Passwort versehen ist bekomme ich eine Fehler Meldung. Meine Problem ist es, dass ich was brauch womit ich beim Verbinden herausfinden kann ob ein Passwort gesetzt ist oder nicht.</p>
<p>Zur Info:</p>
<p>Mit &quot;LoginPrompt&quot; Kann ich nur auf das user-passwort ansprächen. und nicht das von der DB selber also das vom admin.</p>
<p>Ich hoffe du/ihr könnt mir helfen.</p>
<p>MfG</p>
<p>|23|</p>
]]></description><link>https://www.c-plusplus.net/forum/post/742166</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/742166</guid><dc:creator><![CDATA[*23*]]></dc:creator><pubDate>Fri, 11 Mar 2005 11:04:46 GMT</pubDate></item><item><title><![CDATA[Reply to Access Datenbank password abfrage. on Mon, 14 Mar 2005 17:32:42 GMT]]></title><description><![CDATA[<p>|23| schrieb:</p>
<blockquote>
<p>&lt;Fullquote gelöscht&gt;</p>
</blockquote>
<p>keiner ne idee</p>
<p><strong>Edit:</strong><br />
Zitate bitte auf das Notwendigste beschränken. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/744337</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/744337</guid><dc:creator><![CDATA[|23|logout]]></dc:creator><pubDate>Mon, 14 Mar 2005 17:32:42 GMT</pubDate></item></channel></rss>