Home > Ask the Microsoft .Net Development Experts > Visual Basic .NET Questions & Answers > Generating a Word document from VB
Ask The Win Development Expert: Questions & Answers
EMAIL THIS

Generating a Word document from VB

Samuel Matzen EXPERT RESPONSE FROM: Samuel Matzen

Pose a Question
Other Win Development Categories
Meet all Win Development Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 24 November 2004
I'm developing a package in VB with MS Access. I want to generate a Word document from VB. It works nicely when I click the first time on the button. But when I click the second time, the document doesn't generate. Instead, it simply opens the empty document. I think this problem arises due to memory refresh. I don't know how to refresh the Word application from VB. I've tried many ways. Please help me.

>
I haven't worked with the word object from Dot NET yet, but worked with it quite a bit in VB6. I would try to destroy the instance of the word document before creating a new instance. If this doesn't get you going you should probably post this question on the Microsoft newsgroups where you should be able to get an answer from someone who is working with this interface on a daily basis.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
VB.NET
Access VB .NET Windows control on client side
Converting floating values to byte form
Read data from parallel port
Converting EXE-files to VB components
Generating classes like we did in VB6
Manipulating text through VB.NET
Converting Windows applications to VB .NET
How to add a key to a listview item in VB.NET
Accessing .NET components from VBScript
How I can assign an untyped dataset to a typed dataset?

Visual Basic .NET
Access VB .NET Windows control on client side
Drop down list server control creates error message
Converting floating values to byte form
Datagrid issue: 'onselection' is not populating
Read data from parallel port
What is the use of these constructors?
Give me an ODBC connect, with SQL authentication
Converting EXE-files to VB components
Generating classes like we did in VB6
Manipulating text through VB.NET

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Windows Development - White Papers, News and Expert Advice
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts