I'm using asp.net in Visual Studios 2010 with vb.net code behind my webpage. I have code to open a word document (.docm) when the user clicks the submit button. I then update/populate the word document and save it to a shared drive location. In testing the code works and on my development site it seemed to work. The word document opens on the server side.
However, I want the document to open on the client side and not the server side so the user can see it. Is there away to do that?
Dim oWord As Word.Application
Dim oDoc As Word.Document
Dim oTable As Word.Table
Dim keys(1) As System.Data.DataColumn
Dim nRows As Integer
Dim nCols As Integer
keys(0) = detailTable.Columns("ROW_NO")
detailTable.PrimaryKey = keys
'Dim oChkBox As Word.CheckBox
'Start Word and open the document template.
oWord = CreateObject("Word.Application")
oWord.Visible = False
oDoc = oWord.Documents.Add(GetSafetyInspTemplate())
'GetSafetyInspTemplate() 'retunrs the word document with full path and filename
oTable = oDoc.Tables(3)
'code to populate the document
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex.
A simple solution to parsing a customized CSV fi…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel.
Part 1 of this series discussed basic error handling code using VBA.
The Email Laundry PDF encryption service allows companies to send confidential encrypted emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…