Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

Visual Basic 2010 . Net & Microsoft Word Document

$
0
0

Hi

I am currently working on a VB . Net application (Upgrade) that I am having a few issues with.

The desktop application is a stand-alone Windows program GUI that automatically creates a selection of documents based on items ticked on the GDI

These items relate to individual document templates stored within a data folder, the templates all relate to different document sections, Cover Page, Introduction, TOC etc.

At present my application is creating the documents at a preliminary level, with all the required sections being added as required.

I now have a few modifications that I'd like to upgrade the application with...

  1. How to detect the PC has a valid copy of Microsoft Office Word installed, and what version is installed?
  2. How to detect if the document is already opened in another instance of Word before attempting to modify it, shutting it down when requested?
  3. My template sections contain several Headings, How do I implement the ability to have these headings numbered or not i.e. "Heading 1","Heading 2" or "1. Heading 1", "1.1 Heading 2"
  4. With Item 3. the headings should all be numerically correct
  5. Some sections contain tables that I'd like to populate with specific data dependant on the selections, how do I/or best method of reference tables in various different sections?

I've spent the best part of a month and  a half trawling through examples which either don't work or are VBA instead of Studio 2010 VB.net as entered?

P.S. The section headings items are my main issue at the moment, My best result so far was parsing every section in every document and manually adjusting the text, but this method takes too long to complete, I'm looking at just modifying the built in Header 1_9 settings to have leading numbers or not but cant figure out how to achieve this, recording a macro returns invalid VBA code for VB.Net?

TIA Alan


Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>