Archive for the 'Computing' Category

How to pass InfoPath form fields to SharePoint workflow but hide from Document Library item properties

Challenge:

Create a form in InfoPath 2007 and implement a SharePoint Workflow to it for approval processes. In each step, a Status field in the InfoPat form should be updated automatically according to the change of workflow task status. So a different view in the InfoPath can be opened based on the Status field in the form.

But after the InfoPath was published to the SharePoint (MOSS 2007 with InfoPath Form Services turned on) as Document Library and Content type, the Status field could not be displayed when “Set Field value in Current item” action was selected in the workflow design. Even it was promoted to be available in the SharePoint document library.

Continue reading ‘How to pass InfoPath form fields to SharePoint workflow but hide from Document Library item properties’

Related posts

How to fix non working “Edit this task” button of SharePoint workflow notice in Outlook and InfoPath 2007

Challenge:

Set up a workflow for the InfoPath form in the MOSS 2007 and the workflow worked fine. The approval notice had been sent to the next person’s mailbox, but the Edit this task button on the toolbar of Outlook 2007 did not work. When you click it, nothing happened. You can click the infopath xml link in the message body and the infoPath form was opened. And the Edit this task button in the InfoPath 2007 message bar did not work either.

According to Kerry’s MOSS blog:

This is apparently related to Outlook 2007 using InfoPath to display the approve/reject form. This form contains a CLSID of {00000000-0000-0000-0000-000000000000}. This CLSID is apparently “kill bitted” on some systems and is prevented from being displayed.

Continue reading ‘How to fix non working “Edit this task” button of SharePoint workflow notice in Outlook and InfoPath 2007′

Related posts

How to remove XP Internet Security 2010 malware rogues

XPInternetSecurity_alertToday got a call from a friend and was told that her computer might be virus infection since a new anti-virus software always prompted up and warned her everything. And this new anti-virus is named “XP Internet Security 2010″, but she said she never installed it before. Now she was scared since too many viruses found on her computer according to the ‘XP Internet Security 2010″ application warned. Based on what she said, I could tell she got a new malware infected instead of a lot of viruses.

Continue reading ‘How to remove XP Internet Security 2010 malware rogues’

Related posts

You should act to get your favorite Twitter ID back or to protect it from being taken

twitter_logoJust read an interesting article about Twitter’s ID name on CDNET, saying How the restaurant chain Denny’s tries to claim a twitter ID Dennys who belongs to a Chinese guy with Dennys in his first name (http://bit.ly/9DUwEE).

Which makes me think how important the social network branding for the business. Before there was domain name registration war, now we should pay attention on the social networking account name registration as well. If you are a business, and if you do not act earlier someone else will get your favorite name registered first. After that, it is very hard for you to get back provided the first-registered is not going to impersonate you or the Twitter ID associates to his/her name or he/she is active on the using it.

Continue reading ‘You should act to get your favorite Twitter ID back or to protect it from being taken’

Related posts

How to use script auto-convert all WORD files into PDF with Office 2007

Say you have a few hundreds WORD (*.doc and *.docx) files on your computer, and you need to convert them all into PDF format files. Yes, you can open them and then Save As into PDF in WORD 2007 one by one, or you can highlight all of them (provided they are in the same folder) and print them into PDF format. But you still need to click a few hundreds times mouse to answer Save As… questions within Word. Is there a way to automate it.

Hey, you might say I already mentioned this similar feature in my previous post (http://lichao.net/eblog/how-to-auto-find-and-replace-text-in-bulk-word-files-and-save-convert-to-other-format-with-script-201002475.html). But that script was mainly created for Find and Replace feature and there is a glitch in the PDF convert bonus feature. If you have Word 2007 installed on your machine, and that script will prompt you with READ-ONLY permission warning if your Word files are in 2003 version. But if you use that script on Word 2003 machine, the PDF convert feature will not work. So we need to create separate PDF convert scripts for Word 2003 and Word 2007.

Continue reading ‘How to use script auto-convert all WORD files into PDF with Office 2007′

Related posts

How to post Twitter tweets onto Facebook Fan Page Wall and Profile status update

imageAs I suggested before (see the bottom appendix part) you can easily connect your Facebook Fan Page to the twitter account. With this connection, all of your fan page status updates will become tweets and be published onto your twitter account.

Now how about the reverse or the other direction around? Meaning, can your tweets be auto published to your Facebook Fan Page Wall? The answer is YES with capital Y, although it is not as easy as the way of linking fan page to twitter.

Continue reading ‘How to post Twitter tweets onto Facebook Fan Page Wall and Profile status update’

Related posts

How to auto find and replace text in bulk Word files and save convert to other format with script

Challenge:

As I indicated in my previous post, I needed to rename thousands Microsoft Word documents based on the updated old/new catalog ID pairs.

But that was just one part of my requirement. Since these Word DOC files have the old catalog IDs inside the content which need to be updated with new IDs as well. The methods of my previous post could only resolve the file name part but not the contents.

Unsuccessful trials

I started with some existing utilities I found on the Internet but they were not working as I hoped.

1), I tried the Useful File Utility along with its free plug-in “Batch Replacer for MS Word” (Useful File Utility is a shareware which can allow you to use 15 times for free, then $29 for a single user license). It looks promising as it indicated on its web page, but it failed on me with too many un-successful replaces in a few hundreds files.

2), I was impressed with this VBA macro I found on Internet named VBA Find and Replace. But it could not work well with the Find and Replace text list. I always get an error saying my name list is not valid.

After one night’s trying, I decided to write my own script to handle such automate job.

Continue reading ‘How to auto find and replace text in bulk Word files and save convert to other format with script’

Related posts

How to rename thousands Word documents file name in bulk based on an Excel list

Challenge:

We have a few hundreds Microsoft Word documents with old catalog names as their file names. We need to rename them with these new catalog ID as their new file name.  Good thing is that we already have these old/new catalog name pairs in an Excel worksheet.

To save the time of manually changing all file names, we come up two solutions/approaches to automate the process.

Continue reading ‘How to rename thousands Word documents file name in bulk based on an Excel list’

Related posts

Install VMWare Tools on guest ubuntu linux virtual machine

I used Microsoft Virtual PC, Sun VirtualBox, and VMware Desktop to play with Linux distro in virtual environment. Later on, I got rid of Microsoft VirtualPC due to its imperfection dealing with ubuntu, and am only using Sun VirutalBox at home and VMWare at work. Today, my co-work showed me how he installed VBoxAdditions in Virtual Box to improve the guest Linux OS screen resolution. I could not help thinking I should do the same in VMWare WorkStation by installing VMWare Tools .

But when I followed the install instruction to run “vmware-install.pl” in my guest Ubuntu virtual machine, I got “vmware-install.pl command not found” message. It took me a while to figure out the reason, and it was just a simple Super User permission issue but I thought it was because of PERL installation on ubuntu.

To save you all valuable time in the similar situation, I am sharing here with the detail steps to install VMWare Tools on Ubuntu Linux Guest OS in VMWare WorkStation (version is 5.5.9).

Continue reading ‘Install VMWare Tools on guest ubuntu linux virtual machine’

Related posts

Install Adobe Flash player in Firefox on xubuntu

xbuntuI installed ubuntu 9.10 on one of my laptops with GNOME desktop environment, but unfortunately it worked very slow due to the limited memory of 256 MB. So I decided to switch to xfce desktop environment. After I installed xfce on top of GNOME then remove all package of gnome, I started to have some different issues as I had in the Ubuntu GNOME environment. Today I just wanted to talk about the flash player plug-in installation on Firefox issue here.

Continue reading ‘Install Adobe Flash player in Firefox on xubuntu’

Related posts

Are you ready for Amazon ebook reader Kindle?

In my recent trip to China, I found out the paper book business is still very good. It is understandable, after all the audience pool is so huge and unlike the reading materials on the Internet you still need to pay money for the paper books.

When I mentioned e-book reader to some of my friends, they also said it would be popular too. Since it is very attractive from a huge capacity perspective. With it, you do not carry a heavy bag of books instead of packing a thin e-reader in the travel. But they said we could not see the immediate hit recently. 1), it still depends on a good hardware e-reader: multiple task (music, video etc), light and stylish; 2), not too many e-book available and the technology to protect intelligence rights, and others.

Continue reading ‘Are you ready for Amazon ebook reader Kindle?’

Related posts

What do you use Twitter for, post resignation note?

Yes, Jonathan did. The then CEO of Sun Microsystem posted his resignation note in a Haiku poem style on his twitter account today. On Jonathan Schwartz’s Twitter page, it reads

Today’s my last day at Sun. I’ll miss it. Seems only fitting to end on a #haiku. Financial crisis/Stalled too many customers/CEO no more

It is not a surprise to me. Jonathan is the person always out spoken. He set up his personal blog as one of first CEOs did that.

As oracle bought SUN, it is not unusual see he departed. Nothing to add, just say GOOD Bye, and keep your good personality in the future executive life.

Related posts

Google leaving China is just a threat

Google ChinaIt is very interesting that there are a lot of talks about Google leaving China on the Internet now (A New Approach to China). More interesting since I just came back from China and expressed my totally dis-satisfied about the Chinese Great FireWall and Internet censorship. But I really do not think Google decided to withdraw because of my complaint LOL, not the recent cyber-attacks either. My thinking is that Google’s behavior  is purely political and business oriented strategy.

As a big entity appears in Internet Cyber world, it is a very usual thing to have cyber attacks. I can say the so-called sophisticated cyber attacks to Goolge’s infrastructure (GMail, etc.)  is not the first one, and not be the last one either. Then why Google screams now? why now?! It was just “enough is enough” as it indicated, or something else?

Continue reading ‘Google leaving China is just a threat’

Related posts

Google Enterprise Search and Apps are nice, but no, thanks

This morning, I got a meeting pop-up prompt reminding me I have a meeting with Google’s representative. I was excited since I thought we were going to talk about Free Wi-Fi cooperation (confused with the other topic with Google before). But when I sat down and had the introduction, I realized he was a local account manager from Google and he was going to talk about Google Enterprise application with us.

Which was still cool, since we had such similar interesting discussions  internally a few weeks ago anyway. Then he started to introduce 3 types of Google productions which can be sold to enterprises: Google Enterprise Search Appliance; Google Map & Earth; Google Apps.

But unfortunately we did not get much interesting on all of these offers above.

Continue reading ‘Google Enterprise Search and Apps are nice, but no, thanks’

Related posts