ASPCode.net
Free asp.net and asp scripts
Home
ASP.NET articles
.NET
Applications
ASP
Other
ASPCode.net Blog
ASP.NET auctions
Navigation:
Start
Subcategories
»
ASP.NET articles
»
.NET
»
Applications
»
ASP
»
Other
Popular searches
asp
free asp script
admentor
admentor pro
Search...
free asp scripts
free asp.net script
asp.net
asp developer
asp shopping cart
Searching for admentor pro
AdMentor PRO
The recommended version of AdMentor is AdMentor PRO available at AdMentor.net
Features
ge you extra for it, if they even allow it at all ) and no super-power database engine either - just a simple Access database is what you need. The AdMentor project started with the simple goal to be an easy to use replacement for the Ad Rotator that comes free with IIS. Now ( especially beginning
OpenSTA
Since it doesn't seem to be a secret anymore I might as well tell you - I am working on a PRO version of AdMentor ( the ASP.NET version ) and while I don't want to give yo any details about it yet, this article will instead describe one of my experiences I gained during development. In short I nee...
AdMentor 2.20
The new version of Admentor is finally released! It is called version 2.20. New stuff in this version: 1. Bug fix in statsres.asp when selecting to see stats for multiple zones. 2. SQL Server support. AdMentor now supports SQL Server as well as Access. I have been using SQL Server for a whil...
Downloads and docs
You must agree with this license: AdMentor.NET is free to use. It costs nothing for a webmaster to use it on any number of websites he/she wants to. AdMentor.NET or parts of it ( as well as enhancements ) can?t be distributed through any other website other than what Systementor AB ( http:/...
Overview
3.01 While version 3.01 of AdMentor.NET is not a big release in the sense of ad management functionality (nothing really new functionality there at all) it is in some other - more technical aspects. First of all bugs has been fixed: BUG FIX: A potentially dangerous Request.Form va...
AdMentor.NET features
3.01 MySQL is now supported. Look in the directory otherdatabases and you will find two table creation scripts, one for MySQL and one for SQL Server. Please note that the binary release is compiled with ASP.NET 1.1 and therefore you/your host needs to have that installed. AdMentor.NET uses My...
AdMentor.NET 3.02 is out
3.02 Contains bugfixes from 3.01. See more on 3.01 below BUG FIX: Updating banner does not write to database 3.01 While version 3.01 of AdMentor.NET is not a big release in the sense of ad management functionality (nothing really new functionality there at all) it is in some other - mo...
[Microsoft][ODBC Microsoft Access 97 Driver] '(unknown)' isn't a valid path?
This one is typical when configuration isn't right. The path to the database file is incorrect. Check in admentorconfig.asp: g_Admentor_strConnect = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="& Server.MapPath("/admentor/ad2000.mdb") &";DriverId=25;FIL=MS Ac...
Using ASP scripts from HTM pages
1. What does he mean? Well I guess that's what you must be asking yourself - and I really have to agree the title looks kind of cryptic. I understand I'd better motivate you to keep reading, so I do my best: Imagine you have this site and you have a Latest news-function where news headlines are ...
Requirements
What you need 1. ASP on the webserver. 2. Beginning with version 2.0 calls from static HTM pages is supported as well. You can also call the ad functions from other servers - but on one server you need ASP. What AdMentor is NOT ( yet ) 1. It is not an full blown ad server. It is not poss...
A simple image gallery
I have gotten a lot of questions on how I have implemented the "lightbox" screenshots viewer at AdMentor.net. To see what I mean just go to AdMentor.net , scroll down to the bottom (Some screenshots) and click on one of the images. It starts a slideshow and you can click on nex...
AdMentor V3.00 Beta is out
This is a beta. However it's pretty stable, since the actual banner delivery engine has not been changed. Also NO database changes has been made - i.e you can still use the same database. The GUI has been totally changed. Better error handling (as supposed to none :) ), you can upload banner med...
Flash ads
I have added better flash support into AdMentor started with version 2.24. Start by adding a new HTML campaign: And you paste your object-code into the HTML code area: Se secret as how to get AdMentor to click url when dealing with Flash ads is that you add the ?clicktag=<ADM_C...
Simple ASP.NET SOA architecture
Overview Here we will create a ASP.NET driven application providing a domainname to ip service for a Windows client application. Foreword Ok, here I will get into a "hot" concept - SOA - but to be honest - I don't care about the names and terminology - I just wanted a so...
Creating a demo version of your ASP.NET application
Setting up a live demo on your website is often important for your business - people want to see how the application looks and get a feeling of it and not all people are willing to download a trial version and go through a (painful?) install process just to get the first look. Howev...
Creating a simple paypal shop
ALL ARTICLES IN THIS SERIE Step 1 Step 2 Step 3 Step 4 (download) There are hundreds (???) of examples on how to create a Paypal shop with ASP.NET so why should I write an article myself? Because ny solution fills a void. This solution will let you - create a sh...
PhpAdMentor
The PHP version of AdMentor. As the site is being restructired no info is available, just download it here ...
Can I target the redirect as _top or _blank?
In admentor2.asp there is a function called AdMentor_GetAdEx. Check for the lines >nXSize=oRS("xsize").Value nYSize=oRS("ysize").Value Beneath it I set sRet = ... Change that line to sRet = "<center><a href=""" & sRedirUrl & "&...
AdMentor 2.23 released
As you can see I am serious. AdMentor will get back to life :) Anyway, this is just a bug fix release, which fixes Conn.Close error in some of the adminfiles includes are not ../ relative anymore. I had to move the adminfiles out of admin-directory - be aware that the filestru...
Master pages in ASP - free template engine
We are here gonna create a three page website - all pages should use a "template" for layout. This will enable us to easily keep a consistent layout for all our pages and also, it sure brings structure to your code. I have used this technique for 5 years or so, one lar...
AdMentor.NET changes from ASP version
While the changes are many, apart from being totally rewritten in C# I here list what I find the most important new features of this version compared to old ( AdMentor 2.21 ): - no reserved words as table names ( Access ) - default banner can be setup for each ad position - better GUI and input va...
AdMentor 3.03 is out
3.03 Contains bugfixes from 3.02. BUG FIX: Checking stats doesn't work after 1/1 2005 Such a stupid bug. In the code I hardcoded three years from the first year (which was 2002 when AdMentor.NET was first released). Changed that to 10 years If you are using the sourcecode release all you ne...
AdMentor.NET 3.02 requirements
Please note that the binary release is compiled with ASP.NET 1.1 and therefore you/your host needs to have that installed. AdMentor.NET uses MyODBC to comminucate with MySQL database so that needs to be installed as well, if you want to use MySQL. Access and SQL Server are also supported as it was b...
Support forums
You can always try the support forum to get answers on your questions regarding AdMentor ASP. However, there is no guarantee from my side, since AdMentor is free - I will always prioritize people using the commercial ASP.NET version when it comes to support. ...
Calling a property by name
Here's a practical use of reflection. Recently in a project I was involved with, I (my application that is) was to receive some XML files generated from another application. My task now was to map these into my own object model and basically it all ended up with the problem with set...
JSDropdownlist - part 1, outlining the problem
This is part 1 in a article series on creating a "JSDropdownlist" - a dropdownlist for solving problem with bloated GUI:s. For a customer I created an application which started out with a really nice and clean GUI. A datagrid was filled with records and one of the columns was a &...
ProperCase function in C#
I've seen a lot of variants of this function, while being really simple it allows for a lot of different solutions. For example, solutions with regular expressions are quite popular floating around the web but the solution I use is so simple: public static string ProperCase(string strin...
Error while trying to run project : Unable to start debugging.
After upgrading some components (which in my eyes were totally unrelated to Visual Studio.NET) I suddenly, when hitting F5 to start a debug session I got an error saying "Error while trying to run project: Unable to start debugging.The debugger is not properly installed. Run setup to install ...
MySQL DAL stored procedures support - howto part 14
Please read this article serie from the beginning The DAL we created in part 13 might be good enough - I would not be ashamed over code like that - however there are some more things to do. As you might know MySQL does (since version 5.0) support stored procedures...
Step 1: The problem
The ClientScriptManager of the ASP.NET page class sure offers some pretty neat (and not to say easy to use) functions for injecting javascript into your ASP.NET pages. However, if you ask me, there are some problems with it: 1. You typically end up with a lot of <script> tags in...
Visual Studio 2005 Web Application Project
The web site project type in Visual Studio 2005 sure differs from the web applications you created in VS2003. App_Code directory for example - and the first thing you might find out when you are finally done woth your solution is - wher are the DLL:s to upload to the webservers ...
Running membership provider with SQL 2000
One common requirement is running the membership provider against SQL 2000. The SQL provider (System.Web.Security.SqlMembershipProvider) itself sure is capable of it, all you need to do is find a way of creating the tables and stored procedures in SQL 2000. Don't worry, it is NOT hard at all,...
Process.Start and redirect standard output
This snippet will show you how to start a command line program - and redirect the output from it to a System.IO.StreamReader. You can then easily read all the output generated from the external program and analyze it or do whatever you please with it: The example below calls th...
Updating and adding records
When updating records you basically have two choices. You can build a SQL statement like sSQL = "update xxx set yyy=" & Request.Form("yyy") & " where id=" & Request.QueryString("id") oConn.Execute sSQL Or you can open a recordset and call oRS.Update. I prefer the second one, since it giv...
DSN-less OLEDB
ADO can be used via ODBC or OLEDB drivers. OLEDB drivers generally gives somewhat better performance. <% Function Incdb_GetConnectionString ( nNumber ) Incdb_GetConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;Data Source=" & Server . MapPath ( "\...
Interface to Data Access Layer - howto part 10
Please read this article serie from the beginning In this step - lets look back on the project so far. Remember our save button click event handler in editcust.aspx? if (Page.IsValid) { int lId = -1; if (Request["id"] != null) ...
Class design considerations - howto part 9
Please read this article serie In practice from the beginning. Background and repeating our object model I now want to discuss the classes we have created, lets take a look at Customer in detail. Our key goal was to get objects to ...
BLL next step - howto part 7
Now, in this part of the " In practice " serie - lets look more into our movement from ASPX pages directly consuming datasets and datatables into using classes in a sort of business layer. While the code for the customer was pretty straigtforward, we do get some interesting pro...
Deleting files, checkboxes in repeater - howto part 5
It is highly recommended you start this tutorial article serie from the beginning . In this part we will continue our work with the upload and file management. In part 4 we created Edit customer form with three upload controls - but also we have a repeater section showing all exis...
Creating an RSS feed for your ASP.NET site
How useful a RSS feed actually is is hard for me to say something about, I personally have a hard time understanding the buzz about blogs (why should that be better than a regular website). While the content people present in blogs might be really good - I just love Scott Guthries blog...
Creating a BLL - howto part 6
Our project so far might indeed be functional, but we do have some major design flaws to fix. It is not so good to do all our database work directly from our ASPX files - and since we will eventually need to support MySQL as well as MSSQL, that would be a nightmare to fix if we had to cha...
Starting with Ajax.NET
My journey in Ajax land continues. As I have said here in by blog I am not sure Atlas is the way to go. In short - I have learned that the most complex (and bloated) ASP.NET server controls such as the datagrid - but also some design time controls such as the datasource controls etc...
ASP.NET repeater control - databind with style
If I had to name *one* single control as my favorite ASP.NET server control, it would most probably be the asp:repeater . When I started ASP.NET programming the datagrid was my best friend - or I wanted it to be - I tried in every way to use it whereever possible. I even used the inline ed...
Download grouping repeater solution
This is part 6of this tutorial on how to create a expandable/collapsible grouping repeater control with ASP.NET. So, please start by reading part 1 . Now lets look a little depper at the GroupingHelper class. public class GroupingHelper { public GroupingHelper() { ...
Storing passwords in your ASP.NET application - part 1
This guide will show you how to store your user passwords in an ASP.NET - or Windows Forms - application. Or rather - it will show you the secret is to NOT store the actual password. I'll explain later, don't worry. There is always a risk of someone getting their hands of sensitive...
The download of the ASP.NET date and time server control
This is a part of an article serie where we create a ASP.NET 2.0 server control providing date (and time) selection popup . Please start from the beginning . Finally - just download and test it out. The solution contains one testproject - and the control is inside its own dll ...
Simple RSS reader class
Being able to read RSS feeds are becoming more and more important today, even for website publishers. Here's a very simple (ASP.NET 2.0) example - but the class and code could easily be used in .NET 1.1 as well. The top of our default.aspx looks like this when running: Af...
Updated RSS reader class - dealing with "already belongs" error
Getting the "A column named 'comments' already belongs to this DataTable" error when running the Simple RSS client ? You will probably get it if you run it against a "real" blog application - which supports the <comments> tag for one example. The problem...
ASP.NET Server control code - part 4
This is a part of an article serie where we create a ASP.NET 2.0 server control providing date (and time) selection popup . Please start from the beginning . As I said - I want a readonly textbox and an image triggering the popup. So we start off by inheriting fro...
Searching for
admentor pro