Advertisement

Results for "Category: Internet/ Browsers/ HTML"

4_2005-2006 #152277
windows like menusystem

dropdown menu

4_2005-2006 #152673
Search Engine Friendly ISAPI Filter

Reformats URLS for a search engine friendly format (ie look like HTML pages) back into asp querystrings for the ASP pages to use normally.

4_2005-2006 #152759
Ping .NET Class!

Ping a machine from .NET. This code is CLR compliant.

4_2005-2006 #152783
Send Email from ASP with attachment using CDONTS without getting unspeciefied error 80004005

You can send an Email with attachment(s) from your ASP page using CDONTS. There is some code here on planet-source-code, but it does only work on the webserver itself, because the code does NOT first upload the attachment to the WebServer. This is neccesary, because the webserver the ASP is on cannot access your harddrive and pick up the file you want to send as attachment. If you don't, you get "Unspecified Error 80004005" Make sure you have IIS with CDONTS (standard under IIS5) installed and the SMTP virtual server is running on the webserver. The magnificent code to upload a file to a webserver is from Karl P. Grear and can be found on planet-source-code (Form Based File Upload Using Pure ASP).

4_2005-2006 #152793
Browse Favorites

Using the Windows Scripting Host this VBScript retrieves the users favorites folder and loads the url links into an array, then goes to each site for three minutes.

4_2005-2006 #152830
Image upload with preview

The scope of this code is to allow the client to select a image on their harddrive and preview it before they submit it to your server, this source uses memory streams and swaps image objects and byte arrays back and forth to resize the image to a standard previewable size while the original image stays unchanged so you can store it. You can store the image to a database with related user data input or just save the image to a directory when the client does their final submit. Comments and suggestions are welcome, I have found this to be the easiest way to make this happen as IE7 does not allow you to load images from the users harddrive to the browser with client-side script. Please share if you have another way to do this in VB.NET

4_2005-2006 #152858
Count How Many Visitors Are On Your Website

This short code keeps track of the number of people currently on your site - just like Dev-Center. Put this in a file called global.asa and upload it to the root web. [http://www.yourdomain.com/global.asa] Use the following in an ASP page to display the number of visitors: or

4_2005-2006 #152976
Send a TCP packet to a server

/* The purpose of this article is to help out people who know the basics of C but want to start learning TCP controls in C. This program will connect to a server and send a TCP packet containing "La la la la". */

4_2005-2006 #153010
Hack... er, uh... verify ISP/website security

My purpose for this was educational. I was trying to learn the Scripting.FileSystemObjects which were not documented well at the time. You can use it for educational purposes, or to test the security and see how well your server's NT user permissions are locked down (for instance, if your anonymous user can browse and download files from your WinNt directory (which is usually the case!), your permissions are probably not quite up to snuff)

4_2005-2006 #153048
POP3 Email Checker

This code will check your POP3 e-mail account. Uses no MFC. It uses plain old winsock.. no winsock2. Also uses CreateThread, GetOpenFileName, trayicons, SetTimer, sndPlaySound, GetExitCodeThread, TerminateThread, and many more usefull API.

4_2005-2006 #153104
Random Refresh

This ASP page is randomly refreshed. The refreshing time is from 5 up to 20 seconds. You can use it with displaying a commercial banners.

4_2005-2006 #153149
Domain Redirect

This is a basic redirection script based on the domain name. It is usefull if you are hosting multiple sites from one IP address.

4_2005-2006 #153352
Simple Search

Search in the site for any word

4_2005-2006 #153353
Send Mail using ActiveX DLL

You can send e-mail whom ever you want from who ever you want, using wich ever server you want This program uses my own control Active X, in the zip you can find the source code.

4_2005-2006 #153484
Controlling the Height of HTML Tables that Contain Forms

When working with HTML forms and ASP the order of the tags CAN and WILL make a difference! This article details some traps that HTML newbies can run into when designing ASP pages.

4_2005-2006 #153571
Writing a COM Object in Visual Basic

This a tutorial I wrote because I had so much trouble learning how to write a COM object, I wanted to put it in simple terms for anyone else who might want to get into it.

4_2005-2006 #153764
PSC Newest Submission Grabber

This Script will go out to planetsourcecode.com and retrieve the newest submissions. It saves the data it got in a text file so we don't get the info every time the page loads. It will get the submissions from ALL Worlds on PSC. After it gathers the data it strips All the HTML from it. Then it will out put the submission in a table for easy display. See Screen Shot for Output. Ive Uploaded it in zip format now for eazy download.

4_2005-2006 #153766
Banner Rotator with Stats

This Banner Rotator stores The Image URLs, Links, Tracking URLs, Views, adn Clicks in a database. When the banner loads it update the views for that banner in the database. when a user clicks the banner it updates the clicks in the data base. On the stats page(type http:/yoururl/ad.asp?fadmin=True to get there.) you can sort banners by ID, Views Or Clicks. It displays 10 banner stats per page. A sample database is included. make sure you change the gblConnection String at the top of the asp file to the location of the database. Please post your comments/questions.

4_2005-2006 #153767
Online File Explorer

This is an Example of Server Side XML & XSLT With CSS, Javascript and HTML. It takes an XML File with Data collected about each file and folder in a directory. The Data collection was done with an other application that I wrote, email me for info about that... The output from this is a Explorer style looking window. see screen shot below. if you dont have an IIS Web Server to try this out you can goto http://camalotdesigns.com/pscode/ for a live demo. Please leave your comments and let me know what you think.

4_2005-2006 #153770
mIRC Richtextbox

This is a subclassed richtextbox that supports mirc color codes. Uses regular expressions and highlights the line as it is inserted so its fast. Has a "Scroll to Bottom" method that scrolls the RichTextBox to the bottom. This is a "Work in progress" for a irc chat client I am working on. This control does not yet support mIRC Bold, Underline or Reverse formatting codes.

Languages
Top Categories
Global Discovery