Free Athens Medal Table

If you have your own website and would like to provide your readers with a free Medal Table of the Top 10 medal winning countries at the Athens Olympic Games then by simply adding a small piece of code to your website, you will be able to provide your readers the latest medal tally as it comes to hand.


Just copy the code from Athens Olympics Games Blog, paste it anywhere on your site and get this:



and top right on my home page

blogx code release to psc

The blogx program that i’m using now(http://www.blanksoft.com/blogx) is written by me base on Matthew1471’s BlogX

I had expanded some features besides change the UI style and UI language.

I will break off it’s reform  up-to-the-minute.In order to share my effort to more peolple,i upload it to planet-source-code. i wish it can bring some convenience to user.

Download it from

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=8845&lngWId=4#refresh

 

Use absolute path instead of relative path to increase the security of access database in asp website

When i develop my website with asp,i find the following problem:

My database’s path  in the root\database,and my conn.asp(define the connectionstring)in the root\includes

Because the files that need access the database locate in the root,so the connectionstring like this:

“Provider=Microsoft.Jet.OLEDB.4.0;Data Source=./database/database.mdb;”

When you browse the files located the root diectory,it work well,but if someone type this in the address textbox in the internet browser:

http://myserver/includes/conn.asp

it will raise a error:

can’t find file “x:\somedirectory\myserver\includes\database\database.mdb“

….

some hacker will find that my database name is database.mdb and it’s located x:\somedirectory\myserver\database

so after he(she) download my database to his(her) local harddisk,my private data will exposure.

Reference to some articles ,we can insert “on error resume next “ to skip this error,but i find it’s a better way to resolve this problem.

We can build a path string with “Request.ServerVariables(“APPL_PHYSICAL_PATH”)“ instead of  “Server.MapPath“

After processing like this ,we can include this conn.asp in any page regardless of  it’s location.

 

Is this a bug of whidbey

When open a previous version project that has a custom usercontrol with whidbey.if whidbey can’t reference this custom control correct,the contour line of form will can’t be displayed correct!
The region of contour line doesn’t inosculate with the form’s figure,General, the region of contour line surround less than the form region actual!
When drag the contour line will mouse ,it can be displayed correct!
the screen snapshoot:

KB Collection For Visual Studio .NET Setup

When i installed Visual Studio .NET , I had gotten some error,souch as :

[04/25/04,20:28:59] Visual Studio .NET Enterprise Architect codename Whidbey – English: [2] ERROR:Error 1935.An error occured during the installation of assembly component {F582BA58-05D1-46B5-8521-8269B1A9AEA4}. HRESULT: -2146234299.
[04/25/04,20:29:00] Visual Studio .NET Enterprise Architect codename Whidbey – English: [2] ACTION FAILURE:Action ended 20:29:00: InstallFinalize. Return value 3.See MSI log for details.
[04/25/04,20:34:27] Visual Studio .NET Enterprise Architect codename Whidbey – English: [2] ERROR processed; exception was thrown for retail build
 Developer Comment:  Action Start message out of order
 Build Time:  Mon Oct 21 21:37:27 2002
 HRESULT:  -2147467259
[04/25/04,20:38:05] Visual Studio .NET Enterprise Architect codename Whidbey – English: [2] ERROR processed; exception was thrown for retail build
 Developer Comment:  Action Start message out of order
 Build Time:  Mon Oct 21 21:37:27 2002
 HRESULT:  -2147467259
[04/25/04,20:38:33] Visual Studio .NET Enterprise Architect codename Whidbey – English: [2] ACTION FAILURE:Action ended 20:38:32: INSTALL. Return value 3.See MSI log for details.
[04/25/04,20:39:30] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper()
[04/25/04,20:39:31] setup.exe: [2] Component error string not specified in ISetupManager::AddToActionResultCollection()
[04/25/04,21:58:11] Visual Studio .NET Enterprise Architect codename Whidbey – English: [2] ERROR:Internal Error 2337.

and so on.

So i searched the  microsoft kb library the find the resolvent .and collected some articles also.

The following list is what i had collected.

You must have Windows 2000 Service Pack 3 or later installed to install Visual Studio .NET 2003
http://support.microsoft.com/default.aspx?scid=kb;en-us;820832

FIX: “MS Development Environment Has Not Been Installed” Error Message on Visual Studio .NET Startup
http://support.microsoft.com/default.aspx?scid=kb;en-us;313495

BUG: Readme.htm and Redist.txt Files are Overwritten When You Install Visual J# .NET to the Visual Studio .NET Installation Location
http://support.microsoft.com/default.aspx?scid=kb;en-us;812824

BUG: Visual Studio .NET Application Performance Slows Down After You Install .NET Framework Service Pack 1
http://support.microsoft.com/default.aspx?scid=kb;en-us;323196

BUG: Migration Wizard Appears When You Install and Then Start Visual Studio .NET 2003
http://support.microsoft.com/default.aspx?scid=kb;en-us;814327

PRB: ‘Not Installed’ or ‘Does Not Exist’ Error Returned When You Access Visual Studio .NET Help
http://support.microsoft.com/default.aspx?scid=kb;en-us;306873

FIX: Visual Studio Analyzer Does Not Work If Both the .NET Version and the 6.0 Version Are Installed
http://support.microsoft.com/default.aspx?scid=kb;en-us;316052

PRB: “Program Too Big” Error Message When You Try to Install Visual Studio .NET from MSDN Subscriber Downloads
http://support.microsoft.com/default.aspx?scid=kb;en-us;316573

BUG: When You Remove Visual C# .NET an Error May Occur If You Try to Install Visual Studio Tools for Office
http://support.microsoft.com/default.aspx?scid=kb;en-us;823992

PRB: Cannot Modify Installation Path of Visual Studio .NET Components After Visual Studio .NET Is Installed
http://support.microsoft.com/default.aspx?scid=kb;en-us;311855

BUG: “Open With” Shell Command Broken with Visual J# .NET Installed
http://support.microsoft.com/default.aspx?scid=kb;en-us;326710

PRB: “Could Not Access Network Location” Error Message When You Install Visual Studio .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;330766

FIX: Error Message: Visual Studio Development Environment Has Not Been Installed for the Current User
http://support.microsoft.com/default.aspx?scid=kb;en-us;302586

PRB: “Installation Error 25003” Error Message When You Install Visual Studio .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;827076

PRB: “Setup Has Detected That Another Program Requires the Computer to Reboot” Error Message When You Try to Install Visual Studio .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;830608

PRB: Error Message: The Visual Basic 6.0 Upgrade Tool Is Not Installed on This Computer
http://support.microsoft.com/default.aspx?scid=kb;en-us;320305

Visual Studio .NET 2003 Stops Responding During the Solution Build Process if You Have Compuware DriverStudio Installed
http://support.microsoft.com/default.aspx?scid=kb;en-us;828734

FIX: Visual Studio .NET Cannot Open Existing ASP.NET Projects After You Install Internet Protocol Version 6 on Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;818262

PRB: “Setup Failed on Component Setup Runtime Files” Error Message When You Install Visual Studio .NET 2003
http://support.microsoft.com/default.aspx?scid=kb;en-us;818416

PRB: Special Characters and Extended Characters May Cause Visual Studio .NET Setup to Fail
http://support.microsoft.com/default.aspx?scid=kb;en-us;326027

BUG: Error 1935 During Install of the .NET Framework
http://support.microsoft.com/default.aspx?scid=kb;en-us;308096

BUG: Setup Fails When You Install Visual Studio .NET Over a Terminal Service Session from a Mapped Drive
http://support.microsoft.com/default.aspx?scid=kb;en-us;307420

INFO: Mapped Network Drives Not Available in Visual Studio .NET Setup
http://support.microsoft.com/default.aspx?scid=kb;en-us;306033

BUG: Visual Studio .NET Setup Fails on AddShareAndPermissions Custom Action
http://support.microsoft.com/default.aspx?scid=kb;en-us;318003

PRB: Visual Studio .NET 2003 Setup May Fail When Antivirus or Firewall Program Is Running
http://support.microsoft.com/default.aspx?scid=kb;en-us;330733

BUG: Wwwroot Share That Visual Studio .NET 2003 Creates Is Removed When You Quit the Visual Studio .NET 2002 Setup Program
http://support.microsoft.com/default.aspx?scid=kb;en-us;821628

PRB: Error Messages When You Cancel Setup of Visual Studio .NET or the MSDN Library
http://support.microsoft.com/default.aspx?scid=kb;en-us;322950

Dte.olb could not be loaded.Please re-run setup and repair your installation

When i startup vs.net IDE after install Whidbey ,i had gotten a error message ,”Dte.olb could not be loaded.Please re-run setup and repair your installation”.

Then I searched the “DTE.olb” file in local disk,I found it located in “X:\Program Files\Common Files\Microsoft Shared\MSEnv”

Reference to MSDN the dte.olb is the COM Object model  of EnvDTE namespace .So if it hadn’t registered successfully, the VS.net IDE would can’t work well.

As the file is a COM Object ,so i registered it with regsvr32 function.such as:

regsvr32 c:\Program Files\Common Files\Microsoft Shared\MSEnv\dte.olb

Commonly it can resolve the “Dte.olb could not be loaded“ error when starup the VS.net IDE

MSDN Article:

PRB: Visual IDE Does Not Open When Started or Application Cannot Start Error Message

Correlative samples of DTE Download:

Visual Studio .NET 2003 Automation Samples

 

Service Pack 6

From Microsoft:

Microsoft Service Pack 6 for Visual Basic 6.0, Visual C++ 6.0 with Visual SourceSafe 6.0d addresses known issues with Visual Basic 6.0, Visual C++ 6.0 and Visual Source Safe 6.0. This service pack does not contain fixes for Visual InterDev 6.0, Visual FoxPro 6.0, and Visual J++ 6.0, as the mainstream life-cycle for these products has ended. This SP replaces SP5 for developers using Visual Basic 6.0, Visual C++ 6.0, and Visual SourceSafe 6.0. Developer using Visual InterDev 6.0, Visual J++ 6.0, and Visual FoxPro 6.0 should continue using SP5.   

List of bugs that are fixed in Visual Studio 6.0 Service Pack 6

 

Download

 

Getting creative with spam too!

Today I received a Creative spam email ,I had token a while to be sure that it’s a spam.

 

————————–

I was just doing some research about bella sonus in Yahoo and found your domain, blanksoft.com ranked 81…which got me thinking…

I published a informational site about Health – Disabilities. We’ve got a very strong following, primarily because we only produce informational content, since you also produce a quality site in this category, I’d like to exchange links with you. I get a pretty good amount of visitors to my property, so if I link up to your site you should benefit from a traffic standpoint.

Please take a look at my site when you get a chance — I think you’ll find it to be knowledgeable and useful. If you like what you agree, please link to it — I’ll send you all of my info on your request.

I’ve already linked to you to get the ball rolling. I’ll keep it up a few days until I hear back from you.

Thanks for your time.

Jane Emile
RAC IM: 1022591.

————————–

 it looks more legitimate ,because both of the “To” address and “CC:”address is right,and i had added some content about “bella sonus ” in my web too.But there is something that make me interrogative,the leading content in my site is “software and program “,and the “bella sonus “ is musician.

Before i wrote back, i had checked the header of this email,then I got the following information:

—————–

Return-Path: <jane@janeemile.com>
Delivered-To: webmaster@F
Received: (qmail 81835 invoked from network); 30 Mar 2004 05:04:21 -0000
Received: from unknown (HELO keywordconversions.com) (211.99.218.7)
  by mail.#####.com with SMTP; 30 Mar 2004 05:04:21 -0000
Received: from ([127.0.0.1]) with MailEnable ESMTP; Tue, 30 Mar 2004 04:57:22 +0800
Message-ID: <18581191.1080595515577.JavaMail.Santhosh@211.99.218.7>
From: Jane Emile <jane@janeemile.com>
To: webmaster@blanksoft.com
Subject: blanksoft.com ranked # 81 in Yahoo for bella sonus
Cc: ch21st@hotmail.com
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

———————-

It appears that keywordconversions.com is the same spammer outfit as racsystems.com mentioned in the article. The letters RAC in the signature line of the mail were a giveaway.

According to a WHOIS lookup the IP the mail came from an “Beijing“,and the  www.janeemile.com doesn;t work

then i found the “janeemile.com.”  in Spam domain blacklist!

I must more cautious for spam in the future!