Archive Page 2

Post Community Launch Thanks

In behalf of the Philippine .NET Users Group (and Philippine SQL Server Users Group, Philippine Windows Users Group), we would like to thank all people who came and graced our Community Launch event. Admittedly, we had an intimate number of people who came to the event but nonetheless I guess everyone was happy with the topics, freebies and the endless supply of Chicken Joy and drinks. 😛

Aside from some Microsofties, I also had the chance to meet Canny Wang – the MVP lead for Southeast Asia. I hope she had a great time with us during the event and the short tour of the old Manila (Intramuros, Luneta, Taft Avenue, etc.) by night after our dinner in SM Mall of Asia. You can check the event photos here and post event photos here.

Looking forward to more events of the community, two members of PHINUG will be in Subic for a .NET Symposium with the Subic-Olongapore IT Society (SOITS). This means that PHINUG will now start doing out of Manila roadshows.

What Could Have Happened

No, this is not a late reply to the withdrawal of Microsoft’s bid to acquire Yahoo. Yesterday, I brought to the office back-up of my files that came from my broken laptop hard drive. Since these are old discs and the optical drive of my laptop is quite choosy on what discs to read, I brought them to the office and have it transferred to my portable drive. I encountered several files which include the then Konfabulator, (which is now called Yahoo! widgets) – a widget software for Windows. I downloaded a newer version of that and currently use in the office.

Then all of a sudden, something came and popped up off my mind on what could have happened if the merger of Yahoo and Microsoft pushed through. Well aside from having an increased market share in the search engine business, here’s something that worth is considering (at least to myself):

Yahoo! bought Konfabulator and it made widespread use of widgets in Windows machines (I don’t know how long Apple has been using widgets in MacOS). Microsoft introduced the concepts of sidebar gadgets in Windows Vista. I am not sure how complex or how difficult would it be to create Yahoo! widgets but I am assuming that the widget runtime/SDK will complement/supplement the existing sidebar gadget development and perhaps introduce more features than what the gadgets can offer today. With the vast collection of widgets available for download, should the merger took place, a lot of these can be used/ported to Windows Sidebar.

For someone who has developed Windows Sidebar gadgets, it is quite painful to develop using existing tools. I’ve read somewhere that a tool has been made for developing sidebar gadgets using Visual Studio 2005 but development would be much more easier if there’s an API that would provide object model for sidebar gadgets.

Oh well, that’s my what could have been. Widgets/gadgets may appear as mere eyecandy but there’s a lot of potential that can be exploited to have this software be used for practical reasons. 🙂

no {frills}

We are inviting you to the Philippine {heroes} Community Launch event on 7 June 2008. The 3 user groups, Philippine .NET Users Group, Philippine Windows Users Group, and Philipine SQL Server Users Group will conduct technical topics surrounding these great technologies.

See the official announcement here and sign-up page (as well other details) is located here.

Just a quick note that this is a User-group led initiative. 🙂

Building Some Web TreeViews

The TreeView control in ASP.NET 2.0 is used to display hierarchical data, such as table of contents or file directory in a tree structure. In most applications that I do, I use the TreeView control to show file directory structure. I was able to create a class that populates a TreeView provided with a physical directory structure residing on the same computer as to where the server is running. Rename the file below to .dll and use it as a reference on your web application. Once added to your web application usage would be:

using System;
// include other namespaces as needed
using PhysicalTreeView;

public partial class Default : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
        string location;
        pTreeView ptv = new pTreeView(location);
        // the example below is valid without specifying the "isWeb" to false.
        pTreeView ptv = new pTreeView("~/");
        ptv.isWeb = false;

By default, the variable location will treat the path as a virtual path. If you want to specify a specific physical directory, you can specify the 8 character directory format as a location value but you need to specify the property “isWeb” as “false” and as shown above. The “TreeView1” is assumed to be a TreeView control placed onto the ASPX file. For testing purposes, you can put in your code behind the following code without placing a TreeView control in your ASPX file but will output the same.

TreeView TreeView1 = new TreeView();
string location;
pTreeView ptv = new pTreeView(location);
// the example below is valid without specifying the "isWeb" to false.
pTreeView ptv = new pTreeView("~/");
ptv.isWeb = false;


Physical Drive TreeView DLL

The challenge for me is to bring the same functionality to a SourceSafe database which is despite having a directory like structure isn’t directory based at all when accessed programmatically. Furthermore, the DLL provided with Visual Source Safe 2005 isn’t a native .NET object but a COM interop one.

Luckily, using the same logic behind the previous DLL, I managed to create a DLL to populate a TreeView from a SourceSafe database. The constructor needs only 3 parameters namely the database location, username, and password.

Sample usage would be:

using ProjectTreeView;

public partial class _Default : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)

        string location, user, password;
        // Populate your own values

        ssTreeView stv = new ssTreeView(location, user, password);


Same with the code above, the code assumes that there’s a TreeView control instance in the ASPX file that has an ID of “TreeView1”.

Sourcesafe TreeView

For questions, feel free to add some comments. 🙂

Sourcesafe Automation Bug

As part of my continuing project in Sourcesafe Automation, I found a weird behavior of the Visual Studio Sourcesafe Interop DLL.

The following code is in Visual Basic 5 which basically connects to a Sourcesafe database and lists all the projects in the root folder of the database.

Dim vssdb As New VSSDatabase
vssdb.Open "<location to sourcesafe srcsafe.ini>", "<username>", "<password>"
Dim xitem As VSSItem
For Each xitem In vssdb.VSSItem(0).Items(False)
   Debug.Print (xitem.Name)

Subsequently, the code equivalent in C# (.NET) , is something that I have blogged before. What I find unusual about the Sourcesafe Interop DLL are the following items:

Continue reading ‘Sourcesafe Automation Bug’

Thank You from PHINUG

A big thanks to those who participated in the Philippine Launch Wave of Visual Studio 2008, Windows Server 2008, and SQL Server 2008. The event was a huge success not only for Microsoft Philippines but for the user groups who was present during the launch delivering mini-sessions as well as the breakout session.

We had to change topic on the day prior the launch as our prepared topic was quite different from what was advertised. Our supposed topic was a Windows Presentation Foundation using Visual Studio 2008 but what was advertised was “Visual Studio 2008”. Personally, I think that the topic is too technical for a launch event but I have decided to have this topic to be delivered in future events. Fortunately, we were able to get speakers from the core group of PHINUG: Jonjon Limjap on Language Enhancements for C# 3.0 and VB 9.0, Edu Lorenzo for LINQ and of course, yours truly for Windows Presentation Foundation.

The Speakers

Jonjon on his Language Enhancements talk

Edu on his LINQ talk

me, on WPF

I had to cut my time short in our breakout session due to time constraint but I do hope I was able to convey the message I am doing for WPF. There were a lot of people who were interested with the new developer technologies and from students, professionals, business owners, we were able to at the least address their concerns on migrating, etc.

Most of the things that we presented on stage are demos and if I’m not mistaken, we only have 5 slides on stage that includes the welcome and thank you messages. No downloads yet at this point (well at least for me) and I’ll post the demos on our next event.

Again, thank you to those who came, who dropped by our event, and I hope the group was able to help you out with your concerns.

Lap Around Visual Studio 2008

On Thursday, come and join the Philippine .NET Users Group (PHINUG) on their breakout session titled “Windows Presentation Foundation” Using Visual Studio 2008 Lap Around Visual Studio 2008. While other UGs will have a session of their own, PHINUG will also host some mini-sessions in their booth on Windows Live Services, LINQ, Language Enhancements of C# and VB.NET, ASP.NET 3.5 to be delivered by various members of PHINUG.

The event would be hosted with the launch wave of Visual Studio 2008, SQL Server 2008, and Windows Server 2008 here in the Philippines on 10 April 2008

On the launch date, we will be raffling off exam vouchers every hour commencing at 0900H on the launch day and as a grand prize, we’re raffling off a Technet Plus Subscription to any registered member of PHINUG.

If you’re not yet a member of PHINUG, you can sign-up here. We hope to see you in our event and learn more of the new technologies from Microsoft.

Edit: PHINUG’s presentation would be delivered by three speakers. The Windows Presentation Foundation in Visual Studio 2008 shall be delivered in a separate PHINUG Tech Sharing or an in-house MSDN session.

Blog Stats

  • 3,922 hits
June 2017
« Nov