|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Generate Microsoft Office Document?Hi All,
I need my application to be able to generate a Microsoft Word document (Using Visual Basic 2005). So a user clicks a button (create document) and the Word document is created and populated with variable data. Is there any way to do this? Thanks. "Ryan" <Tyveil@newsgroups.nospam> schrieb: How to automate Word from Visual Basic .NET to create a new document> I need my application to be able to generate a Microsoft Word document > (Using Visual Basic 2005). So a user clicks a button (create document) > and the Word document is created and populated with variable data. <URL:http://support.microsoft.com/?scid=kb;EN-US;316383> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Look here:
http://msdn.microsoft.com/office/download/codesample/ Ryan wrote: Show quoteHide quote > Hi All, > > I need my application to be able to generate a Microsoft Word document > (Using Visual Basic 2005). So a user clicks a button (create document) and > the Word document is created and populated with variable data. > > Is there any way to do this? > > Thanks. I would rather look for XML
Brian Jones (very good site) has examples for both Excel and Word. http://blogs.msdn.com/brian_jones/archive/2005/06/27/433152.aspx Word's xml is harder that Excel's but the effort is really worth, Ole Automation takes ages to do anything... -tom Ryan ha scritto: Show quoteHide quote > Hi All, > > I need my application to be able to generate a Microsoft Word document > (Using Visual Basic 2005). So a user clicks a button (create document) and > the Word document is created and populated with variable data. > > Is there any way to do this? > > Thanks.
Close form if no user action including mouse move over form.
Can't create AutoFiltered Excel worksheet using VB.NET Accessing inherited variables Textbox Lines Limit Use a System.Type in Generics? Newbie needs help with datagrid Read value of all columns from datatable together CreateObject error Need to start word 2003 and show existing rtf doc in VB.Net Accessing inherited variables |
|||||||||||||||||||||||