.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

How to create pdf document

Posted By:      Posted Date: September 26, 2010    Points: 0   Category :ASP.Net


How to create a pdf document and write the text in this pdf?


View Complete Post

More Related Resource Links

SPD workflow status show "starting" when I create a document from the library !!. and hangs

I have a document library in MOSS 2007. Have created a WF and that starts "autmatically when new item created" In the document library I have created couple of column those are mandatory (required columns) and user has to fill those column while uploading a document as well creating a document from library. WF has ran and completed succefully  when I use "upload" option to load a document.  As you are aware, when we "upload" a document, we will have to fill all "required columns" and the click "check in" command button.  After I do all this, document get loaded and WD ran succesfully. However, the WF is not running when I create a document (.docx) from this library (using "new" button) !!.  I have filled all required field in the document information panel . After save & exit from WORD application, I can see WF status as "starting". But, it never started and completed.  So I did following and found WF worked !! a) After creating document (.docx) using "new" option I found WF status "starting"!. So,  I did "Check-out and Check-in" manually from document library. After doing this,  WF ran and status has been changed as "completed" b) In SPD, I change workflow start option from "Automatic" to "Manually start".&nb

Unable to create columns in document library after applying custom master page to site

Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?

Cannot create new document with word 2007

Hi!   I'm using WSS 3.0 for development on windows 7 64bit. I created a document library based on word 2003 template. Using Internet Explorer 8, when I click "New" button on the library word 2007 starts with "template.doc". Then word displays a nice error message "microsoft office word has not been installed for the current user. please run setup to install the application" and quits.   Things I tried and NOT working: - Adding sharepoint user to local admin - Giving Everyone full control to "C:\Users\All Users\Microsoft\OFFICE\DATA\OPA12.dat"  - deleting "C:\Users\All Users\Microsoft\OFFICE\DATA\OPA12.dat"   any suggestions ?

create a custom "newform.aspx" for document library using sharepoint designer and web services


Hi All,

I need to change the look and feel of "NewForm.aspx" for my Sharepoint 2007 Document Library. But the constraints are

1. I cant use C# coding. No Visual Studio.

2. Not allowed change anything in the farm level. e.g. cant install features/webparts fo this.

3. Can only use JavaScript, JQuerry and Sharepoint Designer 2007.

I came across some suggestions that we can create a custom page in Javascript/JQuery. Which will take all input data and insert new items in list/doc library using some XML services.

Please help me, I dont know if this is really possible. Let me know if any alternative is possible.

create xml document in vb.net


how to create xml doc in vb.net and sent it to web server.

How to "Create New" document for Office Web Apps in SP2010?

I notice users can only upload their files (Word, Excel, Powerpoint) and edit them. But is there a way users can CREATE NEW documents in Office Web Apps in SP2010?
Bryan Chung's Blog http://www.bryanchung.sg

Create CAML for listing docs from a document library which has subfolders as well.

Hi imagine a doc library in sharepoint holding PDF's called DocA.
DocA has subfolders e.g DocA\sub1, DocA\sub2
I am writing a CAML query to extract PDF's which were created older than 7 days.
My issues is i cant get the PDf's items in CAML query and it just shows the folder only.

Here is my code.

SPSite site = new SPSite(Site);
SPWeb web = site.OpenWeb();
SPList list = web.Lists["DocA"];
string querystring = "<Leq>" +
                     "<FieldRef Name='Created' />" +
                     "<Value Type='DateTime'><Today /></Value>" +

SPQuery query = new SPQuery();
query.RecurrenceOrderBy = true;

query.Query = querystring;
DataTable table = list.GetItems(query).GetDataTable();
return table;

Office Web Apps - Create new document in browser in IE



As you know, when one creates a new document in Google Chrome, you get to use the Office Web Apps to create the document (not Word). In Firefox and IE, this is not the case.  Creating a new document in Sharepoint opens Word (or excel, etc).  

Is there a way to force IE and Firefox to use the same behavior as Chrome...and create the new document in browser using Office Web Apps? 

Thank you in advance,


create a Document Set in SP2010 site Programatically?


Hi, can anyone  explain how to create a document set inside a Document Library preferably using Client Object Model of SharePoint 2010 ?


Thanks, Devi Prasad M

How do I create an Upload.aspx link on the front page of my document library without the subsequent


I need to create an Upload.aspx link on the front page of my document library, rather than rely on the + Add Document link at the bottom of the list.

When I copy the URL of the Add Document link to my page or as a quick link it uploads the file, brings up the metadata form, but then asks the user to save the file on save.

Clicking on the + Add Document link does a clean upload without the reuest to save the file?

The link I create has the format "_Layouts/Upload.aspx?List={ABC123}&RootFolder=tFolder="

Is there some parameter to Upload.aspx? that I need to add?

Create a pdf document from win form application by fetching fields from database


Assuming i have a winform that has a button called "Create a Quote". Once user clicks it, a PDF File gets created on desktop. The PDF File has a fixed design/structure e.g. the logo is at the top left corner, the headers are fixed, etc. However, the data it self is pulled from a database.

As you see above, Quotation #, Description, Qty, U.P (USD), T.P (USD) records should be fetched from the db and dumped in the pdf template then create the pdf for user.

I haven't done this before. I hope my question is clear enough. Feel free to put useful web links that help me achieve it.

Any help will be appreciated.

Workflow to create a Document Set


Hi all,

I am trying to use SharePoint Designer to create a workflow that does the following:

1) User creates a new item in a custom list.

2) New item triggers workflow to create a new Document Set in a Document Library (with preloaded default files)


Sounds simple enough but so far, all I'm able to do is get a word document to be created using "Create List Item" as my action. I have set the Document Library to have Document Set as its default content type, but this does not make a difference.

Any assistance or ideas would be appreciated.



Error opening Office Open XML file when using SD workflow to create item in document library.


I have a Sharepoint document library that is using a word template with xml mapping (Word-Sharepoint).

I have a workflow created in Sharepoint designer that Creates an item in this document library with select data from a form library on the same site. 

It appears to create the entry in the document library correctly, it is showing the copied data from the form library and the correct default data in the columns specific to the document library. The explorer view shows the filename.docx files.

I am able to edit the data using the datasheet view, however it will not open the word document.

The error message reads "The Office Open file <filename> cannot be opened because there are problems with the contents." If I click on the details button it states "No error detail available".

Any ideas?

Create an "Upload a Document" button web part in other document libaries


I am trying to create an "Upload a Document" button in a SharePoint document library using the code from the Document Center landing page in order to display the upload form. 

I have added a content editor web part in a different document library and edited the path to the document library but I find the button action does not work. 

<div class="ms-uploadbtnlink"><button onclick="javascript:OpenNewFormUrl(&#39;Documents /Forms/upload.aspx&#39;);return false;" type="submit"><nobr><img alt="Upload a Document" src="/_layouts/Images/uploaddoc.png"/>&#160;<span>Upload a Document</span></nobr></button> </div>

Is there something I am missing, is this not as simple as it seems?

how do I create a workflow that will launch when any item in a document set is changed?


I want a workflow that will run some code when any item in a document set is touched.

How do I do this?

Create WorkFlow for move document


  I create Document library for receive FAX   from multifunction when fax come is go to this page but when 1 fax come is show on page   2 document one is .eml file, other one is attachment file so my question is

1.       Step for receive mail is on MFP receive fax and them convert this fax to e-mail and send to SharePoint document library but It need show on Document library is only attachment file how to do it

2.       On Document library I add one columns is “end date” type on this columns I used calculate is “[create date]+92” so I create other library is “old 3 Month” so I need create work flow when date  is come to columns “end date” document is move to library

Create a Document inside Document Set


i have a business process , it includes few tasks and documents in series to be created. I have created a document set with these documents, i set default content for the first initial document only.

What i want to achieve is that when the first document is finalized, a workflow (automatic or Manual) runs and create another document in same document set.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend