Internet Explorer 8 is finally here and you can download it here. The improved IE8 markets itself as having a faster browsing speed then IE7, accelerators, InPrivate Browsing, Web Slices, Search Suggestions and SmartScreen Filter.
[Read more…]
Difference Between VB.NET Logical Operator And VS AndAlso
The easiest way to learn the difference is by looking at a coding example in vb.net
dim a as object
case 1: using And
If (a isnot nothing) And (a.tostring = “”) Then
‘ do something here
End if
The only problem with the code above is that it will give an error when a.tostring=”” is evaluted since a is simply a declaration and doesn’t hold anything yet until it’s initialized, for example: a = new something
This could be eaily solved by using AndAlso which brings us to
case 2: Using AndAlso
If (a isnot nothing) AndAlso (a.tostring = “”) Then
‘ do something here
End if
In essence, what AndAlso does is that it ensures that the second condition (a.tostring = “”) is only evaluted if the first condition (a isnot nothing) is true.
The other way is to look at this as two seperate if else
if a isnot nothing then
if a.tostring = “” then
‘ do somrthing here
end if
end if
So that’s about it!
What Is Managed Code and Unmanaged Code?
I was learning about using visual studio profiler to capture performance bottlenecks and kept on reading and hearing about these 2 terms. So what do they mean exactly?
[Read more…]
Start ASP.NET Web Development with Microsoft Web Platform
Keen to learn how to build websites in ASP.NET? Microsoft Web Platform has the answer. The entire Microsoft Web Platform includes Visual Web Developer, SQL Server Express, Silverlight Tools, IIS and ASP.NET Extensions which are just what you’ll need to get started.
[Read more…]
Visual Studio 2005 Performance Report Contains No Data
If you are using Visual Studio 2005’s profiler on a Intel Dual Core processor and getting the error message “Performance Report *.vsp contains no data”, you will need to get VS2005 SP1. The issue has to do with the fact that VS2005 profiler doesn’t support Dual Core processors until you apply the SP1 update. More info on this forum thread.
Useful iPhone Apps for Web Developers
If you’re a web developer or just own a few sites of your own, you might need to get an iPhone. In this htmlgoodies article titled “The iPhone as a Tool for the Web Developer“, 3 iPhone apps that could improve a web developer’s productivity and mobility were introduced.
[Read more…]
Windows 7 Post Beta Changes
Windows 7 beta was released for test drive back in January 2009 and was pretty well received from techies. The windows 7 engineering team has since gather users feedbacks and working to improve it for the final release (which several online sources says that it will come at the end of 2009). You can read about these improvement/changes on the Engineering Windows 7 blog.
How To Get File Modified Date in PHP
This is how you can find out when a file was modified in PHP.
[Read more…]
How To Change Opera User Agent String
Also known as user agent spoofing, here are 2 ways to fake Opera’s user agent string so that it will identify itself as Internet Explorer or Firefox. There are some sites which are made only for Internet Explorer or simply don’t support Opera yet and stop loading when you visit. This annoys me sometimes since Opera is my default browser.
[Read more…]
How To Get Recent Posts In WordPress
Let’s say you want the 10 latest post of your blog to be displayed in the sidebar or footer, you can use “Recent Post” widgets or other wordpress functions such as wp_get_archives or wp_get_recent_posts to do so. [Read more…]