June 16, 2003

For those that ever wondered about this question: What Is a DLL?

Web Matrix update

The popular (and free) ASP.Net development tool has been enhanced with J#.Net and now has support for connecting to MS Access databases. Along with several bug fixes, the newest version is available here: ASP.NET Web Matrix Project

May 23, 2003

Have a Tech question?

Found an excellent tech message board with answers to lots of those strange little problems that crop up: TechSpot OpenBoards

May 17, 2003

Another web exploit

There's a little "bug" that effects every version of Windows since Win98 and allows a malicious web page to execute code. Of course, we all know what havoc this can play on your computer. The most nefarious method is to send the malicious page via e-mail after which some e-mail clients will preview the page and let the code execute.

Here's the link to Microsoft Knowledge Base Article 814078 with instructions on how to patch your system: Flaw in Windows Script Engine May Allow Code to Run

April 30, 2003

Here's an interesting tutorial from SitePoint which even includes source code: Create Your Own Guestbook In ASP.NET

April 23, 2003

ASP.NET 101: PostBacks

So, let's go down the .NET path and explore some of the new things that are available. First off, designing and posting to web-based forms has taken on a new dimension. You can write code to add function to your page and simply post back to the orginal .aspx page. At the same time, let's introduce the asp:panel tag. Rendered by the .NET server as a DIV, you can call each panel by it's ID attribute inside your code.

In this first example, let's make a simple form to collect a user's information. When the form is submitted, we will hide the original form and replace it with a new asp:panel containing new HTML created with the newly gathered data. So, make the first panel visible like so: asp:panel id="panelSurvey" runat="server" Visible="True" and further down the page, make the second panel hidden asp:panel id="panelAfterPost" runat="server" Visible="False".

In our VB code, we will simply swap the Visible attribute:

script runat="server"
Sub Button_Click(sender as Object, e as EventArgs)
If Page.IsPostBack then
panelSurvey.Visible="False"
panelAfterPost.Visible="True"
End If
End Sub
/script


Try out the page here or view the source code.

April 02, 2003

Everything you'd ever want to know about registering domain names: Domain Guru

WHOIS your daddy?

Ok, I think that I've overused that line. But hey, this is an interesting article on building your own lookup tool using C# - Build a WHOIS Lookup in ASP.NET

March 29, 2003

Site Updates
Nobody really complained, but the Archive section was not formatted very well and, as a result, was not being indexed for searches. I've corrected this little oversight and thus you can use the search tool to glean through the old posts.

March 19, 2003

.Net Starter Kits

An interesting set of tools designed for .Net. The Community Starter Kit will have a website up and running for you in no time. It includes polls, a discussion forum, a picture gallery and more. Check it out, along with the others at http://www.asp.net.

February 19, 2003

Custom Fit your Popup Script

Here's an interesting tutorial for scripting a popup window that dynamically resizes to the dimensions of a banner .GIF or .JPG image. It also introduced me to the built-in JavaScript function resizeBy(): Resize a Popup to Fit an Image's Size

February 09, 2003

SPAM!

Ok, just when you think you've got e-mail SPAM under control, the weasels figure out a new way to get at you. I got to experience it first hand about a week after I got the new web server running. It didn't take long for those pesty "messenger service" boxes to start popping up on the server's desktop.

Originally intended for administrative messages over the local network, Microsoft has the messenger service "on" by default when you install. This leaves a specific port open that SPAM lords can now scan for. If found open, they will send advertisements to your machine.

Although I don't endorse (or have even tried) the software this site offers, they do have some information and tutorials on how you can shutdown this new "loop hole" that SPAMMERS are exploiting: Stop Messenger Spam

February 06, 2003

Style Sheets for Accessibility

I've got a project where I need to add a "text-only" section to an existing web site. The best idea would be to use style sheets to control the font-sizes that each user can adjust to make the pages more readable. Here's an article on how to do just that: Build User-Controlled Style Sheets for Greater Accessibility

January 29, 2003

Got .NET?

I asked that question a couple of months back and now we can say "yes we do" here at randompsycho.org. So get ready for a whole bunch of posts about ASP.NET and C#. So lets dive into the Top 5 .NET Newbie Questions and Answers.

January 28, 2003

Fine tune your Server

So, you've set up your first web server with IIS. What next? Here's some tips: ASP 101 - Ten Ways to Make the Most of IIS

January 26, 2003

Actually, tweeking this spiffy little feedback form has been educational. After gettting the basics to work, I wanted to validate the form to check for empty fields (don't you just hate those e-mail with nothing in them?).

As one would expect, there's lots of tutorials on that subject, using either JavaScript or VBScript. Here's one using the VBS:
ASP Form validation

Since I mentioned the e-mail form that I added to this site, here's a tutorial on how to use the free JMail component with IIS:

How to send email using JMail from Active Server Pages (ASP)

January 25, 2003

Build it and they will (not) come?

As the randompsycho.org web server gets upgraded to the .NET framework this weekend, I ponder the question: "Is the web design world ready for .NET?" I personally will be making an attempt at learning asp.NET and C# and therefore will be blogging more posts on the topic.

Your comments are welcome. I even stuck in a spiffy feedback form in the lower right-hand corner.

Poll results: Not yet for .NET?

Cool web tricks

Ever see one of those pages with the cool popup box when you mouse-over a link? Not just the little trick that Internet Explorer does if you include the "title" attribute to an "a" anchor tag, but a real popup box with a caption and colors, etc. I tried searching Google for it, but never got the right combination of keywords to find such a creature.

Well, I finally tracked it down and it's a free JavaScript anyone can use: overLIB

January 22, 2003

OOP: The web of the future?

Things have come a long way from simply learning some HTML and then using FTP to upload files on a Unix server. This article is part of a series on how to get up to speed with the new big thing, ASP.NET:

Object Oriented C# for ASP.NET Developers