torsten's .NET blog In the end, everything is a gag [Ch. Chaplin]
# Tuesday, October 14, 2003
User Sample

Posted my piece of code to embed the IE WebBrowser control in .NET without wrapping DLL's [.NET] as a GDN User Sample In general it is a rework of the code posted here, but with some extensions I needed and without saving static html to temporary file to navigate to later. The crux of matter is how to define the correct Interop for IHTMLDocument2.Write().
Here is my working solution:

using System;
using System.Runtime.InteropServices;

namespace System.Windows.Forms.Html {
  [InterfaceType(ComInterfaceType.InterfaceIsDual), ComVisible(true),   Guid(@"332C4425-26CB-11D0-B483-00C04FD90119")]
  interface IHTMLDocument2 {
    ...     
    ///

    
    /// Write complete html doc content including markup.
    ///
    /// object[] containing the string(s)
    ///
    ///
    /// IHTMLDocument2 document = control.GetDocument();
    /// if (document != null) {
    /// document.Open("", null, null, null);
    /// object[] a = new object[]{"Hello world"};
    /// document.Write(a);
    /// document.Close();
    /// }
    ///
    ///

    void Write(
      [In, MarshalAs(UnmanagedType.SafeArray)] object[] psarray);
    ...
  }
}

May be there is an Interop Guy that is able to solve it in a more elegant way? Currently IJW. This functionality is covered by the control itself. Usage of that feature of IE Control looks like this:

htmlControl.Html = myHtmlString;
htmlControl.Navigate(null);

With this approach you will also get the NavigateXYZ() events to listen for further usage.

Technorati tags:  | 
Tuesday, October 14, 2003 7:26:12 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [3]  | 
# Friday, October 10, 2003
No Autumn anymore
Two days ago we had the first snow this year. Yes, it was October, the 8. Unbelievable after that hot summer time. So it seems the winter season follows immediately the summer this year
Technorati tags:
Friday, October 10, 2003 3:17:56 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
# Saturday, October 04, 2003
Half hour and a smile
Since then I'm part of the RSS Bandit community I usually read my (mostly geeky) news feeds in a half hour at morning. So I was happy finding the Dilbert feed that makes me also smile.
Technorati tags:
Saturday, October 04, 2003 1:23:40 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
# Wednesday, October 01, 2003
The Return of the Kings
trailer, the last part of "Lord of the rings" is out at Apples Trailersite (Quicktime needed).
Technorati tags:
Wednesday, October 01, 2003 8:37:19 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [1]  | 
Extend reading of subscribed mailing lists
Found via Jon Udell: an email-to-RSS gateway called MailBucket. Very useful to reduce the amount of filter rules needed in Outlook to sort them out... The impermanent feeds aren't really a problem. An Rss Reader seems to be more and more important like a Web Browser, or e-Mail Client. BTW: where is the NNTP-toRSS-gateway?
Technorati tags:  | 
Wednesday, October 01, 2003 7:45:17 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
Richtig so.
In grossen Lettern schwarz auf weiss prangen die Warnungen auf den Zigarettenschachteln - ab heute auch in Deutschland: "Raucher sterben früher", "Rauchen verursacht Lungenkrebs"oder "Rauchen verursacht Impotenz". In anderen EU-Ländern sind die Süchtigen schon länger mit diesen Wahrheiten konfrontiert. [tagesschau im Internet]
Aber wer liest schon das "Klein-Gedruckte"?
Technorati tags:
Wednesday, October 01, 2003 6:56:37 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [1]  | 
New machine

Got a new laptop on monday: not the brand new model (PIII mobile, 1GHz, 512 MB RAM), but incredible fast compared to my previous one (PIII, 300MHz, 256MB RAM). It takes the whole day to install all the useful and needed things again, but it was also a kind of spring finery: all the older not often used tools get lost. The most important change was that of the OS itself: used W2K for years now (professional and personal) and learned to use this as the most important tool. Now I started snatching fresh air: Windows XP. First impression: installing the wireless connection was very easy, switched the Teletubbies look back to the familiar, installed Office 2003 (slow download, fast installation), yes it feels good. But may be the major reason is the faster machine... :)

The last days I was sick.

Technorati tags:
Wednesday, October 01, 2003 5:59:07 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [1]  | 
# Saturday, September 27, 2003
MSDN strikes Google as Top Referrer
Hey, since the publication of the article Revamping the RSS Bandit Application I posted here, Microsoft MSDN is my Top referrer, not Google... :)
Technorati tags:
Saturday, September 27, 2003 2:29:16 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
Heise Verlag mit weiteren RSS feeds
Neben http://www.heise.de/newsticker/heise.rdf gibt es jetzt auch noch die http://www.heise.de/security/news/news.rdf. Bin mit meinem RSS Bandit: a .NET RSS News Reader">Banditen via Auto discover... drauf gestoßen :). Und es gibt dort auch noch mehr...
Technorati tags:
Saturday, September 27, 2003 2:12:05 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
Notable
Technorati tags:
Saturday, September 27, 2003 1:55:11 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
# Friday, September 26, 2003
Nice notepad replacement, done.
Found this via [Don Park's Daily Habit], and checked: it also works for Windows 2000 -

How to replace Notepad.exe on Windows XP/2000

Windows XP/2000 has file protection so Notepad.exe will get restored if you just replace the file with renamed Sc1.exe. Follow these steps:

  1. Download Sc1.exe from SourceForge or Notepad2 and rename it to Notepad.exe
  2. Save a copy of the original Notepad.exe somewhere.
  3. Replace Notepad.exe in following three locations (order is significant):
     
    • %WINDIR%\ServicePackFiles\i386 (if any SP is installed)
    • %WINDIR%\System32\DllCache
    • %WINDIR%\System32
    • %WINDIR%

      *%WINDIR% is your Windows folder (i.e. C:\Windows)
       
  4. Press Cancel when a warning dialog appears.

That's it. Enjoy.

Update: have a look at simonguest's post how to get that work on Vista too.

Technorati tags:
Friday, September 26, 2003 10:38:55 AM (W. Europe Standard Time, UTC+01:00)    #  Comments [2]  | 
# Friday, September 19, 2003
Missing: beer from germany
Tomatoes and oregano make it Italian; wine and tarragon make it French. Sour cream makes it Russian; lemon and cinnamon make it Greek. Soy sauce makes it Chinese; garlic makes it good." [Motivational Quotes of the Day]
... and after that meal having a beer from Germany make you happy... :-)
Technorati tags:
Friday, September 19, 2003 10:15:14 AM (W. Europe Standard Time, UTC+01:00)    #  Comments [1]  | 
RSS Bandit on MSDN (revamping)
No posts here the last ten days: RSS Bandit Application" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexxml/html/xml09152003.asp">this is one of the reasons... :)
Technorati tags:
Friday, September 19, 2003 10:09:02 AM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
# Tuesday, September 09, 2003
Feedster goes AIM/Yahoo/MSN
Cool feature: feedster in AIM, Yahoo and MSN. [The FuzzyBlog]
Technorati tags:
Tuesday, September 09, 2003 10:09:31 AM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
# Friday, September 05, 2003
For what is app.config meant?
[dive into mark]
Thanks to our app.config usage in RSS Bandit each user can correct the base link without a redist of the whole package: simply open it with Notepad and change the value for the key validationUrlBase ...
Technorati tags:  | 
Friday, September 05, 2003 11:18:14 AM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
# Thursday, September 04, 2003
Das gute alte Frühstyxradio
Ja, bin heut aus einer sentimentalen Laune heraus mal wieder beim www.fruehstyxradio.de vorbeigesurft. Alte Erinnerungen wurden wach (hallo Melle!) an das jed-sonntägliche Hörvergnügen auf Radio FFN (analog im Großraum Hannover empfangbar, ja, auch in Magdeburg :). Ein paar unveröffentlichte (nicht auf CD/MC) Onkel Hotte Märchen sind bei Marcel Lohmann zu finden, Adam und Eva machten meinen Tag. Leider ist das Ganze hier unten in Bayern nicht so bekannt (und nicht hörbar :( , außer von CD/MC), außerdem spricht Onkel Hotte nicht bayrisch ;-) Aber einen kleinen Vorteil als Zugezogener muß/darf man ja auch mal haben...
Technorati tags:
Thursday, September 04, 2003 11:46:02 AM (W. Europe Standard Time, UTC+01:00)    #  Comments [2]  | 
# Monday, September 01, 2003
blogs vs MSDN
"Thank God for Chris Brumme's blog. Too bad most people who develop for Microsoft platforms get their information from MSDN and the docs not random blogs." [Dare Obasanjo Obasanjo aka Carnage4Life]
Right, such important parts should be published on MSDN. But to get more background informations is also one of the reasons I read so much MS blogs...
Technorati tags:
Monday, September 01, 2003 10:03:31 AM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
# Friday, August 29, 2003
Aus eins mach drei
Zuerst war der eine: Video-Recorder. Schon einmal repariert (war fast teurer als ein neuer), jetzt wieder hinüber. Dann kam der zweite: Bille ersteigerte einen für 5€ bei e-Bay. Erstes Problem: Bauhöhe passt nicht, zweites Problem: er spielt ebenfalls keine Videos ab (Drama für unsere Kids: man denke nur an die Maulwurf-Videos, Disney Filme etc. pp. Mehrere Dutzend davon wollen noch nicht sofort in die Tonne...) Aprop. gibts den Maulwurf auch auf CD? Gestern nun haben wir doch noch einen Neuen gekauft, mit passender Bauhöhe und er funktioniert! Hab auch gleich noch die Rack-Schrankwand-Umbaumassnahmen gestartet. Nur beenden kann ich's erst heut: mir fehlt noch ein Audio Kabel. Die anderen schlummern nun im Keller (jemand interessiert und im Grossraum Lindau wohnhaft? Verschenke diese an Selbstabholer) Die Lebensdauer/Mechanik eines CD Players scheint etwas länger zu sein als die der Video-Recorder: mein Kenwood Spieler dient nun schon seit 1992, der erste und bereits einmal reparierte Video-Rec. kam vor ca. 6 Jahren... Ob man das allerdings 1:1 auf DVD Spieler übertragen kann...? Wir werden sehen.
Technorati tags:
Friday, August 29, 2003 10:30:23 AM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
Update: RSS Bandit
Yes, I'm late: the new release 1.1.0.29 is out! Seems, it does only need the half of memory compared to build 16 and is faster in requesting feed updates. That are good news. "Currently RSSBandit always uses IE to read the actual news pages (when hitting the 'Read on...' link)" [bug report on Bandit GDN by jelovirt]. Yes, all links on the third pane work like a to the link! The idea behind this behavior was to provide the reader with a better window size to read the requested page, not that small detail window below the listview of items. "I'd also like to see a preference option to control whether the news pages should be opened inside RSSBandit (using IE), or whether the default browser should be used and the pages are opened into their own windows." Other people like that too. I would suggest to restrict this behavior to only these links that requires a new window (remember target="_blank" attribute). The default would be to open them in a new Tab (my favourite), that does not waste up the desktop with too much browser windows. Think it is enough to get all the ads windows ;-)
Technorati tags:
Friday, August 29, 2003 9:55:26 AM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
Navigation

Like RSS Bandit? Make a donation to help support its development and maintenance. As little as 1€ will help.

Make payments with PayPal - it's fast, free and secure!
On this page....
<October 2003>
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

SUBSCRIBE RSS GeoURL e-mail

Search
Categories
Blogroll
[Feed] Dare Obasanjo
Dare Obasanjo aka Carnage4Life
[Feed] Clemens Vasters
[Feed] Omar Shahine
[Feed] Tom Mertens

newtelligence dasBlog 2.1.8102.813

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

WOT Notar

Join WebHost4Life.com