<?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[html datei im internet öffnen]]></title><description><![CDATA[<p>Hi ich habe möchte mit meinem Programm aus dem Internet eine Html-Seite öffnen und dort den Quelltext in eine StringList laden. Leider funktionniert es nicht und ich bekomme immer die Fehlermeldung aus dem catch-Teil<br />
Das obere jedoch funktioniert komischerweise, d.h. es liegt nicht daran das es eine<br />
html datei ist.</p>
<p>Hier mal meinen Code:</p>
<pre><code class="language-cpp">int main(int argc, char* argv[])

{
        char* text;
        TStringList *Seite;
        Seite = new TStringList;

        Seite-&gt;LoadFromFile(&quot;C:\\test1.html&quot;);
        cout &lt;&lt; Seite-&gt;Strings[0].c_str() &lt;&lt; endl;
        try
        {
        Seite-&gt;LoadFromFile(&quot;http:\\www.google.de\index.html&quot;);
        cout &lt;&lt; Seite-&gt;Strings[0].c_str() &lt;&lt; endl;
        }
        catch(...)
        {
        cout &lt;&lt; &quot;-------  Seite konnte nicht geladen werden   -----&quot; &lt;&lt; endl;
        }
        system(&quot;PAUSE&quot;);
        return 0;
}
</code></pre>
<p>Kann mir irgendjemand helfen???<br />
Ich kom echt nicht drauf wo der Fehler liegen könnte<br />
und die Firewall bringt auch keine Meldung das etwas geblockt wurde.</p>
<p>MfG Striaghtflush</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/158314/html-datei-im-internet-öffnen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 18:01:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/158314.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Sep 2006 09:48:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to html datei im internet öffnen on Mon, 04 Sep 2006 09:48:38 GMT]]></title><description><![CDATA[<p>Hi ich habe möchte mit meinem Programm aus dem Internet eine Html-Seite öffnen und dort den Quelltext in eine StringList laden. Leider funktionniert es nicht und ich bekomme immer die Fehlermeldung aus dem catch-Teil<br />
Das obere jedoch funktioniert komischerweise, d.h. es liegt nicht daran das es eine<br />
html datei ist.</p>
<p>Hier mal meinen Code:</p>
<pre><code class="language-cpp">int main(int argc, char* argv[])

{
        char* text;
        TStringList *Seite;
        Seite = new TStringList;

        Seite-&gt;LoadFromFile(&quot;C:\\test1.html&quot;);
        cout &lt;&lt; Seite-&gt;Strings[0].c_str() &lt;&lt; endl;
        try
        {
        Seite-&gt;LoadFromFile(&quot;http:\\www.google.de\index.html&quot;);
        cout &lt;&lt; Seite-&gt;Strings[0].c_str() &lt;&lt; endl;
        }
        catch(...)
        {
        cout &lt;&lt; &quot;-------  Seite konnte nicht geladen werden   -----&quot; &lt;&lt; endl;
        }
        system(&quot;PAUSE&quot;);
        return 0;
}
</code></pre>
<p>Kann mir irgendjemand helfen???<br />
Ich kom echt nicht drauf wo der Fehler liegen könnte<br />
und die Firewall bringt auch keine Meldung das etwas geblockt wurde.</p>
<p>MfG Striaghtflush</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130624</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130624</guid><dc:creator><![CDATA[Straightflush]]></dc:creator><pubDate>Mon, 04 Sep 2006 09:48:38 GMT</pubDate></item><item><title><![CDATA[Reply to html datei im internet öffnen on Mon, 04 Sep 2006 10:13:07 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>TStringList lädt Dateien aus dem <strong>lokalen Dateisystem</strong>, keine Internet-Dateien.</p>
<p>Dafür nimmst du z.B. die HTTP-Komponente aus dem Indy-Package.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130640</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130640</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 04 Sep 2006 10:13:07 GMT</pubDate></item><item><title><![CDATA[Reply to html datei im internet öffnen on Mon, 04 Sep 2006 10:29:32 GMT]]></title><description><![CDATA[<p>gibts da nicht noch ne einfacher methode?</p>
<p>oder wie finde ich raus wie die komponenten vom indy-package funktionieren??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130654</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130654</guid><dc:creator><![CDATA[Straightflush]]></dc:creator><pubDate>Mon, 04 Sep 2006 10:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to html datei im internet öffnen on Mon, 04 Sep 2006 10:39:00 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>es gibt natürlich noch die WinAPI-Funktionen, die eine Datei herunterladen, die du dann wie gewohnt mit TStringList öffnen kannst.</p>
<p>Zu dem Indy-Package gibt es eine Doku samt Beispielen herunterzuladen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130662</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130662</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 04 Sep 2006 10:39:00 GMT</pubDate></item><item><title><![CDATA[Reply to html datei im internet öffnen on Mon, 04 Sep 2006 11:00:41 GMT]]></title><description><![CDATA[<p>ich hab borland cbuilder 6 ist da nun schon das indy package dabei?? wie finde ich raus ob es schon installiert ist??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130674</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130674</guid><dc:creator><![CDATA[Straightflush]]></dc:creator><pubDate>Mon, 04 Sep 2006 11:00:41 GMT</pubDate></item><item><title><![CDATA[Reply to html datei im internet öffnen on Mon, 04 Sep 2006 11:04:16 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>das ein Komponententab namens <em>Indy Clients</em> vorhanden ist.</p>
<p>Ansonsten <a href="http://www.indyproject.org/Sockets/index.de.aspx" rel="nofollow">hier</a> Indy 9 samt Doku herunterladen (Version 10 läft nicht auf dem Builder) und wie <a href="http://www.indyproject.org/KB/" rel="nofollow">hier</a> beschrieben installieren.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130678</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130678</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 04 Sep 2006 11:04:16 GMT</pubDate></item><item><title><![CDATA[Reply to html datei im internet öffnen on Wed, 06 Sep 2006 08:22:08 GMT]]></title><description><![CDATA[<p>hab jetzt die doku gefunden is nur leider ziemlich groß...</p>
<p>weiß jemand zufällig die funktion die man braucht um den Quelltext einer HTML Seite auszulesen?? also so nach der Art von LoadFromFile..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1132034</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1132034</guid><dc:creator><![CDATA[Straightflush]]></dc:creator><pubDate>Wed, 06 Sep 2006 08:22:08 GMT</pubDate></item><item><title><![CDATA[Reply to html datei im internet öffnen on Thu, 07 Sep 2006 10:42:46 GMT]]></title><description><![CDATA[<p>kann mir keiner Helfen???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1132869</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1132869</guid><dc:creator><![CDATA[Straightflush]]></dc:creator><pubDate>Thu, 07 Sep 2006 10:42:46 GMT</pubDate></item><item><title><![CDATA[Reply to html datei im internet öffnen on Thu, 07 Sep 2006 11:03:56 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Siehe zum Beispiel <a href="http://www.marquardtnet.info/cecke/quickies.1/1_quicky_44.html" rel="nofollow">hier</a>.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1132896</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1132896</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Thu, 07 Sep 2006 11:03:56 GMT</pubDate></item></channel></rss>