Monday, November 26, 2007
I'm on Facebook..................
Posted by
Nuwan
at
4:45 PM
0
comments
Category: Personal
Friday, November 23, 2007
Achieving Interoperability between VB.NET & MATLAB
Halfway through we faced a number of issues when using MATLAB at the frontend due to its lack of support for GUI. So we opted to use VB.NET at the frontend & use MATLAB to develop the backend application. Each module was implemented as a function and called by the VB app. as follows. I believe this is the easiest method to build a GUI based MATLAB system as VB is extremely high level & doesn’t even refer to a single additional namespace to call functions implemented at the backend.
Dim MatLab As Object
MatLab = CreateObject("Matlab.Application") // the MATLAB object
result = MatLab.Execute("cd 'C:\ISSS NN'") // path where file is located
result = MatLab.Execute("match") //execute the file
Posted by
Nuwan
at
2:45 PM
0
comments
Category: Programming
Wednesday, November 21, 2007
Curtains rise on the final release of VS 2008
Microsoft released the long awaited VS2008 Final set of editions last Monday(19th) and is up for grabs for the MSDN subscribers. Framework 3.5 was also released simultaneously with VS2008.As I calculated, it would probably take 17 to 18 hours to download the 3.9 GB image file with my DSL connection. But decided against it as I’m continuously running a couple of Java Projects these days which I think need a hard disk size RAM to run smoothly.
Since it’s a 90-day trail edition, the indecision is whether to go for it or use express editions & try out the new technologies until the professional edition is released. I can hardly wait to explore LINQ with C# 3.0 .
Anyway, one way or the other I’m gonna say goodbye to NetBeans soon and get on with the new VS.
Posted by
Nuwan
at
8:49 PM
0
comments
Category: Software
Thursday, November 15, 2007
The power of LINQ
LINQ stands for Language Integrated QUery and fundamentally is about integrating query operations into the .NET platform in a comprehensive and open manner. It's also about providing a unified way to query across any kind of data, despite of the data sources being relational, objects or XML.
- LINQ to Objects
- LINQ to ADO.NET, which includes LINQ to DataSet (originally called LINQ over DataSet), LINQ to Entities & LINQ to SQL (originally called DLinq)
- LINQ to XML (originally called XLinq)
LINQ to Objects deals with in-memory data. Any class that implements the IEnumerable interface (in the System.Collections.Generic namespace) can be queried with LINQ’s standard query operators (SQO), which are implemented as methods in class Sequence in the System.Query namespace.
LINQ to ADO.NET deals with data from external sources, basically anything ADO.NET can connect to Any class that implements IEnumerable or IQueryable (in the System.Query namespace) can be queried with LINQ’s standard query operators (SQO), which are implemented as methods in class Sequence in the System.Query namespace.
LINQ to XML is a comprehensive API for in-memory XML programming. Like the rest of LINQ, it includes SQO, and it can also be used in concert with LINQ to ADO.NET, but its primary purpose is to unify and simplify the kinds of things that disparate XML tools, like XQuery, XPath, and XSLT, are typically used to do.

Posted by
Nuwan
at
7:54 PM
0
comments
Category: Software
Tuesday, November 13, 2007
Silverlight. Microsoft's newest web technology
The architecture that supports the Silverlight application is shown below. The main programming interface is the JavaScript DOM API. This allows you to respond to events raised within the Silverlight XAML (such as when content has finished loading or when an animation is complete). You can also call methods to manipulate the presentation (such as starting an animation or pausing video playback). Underneath this is the XAML parsing engine. The parser creates the in-memory XAML DOM for use by the presentation core, which handles the rendering of the graphics and animations defined by the XAML.
Silverlight aims to compete with Adobe Flash and the presentation components of Ajax. It also competes with Sun Microsystems' JavaFX, which was launched a few days after Silverlight.

Posted by
Nuwan
at
11:47 AM
0
comments
Category: Software

