Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
|
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 17th, 2004, 04:55 AM
Authorized User
 
Join Date: Jul 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alex_read
Default MsWord PIA Execution Problem

Hi!

I've got an app which uses 2 lines of code to connect to word, but the 2nd line is failing & the instance of Word is never created:

-----------------------------------------------
Dim myObj as Microsoft.Office.Interop.word.application
myObj = new Microsoft.Office.Interop.word.application
-----------------------------------------------

I've:
1) installed & registered the Office PIA's ok
2) have imported references to the Office & Word libraries
3) set all the settings under the DComCnfg utility so I can start & play with word without a permissions problem
4) set the macro security to low inside of word.

Can anyone please give any other suggestions to try to get my app to connect upto Word properly please??? This works fine on my local PC, but as soon as I put this onto our server, line 2 just does not want to know!!!!

Thanks!!!!

__________________
http://www.geocities.com/vbwig/





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem during execution of php program greenday Beginning PHP 2 November 12th, 2007 04:51 PM
Request Code Execution Permission Problem dparsons C# 0 May 14th, 2007 09:28 AM
Problem using Process class to open MSWord docs maxl Visual Basic 2005 Basics 3 February 12th, 2007 05:36 PM
Problem with the views execution when run as a job sreepada SQL Server 2000 0 March 18th, 2006 08:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.