Showing posts with label InfoPath 2007. Show all posts
Showing posts with label InfoPath 2007. Show all posts

Friday, March 13, 2009

How "VSTO 3.0 for Office 2007 Programming" book born, a true stroy!



I started my career in Microsoft technologies. I was very much keen on exploring technologies and designing applications. When I joined one of the world’s largest software services and consulting company in 2006, I was asked to explore on Microsoft’s upcoming technology SharePoint. I was just started the training material and practicing the same. And suddenly the client work has been allotted for a few which includes me in that team. After the work has been allotted for each individual in the team, I and my colleague (and a best friend) got to work on VSTO programming for InfoPath 2003 which is part of our client project. But my best friend she was not interested in VSTO work and she feels this is not the right technology for her career and raised a question for me, do you feel comfortable in VSTO? Is it good for your career growth? I said for me technology is secondary, for me I was keen on the quality of the work I do, whatever the technology may be. Few words to mention about my friend as a developer, she was an awesome developer, and any company in this world should be the luckiest company to have her as a resource.

And this is where the spark fired an idea for me to write a book on VSTO, to write book on VSTO and show everyone that technology doesn’t decide your growth it’s just your attitude plays the key role in your life. Writing a book which is fully authored by me is my long-time dream. I was thinking about this from my school days, one day in my life I will write a book. Now I got an idea for my dream, what I need is to start working on that. There is zero support and encouragement in my organization I worked, feel like stuck between office politics. Under performing guys are ruling the project to failure, even the failure doesn't reflect their originality instead they gets appreciation. So I decided to carry on my career in different organization where I can produce my excellence too. So I decided to leave the most liked and loved company in my life.

First I started writing for the publication with more energy and enthusiastic. My first delivery of chapter was on InfoPath. The chapter returned with huge amount of comments and feedback, which actually said to me better stop writing :). But my editor Jonathan Hassell and Tony Campbell was the greatest; who make me thinks get going... Later before a month of release of the book the press came up with one of the best worst news I have heard in my life, eight months of dedication, hard work and how many sleepless nights is washed away from that news. They said we have decided to withdraw from your book agreement. A few days I was upset and I bounce back with a new idea.

Added new ideas and enhanced the content and approached the Europe’s leading technical publisher PackT Publication and get a green signal precede the project. Again started the works get going and finally the book was on store for sale! Thanks to all crew members of PackT Publishing for their dedication and commitment toward the launch of this book.


When I send message to people and friends I got a great appreciation and response from different people. Those messages are refreshing and boosted my confidence to write another book immediately.

Writing a book is a great adventure ... Congratulation for your book ...... very nice cover :) - Ludovic LefortCongratulations! An awesome accomplishment that requires a great deal of focus and sacrifice to execute on. Great job! - Amanda Murphy
Congratulations Vivek. This is a great achievement. Looking forward to seeing your book - soon! - SS AhmedVery nice... i post this in my blog... Congrats!!! - Vladimir MedinaCongratulations Vivek, this is indeed a great achievement! - Cristina Nardini
Congrats Vivek. Way to go! - Suprotim Agarwal
Great Stuff. It's an area waiting to explored. Glad you did it. Looking forward to see more from you :). - Niraj G Bhatt
excellent work Congratulations. - Ajay Pathak
Great Stuff Vivek!! - Amit Bansal
Congratulations – this looks like a great book. - Geetesh Bajaj
Congratulations !! Your hardwork has reaped you this success:):) - Vijayraj vm
Congrats man. Nice selection of subject. - Praveen Nair
Congrats Vivek Wish you follow it up with many more - Shanmuga Sundara Raman
.... more and more... what to say countless...
Thanks to everyone :)

Monday, February 25, 2008

InfoPath cannot open the selected form because of an error in the form's

'InfoPath cannot open the selected form because of an error in the form's. Policy settings prevent opening Internet forms with managed code. To fix =this problem, contact your system administrator."

When i tried to run the InfoPath Solution from Visual studio 2008, i'm getting this above mentioned error. When i googled also i don't find any good solution. After that i changed the security setting of the form to fully trusted, then it worked for me. I don't know this is the right solution but it also solve the problem :)

Step: go to tools>Form options>Security and Trust> select Fully Tructed radio button

Microsoft Office InfoPath does not recognize some or all of the command line options. Exit and restart Microsoft Office InfoPath with ...

"Microsoft Office InfoPath does not recognize some or all of the command line options. Exit and restart Microsoft Office InfoPath with the correct command line options"

As usual when I step into Microsoft’s latest tools I have been attacked with some irritating error messages. To solve this error and to win this bug war same old trick was used to attack Microsoft errors in reply, I tried installing Service Pack for InfoPath 2007 and it worked for now. More importantly this error got solved but I don't know what the new things to raise mean while :) …

SP1 Download Link which i used

Monday, February 18, 2008

Error: this template attempted to load an untrusted component 'Microsoft.Office.InfoPath.Vsta, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9b

---------------------------Microsoft Visual Studio---------------------------

Error: this template attempted to load an untrusted component 'Microsoft.Office.InfoPath.Vsta, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

---------------------------OK ---------------------------

When i try to create new InfoPath Form Temaplate project using Visual Studio 2008 i got the above mentioned error mentioned error message. After some analysis i found that InfoPath 2007 as be installed in the development machine.

Thursday, August 23, 2007

2007 Office System Document: Developer Posters

Developer Posters -- 2007 Office System Document

Developer Roadmap for the 2007 Microsoft Office System. Download this poster to view a developer roadmap for the 2007 Microsoft Office system programs, tools, services, and servers.

Microsoft Office InfoPath 2007 Managed Object Model Poster. Download this poster and get a deep dive into some of the new and enhanced objects in the InfoPath 2007 managed object model.


Developer Map for SharePoint Products and Technologies Poster. Download this poster and discover the developer roadmap for Microsoft SharePoint Products and Technologies.


Here it is ...

Tuesday, July 10, 2007

The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators.

“The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators.”

By default, Windows SharePoint Services 3.0 prevents certain file types from being uploaded to the server. Server administrators can add or remove file types from this list, as needed. Contact your server administrator to request that the file type be unblocked.

To resolve this issue, remove the file type from the Blocked File Types page in Windows SharePoint Services 3.0. To enable a file type that is currently blocked, remove it from the global settings list and from the Web application list. To do this, follow these steps:

1. Start SharePoint 3.0 Central Administration.
2. Click Operations, and then click Blocked file types under Security Configuration.
3. On the Blocked File Types page, click Global Settings in the Web Application box.
4. Remove the file name extension from the list of blocked file types. For example, remove the .config file name extension.
5. Click OK.
6. Under Security Configuration, click Blocked file types.
7. On the Blocked File Types page, click the Web application that you want to configure in the Web Application box.
8. Remove the file name extension from the list of blocked file types.
9. Click OK.

Saturday, May 05, 2007

Quick overview of InfoPath Object Model

InfoPath 2003 Object Model

thisXDocument.DOM

IXMLDOMNode

Read field1.text

Set field1.text

InfoPath 2007 Object Model

this.MainDataSource

XPathNavigator

Read field1.Value

Set using field1.SetValue()

Monday, April 30, 2007

Infopath 2007 - Multiple submit buttons

Running InfoPath 2007, If i would like to have 2 Submit buttons on my form. One to email the form to an e-mail address provided by a form field and the another to publish to a Sharepoint site.

I can easily create these using Infopath button properties, but when I create the second button and change it's properties it also changes the properties of the first buttom.

Is it possible to have multiple submit buttons performing different tasks? If so, how.

In this case, you need to go for 'Rules and Custom Code' option in the button property.

For more reference: microsoft released doc.

Other reference:
http://office.microsoft.com/en-us/infopath/HA101067271033.aspx

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...