473,382 Members | 1,648 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Launching Word from Visual C++ 2005

I have a project that launches Word via a Com object. This project
compiles fine on my desktop.

Now I transferred this project to my notebook, where it won't compile.

After typing

using namespace Microsoft::

IntelliSense doesn't even offer me

Office::Interop;

for insertion.

Does anybody have any idea what I am missing?

Thanks
Richard
Oct 8 '06 #1
2 1072
>I have a project that launches Word via a Com object. This project compiles
>fine on my desktop.

Now I transferred this project to my notebook, where it won't compile.

After typing

using namespace Microsoft::

IntelliSense doesn't even offer me

Office::Interop;

for insertion.

Does anybody have any idea what I am missing?
The office interop assemblies, probably.
Are they installed on your laptop?
You have them on your workstation, so you can check where they are and how
they got there.
That should tell you how to get them on your laptop.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Oct 8 '06 #2
Thanks Bruno,

this was the information I was missing. Now it works.

Richard

Bruno van Dooren [MVP VC++] schrieb:
>I have a project that launches Word via a Com object. This project compiles
fine on my desktop.

Now I transferred this project to my notebook, where it won't compile.

After typing

using namespace Microsoft::

IntelliSense doesn't even offer me

Office::Interop;

for insertion.

Does anybody have any idea what I am missing?

The office interop assemblies, probably.
Are they installed on your laptop?
You have them on your workstation, so you can check where they are and how
they got there.
That should tell you how to get them on your laptop.
Oct 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: FinallyInSeattle | last post by:
I have an old product that generates a Word document using Word Automation (tables, pictures, etc). The execution speed is quite slow and I'm finally at the point where I can tell my customers...
2
by: Jason Steeves | last post by:
Can someone post the needed code that will allow me to launch word on the client PC and have the filename specified as a variable. I have been working on this and can't find any clear documentation...
15
by: Caversham | last post by:
Is there any macro / other tool - free or commercial - that can split long Word docs into multiple XHTML pages? Any comments on the quality/effectiveness of suitable products also welcomed.
8
by: Keith French | last post by:
I am trying to launch an external program within Visual Basic 2005 Express. If it is a simple program it works well with:- myProg = "C:\MyFolder\MyApp.exe"...
7
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
5
by: steve | last post by:
Hi All I have a VB.net 2005 App which uses MS Word 2003 to do printing and Mail Merging, by automation All works fine on my Laptop (XP Pro SP2, Word 2003) but on my desktop (XP Pro SP2, Word...
4
by: Kat | last post by:
I have Visual Studio 2005 and do not have Visual Studio 2005 Tools for Office. I just want to be able to get data from a word 2003 document and put it in a label. How can I do that?
4
by: =?Utf-8?B?QmVuamFtaW5vNQ==?= | last post by:
Apologies if this is the wrong forum. I normally post in the Word Programming group, but this seemed like more of a VB.Net question. I'm moving code from VBA over to Visual Studio Express 2005...
4
by: =?Utf-8?B?QXJ0?= | last post by:
Hello, I saw this posting and it is the closest place to ask this question. I am simply trying to create a Word document from a VB application I am wrting with Visual Studio 2005. I cut a...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.