Tuesday, 15 December 2009

PTA has developed a SIM information system

PTA has developed a SIM information system. One can find out how many SIMs are registered to his/her 's CNIC

http://www.pta.gov.pk/668/

Wednesday, 9 September 2009

Using Sql Server's Name Instance via JDBC

Very recently i had to use named instance of SQL Server 2000 via JDBC Drivers

After googling i found out the winner in the connection string is "instance=instancename"

Example String
JdbcURL=jdbc:sqlserver://servername:1433;instance=instancename;databaseName=dbname

Monday, 6 July 2009

The print spooler was unable to connect to your printer

Problem when printing to Network Printer

"The print spooler was unable to connect to your printer. This can be caused
by your printer being turned off, the cable being unplugged, or by being
connected to a VPN, which will block your access to your local network. Your
document will print when the printer becomes available."

The message stays on screen until manually cleared, it does not
automatically clear when the printer comes back online.

Solution:
After much googling i came to a solution As soon as I replaced the "HP Standard TCP/IP Port" with the "Standard TCP/IP Port" on all my print queues everything was fine.

Sunday, 21 June 2009

multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed

Sometimes Windows networking really does some stupid stuff. Not only does it take up to a minute to connect to a network resource that is literally sitting one meter away, it also has annoying limitations such as the one listed in the title of this article.

I have seen this message before and usually disconnecting a network drive would do the trick. This time however the message would just not go away.


net use * /delete

Thursday, 18 June 2009

The specified service has been marked for deletion

"The specified service has been marked for deletion”

Lately I have been working with Windows Services and came across this error when uninstalling and reinstalling the services. The culprit in this case is the MMC, once I closed and reopened the “services.msc” it resolved the issue.

Tuesday, 16 June 2009

Version of SQL Server and Service Pack

To Find out the version of Microsoft SQL Server and Service Packs installed

Query
=====
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')

Sample Output
=============
8.00.2039 SP4 Personal Edition

Sunday, 14 June 2009

MS Offlice related development in Visual Studio 2005

MS Offlice related development in Visual Studio 2005


Visual Studio 2005 Tools for the 2007 Microsoft Office System (Visual Studio 2005 Tools for Office Second Edition or VSTO 2005 SE for short) is a free add-on to Visual Studio 2005 that empowers developers to build applications targeting the 2007 Office system. Developers can now harness the benefits of the 2007 Office system platform and create Office-based solutions using the professional development environment of Visual Studio 2005.

Anyone who has a licensed version of Visual Studio 2005 Tools for Office or Visual Studio Professional and above (either standalone versions or via an MSDN Premium or Professional subscription) is eligible to download a free copy of VSTO 2005 SE.



http://msdn.microsoft.com/en-us/vsto/dd253198.aspx

How to Find GPS Location on Any SmartPhone

Phone technology is maturing at an alarming rate. A large number of current generation phones have GPS built in. Nonetheless, “smart” phones have an average price tag in the hundreds, and most of us haven't rushed out to buy a replacement for our current phone.

google_mobile_maps.png



http://www.codeproject.com/KB/mobile/DeepCast.aspx

Resource .NET 2.0

Resource .NET is a utility to easily refresh embedded graphic resources in a .NET assembly.
A standalone tool that does not require installation.
Supports VS2005/2008 (.NET 2.0/3.0/3.5), Microsoft ResX Schema v2.0 (*.resX), Embedded Resource v2.0 (*.resources)

http://visualstudiogallery.msdn.microsoft.com/en-us/469097a2-ebe4-474b-a35d-0a8a7487d8bc

Saturday, 6 June 2009

Virtualization saved the day

An error in a previously developed application was observed.
The application was developed by using VS 2003 and me just finished installing my new laptop with VS 2005.

As a solution i installed VMServer, with XP and VS 2003 and bridged it to the network :)

Friday, 5 June 2009

My First Blog Entry.... (0206 Hours)

After posting lots of Events to facebook, Now trying blogging...