Archive for May, 2007

Microsoft Access Database (MDB) from PHP

This code demonstrates how to access a Microsoft Access Database (MDB) from PHP. Here I used PHP 5 for testing.

< ?_php
/* This example shows how to open and do operations on a Microsoft Access Database using PHP odbc functions */
$db_connection = odbc_connect(”DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=E:rootphpDataBase.mdb”, “ADODB.Connection”, “password”, “SQL_CUR_USE_ODBC”);
echo ”
Show all tables
“;
$result = odbc_tables($db_connection);
while (odbc_fetch_row($result)) [...]

Leave a Comment

C program to draw a circle

One of my very old favorite program .. C/C++ Graphics with Borland Graphics Interface (BGI) library.

#include
int main()
{
int gd = DETECT, gm = DETECT; /* Auto detect graphic device and mode */
initgraph(&gm, &gd, “”); /* Initialize graphics */
circle(100,100,50); /* Draw Circle */
return 0;
}
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Troubleshooting Performance Problems in SQL Server 2005

It is not uncommon to experience the occasional slow down of a SQL Server database. A poorly designed database or a system that is improperly configured for the workload are but several of many possible causes of this type of performance problem. Administrators need to proactively prevent or minimize problems and, when they occur, diagnose [...]

Leave a Comment

Use Threads and Build Asynchronous Handlers in Your Server-Side Web Code

Fortunately for developers, threading in ASP.NET is a lot easier than it was in ASP. In this article, the author takes a look at threading in the ASP.NET HTTP pipeline, and explains how threads are managed efficiently without the involvement of the developer. The article considers how the common language runtime threadpool is used by [...]

Leave a Comment

Choosing the right programming language

My students used to ask me “which programming language is the best?” and “which programming language I must learn?”. But the truth is – one cannot give an accurate answer for this. If somebody answers to this question simply - like C++ or Java, I will say he is a frog living inside a well. [...]

Leave a Comment

SQL Performance: Good Practices for Beginners

Most of the developers are like ‘accidental developers’ and they identify the database performance problems only when the client reports the issues. If you give importants to these guidelines, you can standardise the performance to a stable level. I wrote this article from my own experience and knowledge.

Check the article SQL Performance: Good Practices for [...]

Leave a Comment

UTF7 Converter

I have one excel export module on a project which will output UTF7 encoded text. That is because the requirement included unicode characters (German, French etc.). I am able to test those files with Microsoft Excel XP, 2000 etc. But after I install Microsoft Office 2007, it stopped working. It was time consuming for me [...]

Leave a Comment

New Article Published. - Imporants of Aim.

Today I posted my new project management article “Importants of Aim”. You can read about that at http://ninethsense.com/content/view/49/59/

In this article, I tried to motivate people who are lazy

Hope you will give me feedbacks as usual. Also, this is my very first article which is non-technical.
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

What is the difference between “using x.y;” and “using z = x.y;”

using x.y; is just referencing a namespace while using z = x.y; defines an alias.
Eg:
using Microsoft.DirectX;
using DirectX = Microsoft.DirectX;”

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Difference between Windows Vista Editions

There are different Editions for Windows Vista:
Windows Vista Home Basic
Windows Vista Home Premium
Windows Vista Business
Windows Vista Enterprise
Windows Vista Ultimate

Home Basic and Home Premium are consumer-focused versions, with features like Family Safety (formerly known as Parental Controls), and Home Premium includes Media Center.
Business and Enterprise are corporate-focused editions, with features [...]

Leave a Comment