Create groups programmatically in WSS 3.0

Here are some simple codes to do it:

1. Add the group (newMembersGroup)
2. Set the permissions of the group (role assignment) to contributor
3. Add the author to the group.
4. Associate the group to the site.

Read the rest of this entry (moved to www.bronios.com) »

Online collaboration for teamwork and project management

I got chance to work in different type of companies in my working life. Basically it can be categorized in to 2 types; either project base or product base. However, I found that most of the project or product development is not being managed well. You can see someone is doing nothing all the time and someone is busy like hell. Manager or top management never knows exactly what the progress is. We do not really have a system to manage, assign task to worker, and keep track the progress of each individual’s task. We always end up with sending, replying email in order to communicate, and sharing files among team members. It was really a terrible experience.

Read the rest of this entry (moved to www.bronios.com) »

How to install and deploy BSM 2005 into MOSS 2007

Business Scorecard Manager 2005 is not supported officially in MOSS 2007. Here are some work around to make it work.

To install BSM 2005:

Read the rest of this entry (moved to www.bronios.com) »

Adding item to sharepoint 2003 SPList Programmatically

I come accross some problems when adding new item to a SPList. The error i got is “Value does not fall within the expected range. ” This would only happen if you target list is empty. After do some googling, this seems is MS known bugs. Luckly there is workarround to solve this issue. Simple rules is

1. Add a new item, assign “Title” item and save it

2. Get the newly created item and update it with remaining items.

Here are the codes:

Read the rest of this entry (moved to www.bronios.com) »

MS SQL xp_cmdshell permission error

Do you ever get Access denied error when using MS SQL xp_cmdshell command?

E.g. I have an special AD account access to \\server2\backups folder. In my Store Procedure, I have to copy db.bak from local folder to share folder.

Read the rest of this entry (moved to www.bronios.com) »