General discussion

Locked

diwen's blog

By diwen ·
Tags: Off Topic
blog root

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

diwen's glob

by diwen In reply to diwen's blog

thoughts on programming, mostly VB(proper)

Collapse -

VB 6.0 Atom client project

by diwen In reply to diwen's blog

<p>Had a crack at a Visual Basic 6.0 <a href="http://en.wikipedia.org/wiki/Atom_%28standard%29">atom</a>-client yesterday.</p>
<p>
First thing was a medium to display the feed content.<br />
A multi-line textbox would be like the toilet on train, doesn't look much but works.<br />
Because XML is easily transformed into HTML, it would be a good idea to do that:<br />
<a href="http://msdn.microsoft.com/workshop/browser/webbrowser/browser_control_node_entry.asp">SHDocVwCtl </a> is (almost) everywhere a VB program might go, so it was a strong contender.<br />
<a href="http://www.mozilla.org/newlayout/">Gecko</a> is cool, fast, The Right Thing (tm) and so on, so I finally went with <a href="http://www.iol.ie/%7Elocka/mozilla/control.htm">Mozilla ActiveX Control</a>
</p><p>

I generally like to do as few external dependencies as possible,
so went on to experiment with navigating the HTML control to the feed,
and traversing that.
That sort of bogged me down.
I gave serious thought to loading the XML with an internet API call and somehow parsing the feed my self...
and then cowardly took the easy way out with <a href="http://en.wikipedia.org/wiki/MSXML">MSXML</a>. Of course, there is a <a href="http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B313372">perverse thing</a> with MSXML 4, XPath and default namespaces which took about a year off my life expectancy...
</p>

<p>
Storage of the feeds was next.<br />
Since I use SQL databases as backends almost every day at work, and I've sometimes used Access mdb's for similar projects, that was sort of a given, <a href="http://www.sqlite.org/">SQLite</a> it would be.<br />
Only I got sort of sidetracked during install and searching for info on a VB wrapper.
So, since it was three o'clock in the morning and I was supposed to stand in for my boss at work today, I gave in to the <a href="http://video.google.com/videoplay?docid=-5477477756459784400">Sandman</a>.</p>
<p>
I don't know why, but XMLHTTP didn't come to mind during the whole episode.
Maybe they haven't pushed <a href="http://en.wikipedia.org/wiki/Ajax_%28mythology%29">AJAX</a> enough on me or something. Weird.
</p>
<p>
Bottom line: I finished nothing that I would show even to my mother, but it isn't a hopeless task. (besides, I got all of Saturday and Sunday to play with it)
</p>
<p>
-- <br />
diwen</p>

Collapse -

VB 6.0 Atom client project

by alores In reply to VB 6.0 Atom client projec ...

<p>Diwen, I used to have  those problems until I changed my programming tool to one that is fully integrated. I hated to have all those external VB components all over the place, remembering to change this and that from here, this from over there, etc.., and seeing my program?s performance decrease and never being able to know when or why it happened.... Now I am really happy with my new development platform, I suggest you change to another IDE.</p>

Collapse -

VB 6.0 Atom client project

by diwen In reply to VB 6.0 Atom client projec ...

Alores, I'm right with You on changing platform.<br /><br />I couldn't deduce which platform You're referring to, <br />but I venture it's either RealBasic or Visual Basic.NET ?<br />If it isn't, or if You're talking about an actual <br />alternative IDE for VB 6.0, please do tell, <br />as I'm always interested in better ways of doing (stupid) things.<br /><br />Actually, I'm with the right-tool-for-the-right-job <br />kind of thinking. But that's true only while I'm being paid.<br />For leisure, I actually enjoy banging my head against a wall.<br /><br />The reason I'm hanging on with VB 6.0 is that <br />I like the challenge of pushing the envelope.<br />(The envelope in this case being my own <br />understanding and knowhow)<br /><br />I've been "sort of programming" with several <br />dialects of BASIC for many years, <br />during which I haven't actually progressed at all, <br />but have indeed developed a perverse <br />liking for doing silly things in a silly way.<br />I like VB6 because it still has <br />(at least for me) silly things to offer.<br /><br />...And as far as hobbies go, I only have these: <br />playing pool, drinking beer, and writing bad VB6 code.<br /><br />Bottom line:<br />I'm (at the moment) a professional VB6 programmer, <br />(that's step 1 isn't it?)<br />and for kicks I tend to do things the hard way.<br /><br />-- <br />diwen<br /><br />(btw, I am not a native speaker of english, <br />
so some puns not intended)

Back to After Hours Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums