Posts

Showing posts from February, 2011

Connecting DB2/iSeries From .net Application

Image
I need to connect to a DB2 from a .net application. But it’s  in iSeries system. I did not know what is the way do it. I read lot of articles/blog posts and really helped me. But in this post, I thought to consolidate them for fast reference. There are two .net data providers for DB2.IBM.Data.DB2.iSeries IBM.Data.DB2Both provider follows same rules/guidelines of common ADO.net components. For an example, both have Connection, Command, DataAdapter, DataReader. But there are differences and limitations.IBM.Data.DB2.iSeriesUsing this provider you can only access to iSeries system. You have to install iSeries Client Access to development machine and/or server. It is quite a bit setup file ( > 3GB with 64Bit version), but we required (refer the bellow screen shots).NET Data Provider Header,Library and Documentation. Figure 1There are limitations/unsupported features [IBM Redbooks 2005 ,Page 38]  in this provider, bellow lists 3 out of 11. User-defined types (UDTs): Although some featu…

Visual Studio Add-Ins not showing in the “Tool” menu

Image
For my developments, I am using VS 2005, VS 2008 and VS 2010 side  by side. I have developed couple of Add-ins (XML Add-Ins) for my own use to ease the development, one can be found in this blog.Last week I installed DB2 connection tool kit( for testing purposes) which installed a VS Add-in (COM Add-in) too. I removed that product from my system, it also removing the Add-ins. My other Add-ins also gone from the “Tool” menu (This happened only to VS 2005 & 2008). But in Add-In Manger I can see them,What I did?I found lots of tips from the Net. All are talking about Registry Entries and devenv command.running devenv /setup


failed.

Changing
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\<version>\PreloadAddinStateManaged
<MyAddIn Name> value

value 2 to 1 failed.
running
devenv.exe /resetaddin [Namespace].Class
worked. This wont delete any Add-ins from the disk. You have to re-load them from the Add-ins Manger.

References

Visual Studio Forums
MZ-Tools

Creating MS SharePoint meeting workspace from MS Outlook 2010

Image
Microsoft SharePoint is tremendous collaboration tool for an organization.  As a software engineer I’m using SharePoint to manage my team, their activities, event customers requirements. In SharePoint, we can manage meeting workspace where we can store relevant documents, agenda, decisions etc. All attendees can share them, hence it is easy to use for later references. Here is the simple steps to create meeting workspace from Outlook 2010.Adding “Meeting Workspace” icon to the Quick Access tool bar of Meeting window. Go to “Calendar” File-> Option & follow the numbered
Setup the meeting request as usually. Click on “Meeting Workspace” icon Now you can see a panel named “Meeting Workspace” on the right hand side of Meeting request window. There,
Select a Location.
Select a type of Meeting workspace. Eg. Basic Meeting Workspace, Blank Meeting Workspace etc. Click on “Link” button and it will embed to meeting workspace link to the email body.
Security
By Default, all invited a…