Monday, August 15, 2005

Grand Theft Auto: San Andreas/Appendices/Game Mods - Wikibooks

Grand Theft Auto: San Andreas/Appendices/Game Mods - Wikibooks

Monday, August 08, 2005

how Software Engineers jump from company to company!!!

I got this mail from one of my friend.mmmm Do we like this ???



Thursday, July 28, 2005

Stuck with GTA San Andreas

I dont know why i am loving this Rockstar games.i have played lot of gems like Maxpayne,Manhunt,GTA 1,2,3 and GTA San Anderas.if u want to play Advanced games(3rd person) u have to paly with Rockstar

Friday, July 22, 2005

Interested in new Windows Vista Development??

Interested in new Windows Vista Development??

Read More...

Wednesday, July 20, 2005

Have you Heard about Hakon Lie

Have You Heard About Hakon Lie ???

Creation of CSS. All the credits goes to Hakon Lie ?????


Hakon Lie works for Opera Software as Chief Technology Officer. He came to Opera from W3C, where he was responsible for style sheets. In 1994, Hakon proposed the concept of Cascading Style Sheets, which now are implemented by all major browsers. He is a graduate of the MIT Media Lab.

Read More >>

Monday, July 18, 2005

Data Access Application Block for .NET

I got someinfo from MSDN(2004 july).it's very interesting. have a look.

Are you involved in the design and development of data access code for .NET-based applications? Have you ever felt that you write the same data access code again and again? Have you wrapped data access code in helper functions that let you call a stored procedure in one line? If so, the Microsoft Data Access Application Block for .NET is for you.

The Data Access Application Block encapsulates performance and resource management best practices for accessing Microsoft SQL Server databases. It can easily be used as a building block in your own .NET-based application. If you use it, you will reduce the amount of custom code you need to create, test, and maintain.

So we can Create One data access class for all da application wich access Data base.


Public Shared Sub PrepareCommand(ByVal command As SqlCommand, _
ByRef connection As SqlConnection, _
ByVal commandType As CommandType, _
ByVal commandText As String, _
ByRef mustCloseConnection As Boolean)


If (command Is Nothing) Then Throw New ArgumentNullException("command")
If (commandText Is Nothing OrElse commandText.Length = 0) Then Throw New ArgumentNullException("commandText")

If connection.State <> ConnectionState.Open Then
connection.Open()
mustCloseConnection = True
Else
mustCloseConnection = False
End If

command.Connection = connection
command.CommandText = commandText
command.CommandType = commandType
Return

End Sub

Comman Select Statement

Private Shared Function PrepareSQLSelect(ByVal strSQL As SqlSelect) As String

If (strSQL Is Nothing) Then
Throw New ArgumentNullException("strSQL")
Else
If strSQL.TableName = "" Then
Throw New ArgumentNullException("strSQL.TableName")
End If
End If


'create SQL Select
Dim str As New StringBuilder(QuerySize)
With strSQL
If .FieldName <> "" Then
str.Append("SELECT ")
str.Append(.FieldName)
str.Append(" FROM ")
str.Append(.TableName)
Else
str.Append("SELECT * FROM ")
str.Append(.TableName)
End If


If .CmdWhere <> "" Then
str.Append(" WHERE ")
str.Append(.CmdWhere)
End If
If .SortBy <> "" Then
str.Append(" ORDER BY ")
str.Append(.SortBy)
End If
End With
Return str.ToString
End Function


Like wise we can write other functions like Insert,Delete and update.once You Create SQLHELPER Class, i think your data accessing will be Nothing

Source
http://www.gotdotnet.com/workspaces/workspace.aspx?id=c20d12b0-af52-402b-9b7c-aaeb21d1f431

Tuesday, July 12, 2005

"Designed for Windows XP" Application Specification

Microsoft has developed this specification to identify applications that run successfully on Windows XP and provide a quality user experience. This specification will help software developers by defining the minimum requirements for applications to operate on Windows XP. Sections include: How to Comply with Windows Fundamental Requirements; Install/Uninstall Requirements; Data and Settings Management; and Checklist for Windows XP Compatibility.
See http://www.microsoft.com/winlogo/software/downloads.mspx
http://www.microsoft.com/winlogo/software/


These are the top reasons that your customers benefit from an application that meets this compatibility specification:

· The installation and removal of the application are similar to other applications with which the user is familiar.

· Application installation and application execution are less likely to interfere with other applications that the user has already installed.

· The user’s first experience with an application is improved because unnecessary reboots are eliminated.

· The application is unlikely to cause the user’s computer to fail or function improperly.

· The application makes it easier for family or friends to share a personal computer.

· The application runs in a tightly controlled environment to enable parents to secure the computer but still allow children to run applications, or enable Information Technology professionals to secure the computer properly.

· The application runs correctly on Microsoft® Windows XP, reducing customer frustration and reducing support calls.


Logo Options(sample)






Resources :-

Windows Logo Program Website
http://www.microsoft.com/winlogo
Application Compatibility Toolkit (including Application Verifier)
http://www.microsoft.com/winlogo/downloads/tools.asp
“Designed for Windows XP” for software developers
http://www.microsoft.com/winlogo/software
“Designed for Windows XP” support email
swlogo@microsoft.com
“Certified for Windows” logo program
http://msdn.microsoft.com/certification
Developer information
http://msdn.microsoft.com/windows
Application compatibility Information
http://msdn.microsoft.com/compatibility
Knowledge Base
http://www.microsoft.com/support
Microsoft Platform SDK (Software Developer Kit)
Win32® and Win64™ application programming interfaces (APIs) - http://msdn.microsoft.com/downloads/

Can we Run ASP.NEt in Linux Web Server

I had to Run our ASP.NEt Web Portal on Linux web server.what do u think???.can we do it.Thanks for MONo it's not a big issue now.u can convert ur ASp.net project to linux webserver.But u hvae to use C# other than Vb.net.

Monday, July 11, 2005

Some ADO.NET Tricks

Passing Null as a Parameter Value

When sending a null value as a Parameter value in a command to the database, you cannot use null Instead you need to use DBNull.Value.
For example:

VB.NET
Dim param As SqlParameter = New SqlParameter("@Name", SqlDbType.NVarChar, 20)
param.Value = DBNull.Value


C#

SqlParameter param = new SqlParameter("@Name", SqlDbType.NVarChar, 20);
param.Value = DBNull.Value;


Optimizing Connections with the DataAdapter

The Fill and Update methods, of the DataAdapter, automatically open the connection specified for the related command property if Specific Connection is closed. If the Fill or Update method open the connection, Fill or Update will close it when the operation is complete. For best performance, keep connections to the database open only when required. Also, reduce the number of times you open and close a connection for multiple operations.

when performing transactions, explicitly open the connection before beginning the transaction and close the connection after you commit


Public Sub RunSqlTransaction(ByVal MyDA As SqlDataAdapter, ByVal myConn As SqlConnection, ByVal MyDS As DataSet)

myConn.Open()
Dim myTrans As SqlTransaction = myConn.BeginTransaction()
myCommand.Transaction = myTrans

Try
MyDA.Update(MyDS)
myTrans.Commit()
Console.WriteLine("Update successful.")

Catch e As Exception

Try
myTrans.Rollback()

Catch ex As SqlException

If Not myTrans.Connection Is Nothing Then
Console.WriteLine("An exception of type " & ex.GetType().ToString() & _
" was encountered while attempting to roll back the transaction.")
End If

End Try

Console.WriteLine("An exception of type " & e.GetType().ToString() & " was encountered.")
Console.WriteLine("Update failed.")
End Try

myConn.Close()

End Sub

Sunday, July 10, 2005

Still First in ma Mind

everyone may come and go. but i still prefer theese guys

Here with out u (3 doors Down)


















(image from http://www.3doorsdown.com)


The Reason (Hoobastank)


I'm not a perfect person
There's many things I wish I didn't do
But I continue learning
I never meant to do those things to you
And so I have to say before I go
That I just want you to know

I've found a reason for me
To change who I used to be
A reason to start over new
and the reason is you......
................


(image from http://www.hoobastank.com)

Wednesday, July 06, 2005

I got through my first MCP.

i got through my first Microsoft Certified Exam(70-316) last Sunday.mmm wanna lean more about XML and Coding Technics.lets Do it

Friday, June 17, 2005

Searching About Object-relational mapping

Creating Classes was becoming a Headache .But then I start to find a way to go beyond from this Coding. if we can Create Classes according to our Tables,Stored procedures and views then it will be Easy. I had never heard about this term call ORM before. Thanks my buddy thusitha giving this term.So I started to Search about ORM and I found this NHibernate. Mmmmmmm…… wanna learn about ORM now. :)

Help me ..........................

Monday, June 13, 2005

Going through the MS self pass Training kit

it's very hard to remember all these prperties and methods. what to do.any how i have to be a God refarance for my self.these days i am gooing through ADO.net Chapter.i wish i can remember all theese thigs

Friday, June 10, 2005

Will it be possible to Go through ma Exam

i want to go through my first exam of MCSD.NET. hmmmmm, Doing some Self Studies with MS self Pass training Kit.i dont think it will b Enough

have to find some Resourses.......

waiting 4 Testking new version

Thursday, June 09, 2005

What is a Blog ??????

Started my first ever blog coz one of ma friend (tnx Buddy). Hope to do my first Microsoft exam on end of this Month.
Oh God Help Me !!!!!


More Details coming soon ...