Advertisement

Results for "Category: Internet/ Browsers/ HTML"

6_2008-2009 #197829
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.

6_2008-2009 #197866
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

6_2008-2009 #197894
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

6_2008-2009 #198012
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". */

6_2008-2009 #198046
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)

6_2008-2009 #198084
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.

6_2008-2009 #198140
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.

6_2008-2009 #198185
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.

6_2008-2009 #198388
Simple Search

Search in the site for any word

6_2008-2009 #198389
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.

6_2008-2009 #198520
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.

6_2008-2009 #198607
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.

6_2008-2009 #198800
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.

6_2008-2009 #198802
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.

6_2008-2009 #198803
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.

6_2008-2009 #198806
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.

6_2008-2009 #198869
Resize and move browser window after opening

Resize and position the browser window

6_2008-2009 #199011
VBScript Tutorial: Chapter 2--Introduction to the IE Object Model

Since you are using VBScript, that should mean that either you have separate versions for Netscape and Internet Explorer users, make pages which tailor themselves to the client's browser, use VBScript only for non-essential page features, or are developing only for people using Internet Explorer. I have provided an example of a forwarding page which separates users capable of VBScript from others, and also a script which calls extra features if the client is using Internet Explorer. Note that they both use JavaScript, so that they will function in either NN of IE.

6_2008-2009 #199224
Force a Save File Dialog

This piece of code FORCES the user to save known file types (ie: *.mpg, *.gif, *.jpg, *.htm... you get the idea). Normally these (known file types) are opened in the browser, if you wish to bypass this feature in the browsers and allow the user to save a copy to their local computer without telling them to "right click" on the file and select "save target", this is the way. This code is REAL SIMPLE. I commented EVERY line so you know exacly what purpose it serves. If you have any enhancements to make to it, please let me know I'd love to see them. Please vote good or bad, 'cause I'd like to know.

6_2008-2009 #199225
A generic multi-threaded TCP server

Generic multi-threaded TCP server (Version 0.9.2). You can use this as a base class to create your own SMTP, POP, IMAP, HTTP server or anything else you might want. To test the code... run the application. Click on the start button. Then telnet to localhost port 100 and type in "help". If you use this, please give me feedback... I would like to know what features you would want. I also need to know of any bugs or anything else you'd like to report. Thanks!

Languages
Top Categories
Global Discovery