Thursday, July 30, 2009
Improved calculator application on Windows 7
All 4 calculator types can be accessed from the view menu. Here are the four different types.
Standard
Scientific
Programmer
Statistics
Wednesday, July 29, 2009
In Vista Home Premium computer name is not in the hosts file
If you try to ping your own computer by name which has Vista Home Premium then you will
get a General failure. However, if you add the computer name to your host's file then
you can ping using the computer name. Note that the hosts file is not a text file.
The first ping to Hodentek3 returned General Failure
I modified the hosts file to include the computer name
The second ping is now accessing the computer by name
---------------------
C:\>ping Hodentek3 [Vista Home Premium]
Pinging HODENTEK3 [fe80::2c52:eb4:3f57:fe99%13] from fe80::2c52:eb4:3f57:fe99%13
with 32 bytes of data:
General failure.
General failure.
General failure.
General failure.
Ping statistics for fe80::2c52:eb4:3f57:fe99%13:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
After modifying the hosts file
C:\>ping Hodentek3 [Vista Home Premium]
Pinging Hodentek3 [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Homegroup on Windows 7 is not the same as Workgroup
I have shared folders on my wireless connected Windows XP SP3 computer but I cannot access them from my Windows 7. However Windows 7 computer belongs to my workgroup computers on Windows XP SP3. I can access files in the shared folders of my Windows 7 on the XP Computer.
However I managed to get the Remote Desktop functionality and can access my XP SP3 through this remote connection.
Looks like Homegroup is not the same as Workgroup.
Exporting data from MS Access to EnterpriseDB
business sense to them. Because of this businesses sometimes need to migrate, only
a part or all of their data to another kind of software.
This article discusses how to move data from MS Access to EnterpriseDB. Although EnterpriseDB
has a custom Migration tool, it does not provide out of the box support for MS ACCESS. However
MS ACCESS can export a table to EnterpriseDB using an ODBC Data connection.
This article appeared on the Databasedev.co.uk site recently,
Exporting a table from Microsoft Access to EnterpriseDB
For a number of other EnterpriseDB related articles search my blog.
Monday, July 27, 2009
Turn off Microsoft Oracle Client and turn on ODP.NET
deprecate the System.Data.OracleClient. The developers will of course migrate their applications
that use this product.
The comparison listing of ODP.NET and Microsoft Oracle Client shows a lot of no's for Microsoft and lots of yes's for Oracle's ODP.NET. Of course you want to join the "yes" gang.
The ODAC downloads are on this page for specified versions of Visual Studio and Oracle versions
here.
For example the ODAC 11g 11.1.0.6.21 include the following:
a) Oracle Providers for ASP.NET (11.1.0.6.20)
b) Orale Data Provider for .NET 2.0 (11.1.0.6.20)
c) Oracle Data Provider for .NET 1.x (11.1.0.6.20)
d) Oracle Developer Tools for Visual Studio (11.1.0.6.20)
e) Oracle Database Extensions for .NET 2.0 (11.1.0.6.20) -- upgrade only
f) Oracle Database Extensions for .NET 1.x (11.1.0.6.20) -- upgrade only
g) Oracle Provider for OLE DB (11.1.0.6.10)
h) Oracle Objects for OLE (11.1.0.6.10)
i) Oracle ODBC Driver (11.1.0.6.0)
j) Oracle Services for Microsoft Transaction Server (11.1.0.6.0)
k) Oracle SQL*Plus (11.1.0.6.0)
l) Oracle Instant Client (11.1.0.6.0)
In order to install the above Visual Studio 2008 and Oracle 11g Servers are needed. While installing make sure that there are no white spaces in the installation folders and sub-directories.
I tried to install with my 10G XE and I got this:
Thursday, July 23, 2009
Throw away your reading glasses
Control + and Control - in Firefox 3.5 is great on the eyes
This is obviously with Control Key and Minus Key(-)
Wednesday, July 22, 2009
Implicit Line Continuation for VB in VS2010
an underscore to continue the statement on another line. If you did not you
would get build errors.
This has gone in VS 2010 and you can break statement as the C# guys did.
This is a most welcome and long awaited feature. In VS2010 line continuation
is implicit. However if you were to leave it by habit, the program will forgive you.
Monday, July 20, 2009
Finally I installed SQL Server Management Studio on Vista Home Premium
Studio from SQLManagementStudio_x86_ENU I decided to try the next one on line,
SQLEXPRADV_x86_ENU.exe (502.7 MB)
It looks like the Add features to an existing instance of SQL Server 2008 brings up a window where everything is greyed out even in this version.
I decided to install with the other option,
Perform a new installation of SQL Server 2008
This adds a new named instance of SQL Server Express which you will configure in the the SQL Server2008 Setup screens.
I have a default instance installed when I installed VS2010 and the new named instance (which I called VistaExpress) of SQL Express. Now both these can be accessed by the SQL Server Management Studio.
Bottom line:
If you already have a SQL Express installed by VS2010 then you can install SQL Server Managment Studio only if you install another instance.
Perhaps even SQLManagementStudio_x86_ENU can add in SQL Server Management Studio if you were to choose the first option (Perform a new installation of SQL Server 2008)
Installing SQL Server Management Studio
- It has only Import and Export Data (32bit)
- SQL Server Configuration Manager
SQLManagementStudio_x86_ENU
If you think you will be installing the Management Studio you will be fooled (this was probably created for the April 1 downloaders)
Here are the screen shots of what it really tried to install.
May be the following download may contain the Management Studio.
SQLEXPRADV_x86_ENU.exe (502.7 MB)
Brief description of the above lifted from Microsoft documentation to quote:
"Microsoft SQL Server 2008 Express with Advanced Services is a free, easy-to-use version of the SQL Server Express data platform that includes an advanced graphical management tool and powerful features for reporting and advanced text-based searches. This edition provides powerful and reliable data management tools and rich features, data protection, and fast performance. It is ideal for small server applications and local data stores."
Now back to the installations shots of the one that had the name but no tool:
The SDK is greyed out and choosing any of these produces an exception.
If you try to search for the SQL Client Connectivity SDK mentioned you will hit a hardwall.
Well done Microsoft.
Tweets with Linq
Link to Twitter
Follow me on Twitter if you feel like,
http://twitter.com/subbagiri
Thursday, July 16, 2009
Folder and File Sharing between Windows XP Pro and Vista Home Premium
My setup consists of two desktop computers(XPHTEK and Hodentek) which are connected by wired LAN and two laptops. All four computers are wireless networked.
The two lap tops are, a Toshiba Satellite P 105-S6134 lap top(Hodentek2) with Windows Media Center Edition and a Acer Aspire Timeline note book( with Vista Home Premium).
The very first thing to do is to see if all computers (they are as can be seen) are part of a network.
-------------
Pinging Hodentek3 [192.168.1.102] with 32 bytes of data:
Reply from 192.168.1.102: bytes=32 time=67ms TTL=128
Reply from 192.168.1.102: bytes=32 time=90ms TTL=128
Reply from 192.168.1.102: bytes=32 time=10ms TTL=128
Reply from 192.168.1.102: bytes=32 time=33ms TTL=128
Ping statistics for 192.168.1.102:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 10ms, Maximum = 90ms, Average = 50ms
C:\Documents and Settings\Jayaram Krishnaswamy>net view
Server Name Remark
-------------------------------------------------------------------
---
\\HODENTEK For articles and consulting
\\HODENTEK2 Consulting & Writing
\\HODENTEK3 Hodentek3
\\XPHTEK XPHTEK
The command completed successfully.
-------------------------
In the Vista machine(Hodentek3) you should access Control Panel | Network and Sharing Center and turn on Public Folder Sharing and Password Protected Sharing (Read every bit before you do this as you will be exposing your surface area).
In the Vista machine you should place check marks for Routing and Remote Access and Remote Volume Management Check boxes as shown and click Apply. You need not turn-off the Windows Firewall.
For the folder which you want shared you should click on the Share menu item in the properties of the folder(right click the folder to get this) and enable it to be shared. In the permissions you should
add the user who wants to access this (the computer user of Hodentek2, for example) folder. When the folder is shared you should be able to see the network path as shown.
After this you will be able to access the folder on the Vista Machine on your Windows XP Pro machine as shown.
Happy file sharing!!!
Tuesday, July 14, 2009
Experience installing VPC on a brand new PC with OS - Vista Home Premium
MS Chart bound to a dataset
Dataset is often created in data centric web applications and this article brought to you by DotNetSlackers.com shows how you may bind MS Chart to a dataset. This article is the 4th of a series of articles on Microsoft Chart Control.
Binding a Microsoft Chart with a Dataset
Links to previous articles:
Saturday, July 11, 2009
SWF file I created a few years ago
http://www.angelfire.com/vt2/hodentek/Htek3.swf
I think (but I am not sure) whether the program I used from the following link. I enjoyed paying with it anyway.
http://www.sothink.com/product/swfquicker/index.htm
Wednesday, July 08, 2009
I love SVG and Inkscape is cool
Taking a table over to MySQL from MS Access
MySQL was bought by SUN
SUN agrees to be bought by Oracle
It's big fish eating tiny fish. May be not that tiny either.
But MySQL has a large coterie of lovers and it is the largest open source database product. As it always happen people are restless. There is always a need for moving things from here to there and there to here. We live in a dynamic world.
Here is an article that shows how you can move data from MS Access 2003 to MySQL. The XAMPP shipped MySQL is used.
In this article the built-in method of exporting tables in Microsoft Access is explored to take a table in Microsoft over to MySQL, the open source database product that changed hands recently. This article steps you through the process with a number of screen shots to guide you along the way.
Exporting data from MS Access to MySQL
Monday, July 06, 2009
This is unfair, I cannot downgrade Vista
Well Windows XP does support VPC and so I reasoned why not downgrade to Windows XP Professional. Well it turns out the downgrade is not available for Vista Home Premium. This is unfair as till recently most laptops shipped with the Windows Media Center edition which is a Windows XP Professional. This is clearly unfair of Microsoft in not supporting downgrading Vista (any edition). Looks like I need to shell out another $200 to upgrade to a non-home Vista. Vista home is probably good for home entertainment and not for developers.
Downgrading Vista
Friday, July 03, 2009
Moving data from MS Access 2003 to SQL Server 2008
This article is brought to you from Packt Publishing, the publisher of books on software
Review the following article and see how data is moved from MS Access 2003 to SQL Server 2008:
Transferring Data from MS Access 2003 to SQL Server 2008
Wednesday, July 01, 2009
Binding MS Chart Control to data
Review the following article which appeared on the the DotNetSlacker's site:
Microsoft Chart with ASP.NET 3.5 – Part 2