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 pasted a simple routine within the 'click' sub-routine and I'm
simple having a problem with resolving the statement 'Dim objWord As New
Word.Application' where it is complaining about 'Word.Application' is not
defined.
I did add the reference to the Microsoft Word Object Library. Can one of you
perhaps tell me why I cannot resolve this?
Thanks in advance.
"Gerhard" wrote:
Thanks. This was very helpful.
"Cowboy (Gregory A. Beamer)" wrote:
I have not programmed against the Office libraries (Office bits) since 2001
or 2002, so I would have nothing recent, if I still have samples.
I would try something like this
(http://www.codeproject.com/aspnet/wordapplication.asp) first.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"Gerhard" <Ge*****@community.nospamwrote in message
news:83**********************************@microsof t.com...
Thanks. Any examples on the Office bits you mentioned?
>
"Cowboy (Gregory A. Beamer)" wrote:
>
>This is my suggestion:
>http://officewriter.softartisans.com...riter-372.aspx
>>
>You can also do it with the Office bits, but they are a bit unwieldy
>>
>--
>Gregory A. Beamer
>MVP, MCP: +I, SE, SD, DBA
>>
>*********************************************** **
>| Think outside the box!
>|
>*********************************************** **
>"Gerhard" <Ge*****@community.nospamwrote in message
>news:FA**********************************@microso ft.com...
I'm posting this again, as my first post was not answered.
>
Is there is best practice example of how to create a Word document in
vb.net
version 2 web application that can be opened by a user. Basically the
scenario is the client wants me to build a Word document with lots of
formatting (fonts, headers, footers, etc).
>
Thanks.
>
Bob
>
>>
>>
>>
4 1953
It sounds like you added a reference to the COM version. On the Net tab for
references you should see something similar to
Microsoft.Office.Interop.Word. This should then work, assuming you have an
Imports Microsoft.Office.Interop statement.
"Art" <Ar*@discussions.microsoft.comwrote in message
news:7C**********************************@microsof t.com...
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 pasted a simple routine within the 'click' sub-routine and I'm
simple having a problem with resolving the statement 'Dim objWord As New
Word.Application' where it is complaining about 'Word.Application' is not
defined.
I did add the reference to the Microsoft Word Object Library. Can one of
you
perhaps tell me why I cannot resolve this?
Thanks in advance.
"Gerhard" wrote:
>Thanks. This was very helpful.
"Cowboy (Gregory A. Beamer)" wrote:
I have not programmed against the Office libraries (Office bits) since
2001
or 2002, so I would have nothing recent, if I still have samples.
I would try something like this
(http://www.codeproject.com/aspnet/wordapplication.asp) first.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"Gerhard" <Ge*****@community.nospamwrote in message
news:83**********************************@microsof t.com...
Thanks. Any examples on the Office bits you mentioned?
"Cowboy (Gregory A. Beamer)" wrote:
This is my suggestion: http://officewriter.softartisans.com...riter-372.aspx
You can also do it with the Office bits, but they are a bit unwieldy
-- Gregory A. Beamer MVP, MCP: +I, SE, SD, DBA
*********************************************** ** | Think outside the box! | *********************************************** ** "Gerhard" <Ge*****@community.nospamwrote in message news:FA**********************************@microso ft.com...
I'm posting this again, as my first post was not answered.
Is there is best practice example of how to create a Word document
in
vb.net
version 2 web application that can be opened by a user. Basically
the
scenario is the client wants me to build a Word document with lots
of
formatting (fonts, headers, footers, etc).
Thanks.
Bob
Thank you Family Tree Mike. You are correct that all I did was add the
reference from the .com tab. I looked over the .net tab but do not see a
similar statement there. I'm running Office 2007 and Visual Studio 2005. I
may have upgraded from Office 2003 after Visual Studio 2005 was loaded onto
my system. But do you know how to add this statement into the .net tab so
that the reference can be added. Thanks again and appreciate the help.....Art
"Family Tree Mike" wrote:
It sounds like you added a reference to the COM version. On the Net tab for
references you should see something similar to
Microsoft.Office.Interop.Word. This should then work, assuming you have an
Imports Microsoft.Office.Interop statement.
"Art" <Ar*@discussions.microsoft.comwrote in message
news:7C**********************************@microsof t.com...
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 pasted a simple routine within the 'click' sub-routine and I'm
simple having a problem with resolving the statement 'Dim objWord As New
Word.Application' where it is complaining about 'Word.Application' is not
defined.
I did add the reference to the Microsoft Word Object Library. Can one of
you
perhaps tell me why I cannot resolve this?
Thanks in advance.
"Gerhard" wrote:
Thanks. This was very helpful.
"Cowboy (Gregory A. Beamer)" wrote:
I have not programmed against the Office libraries (Office bits) since
2001
or 2002, so I would have nothing recent, if I still have samples.
I would try something like this
(http://www.codeproject.com/aspnet/wordapplication.asp) first.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"Gerhard" <Ge*****@community.nospamwrote in message
news:83**********************************@microsof t.com...
Thanks. Any examples on the Office bits you mentioned?
>
"Cowboy (Gregory A. Beamer)" wrote:
>
>This is my suggestion:
>http://officewriter.softartisans.com...riter-372.aspx
>>
>You can also do it with the Office bits, but they are a bit unwieldy
>>
>--
>Gregory A. Beamer
>MVP, MCP: +I, SE, SD, DBA
>>
>*********************************************** **
>| Think outside the box!
>|
>*********************************************** **
>"Gerhard" <Ge*****@community.nospamwrote in message
>news:FA**********************************@microso ft.com...
I'm posting this again, as my first post was not answered.
>
Is there is best practice example of how to create a Word document
in
vb.net
version 2 web application that can be opened by a user. Basically
the
scenario is the client wants me to build a Word document with lots
of
formatting (fonts, headers, footers, etc).
>
Thanks.
>
Bob
>
>>
>>
>>
I believe this is the link you are looking for, but it was a while ago that
I did this. It discusses Outlook, but seems to apply to all office
Products. http://msdn.microsoft.com/en-us/library/bb646840.aspx
"Art" <Ar*@discussions.microsoft.comwrote in message
news:F2**********************************@microsof t.com...
Thank you Family Tree Mike. You are correct that all I did was add the
reference from the .com tab. I looked over the .net tab but do not see a
similar statement there. I'm running Office 2007 and Visual Studio 2005. I
may have upgraded from Office 2003 after Visual Studio 2005 was loaded
onto
my system. But do you know how to add this statement into the .net tab so
that the reference can be added. Thanks again and appreciate the
help.....Art
"Family Tree Mike" wrote:
>It sounds like you added a reference to the COM version. On the Net tab for references you should see something similar to Microsoft.Office.Interop.Word. This should then work, assuming you have an Imports Microsoft.Office.Interop statement.
"Art" <Ar*@discussions.microsoft.comwrote in message news:7C**********************************@microso ft.com...
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 pasted a simple routine within the 'click' sub-routine and I'm
simple having a problem with resolving the statement 'Dim objWord As
New
Word.Application' where it is complaining about 'Word.Application' is
not
defined.
I did add the reference to the Microsoft Word Object Library. Can one
of
you
perhaps tell me why I cannot resolve this?
Thanks in advance.
"Gerhard" wrote:
Thanks. This was very helpful.
"Cowboy (Gregory A. Beamer)" wrote:
I have not programmed against the Office libraries (Office bits)
since
2001
or 2002, so I would have nothing recent, if I still have samples.
I would try something like this
(http://www.codeproject.com/aspnet/wordapplication.asp) first.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"Gerhard" <Ge*****@community.nospamwrote in message
news:83**********************************@microsof t.com...
Thanks. Any examples on the Office bits you mentioned?
"Cowboy (Gregory A. Beamer)" wrote:
This is my suggestion: http://officewriter.softartisans.com...riter-372.aspx
You can also do it with the Office bits, but they are a bit unwieldy
-- Gregory A. Beamer MVP, MCP: +I, SE, SD, DBA
*********************************************** ** | Think outside the box! | *********************************************** ** "Gerhard" <Ge*****@community.nospamwrote in message news:FA**********************************@microso ft.com...
I'm posting this again, as my first post was not answered.
Is there is best practice example of how to create a Word
document
in
vb.net
version 2 web application that can be opened by a user.
Basically
the
scenario is the client wants me to build a Word document with
lots
of
formatting (fonts, headers, footers, etc).
Thanks.
Bob
Thank you. Somehow everything resolved itself. Don't know how but everything
is building just fine. Thanks again
"Family Tree Mike" wrote:
I believe this is the link you are looking for, but it was a while ago that
I did this. It discusses Outlook, but seems to apply to all office
Products.
http://msdn.microsoft.com/en-us/library/bb646840.aspx
"Art" <Ar*@discussions.microsoft.comwrote in message
news:F2**********************************@microsof t.com...
Thank you Family Tree Mike. You are correct that all I did was add the
reference from the .com tab. I looked over the .net tab but do not see a
similar statement there. I'm running Office 2007 and Visual Studio 2005. I
may have upgraded from Office 2003 after Visual Studio 2005 was loaded
onto
my system. But do you know how to add this statement into the .net tab so
that the reference can be added. Thanks again and appreciate the
help.....Art
"Family Tree Mike" wrote:
It sounds like you added a reference to the COM version. On the Net tab
for
references you should see something similar to
Microsoft.Office.Interop.Word. This should then work, assuming you have
an
Imports Microsoft.Office.Interop statement.
"Art" <Ar*@discussions.microsoft.comwrote in message
news:7C**********************************@microsof t.com...
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 pasted a simple routine within the 'click' sub-routine and I'm
simple having a problem with resolving the statement 'Dim objWord As
New
Word.Application' where it is complaining about 'Word.Application' is
not
defined.
I did add the reference to the Microsoft Word Object Library. Can one
of
you
perhaps tell me why I cannot resolve this?
Thanks in advance.
"Gerhard" wrote:
Thanks. This was very helpful.
"Cowboy (Gregory A. Beamer)" wrote:
I have not programmed against the Office libraries (Office bits)
since
2001
or 2002, so I would have nothing recent, if I still have samples.
I would try something like this
(http://www.codeproject.com/aspnet/wordapplication.asp) first.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"Gerhard" <Ge*****@community.nospamwrote in message
news:83**********************************@microsof t.com...
Thanks. Any examples on the Office bits you mentioned?
>
"Cowboy (Gregory A. Beamer)" wrote:
>
>This is my suggestion:
>http://officewriter.softartisans.com...riter-372.aspx
>>
>You can also do it with the Office bits, but they are a bit
>unwieldy
>>
>--
>Gregory A. Beamer
>MVP, MCP: +I, SE, SD, DBA
>>
>*********************************************** **
>| Think outside the box!
>|
>*********************************************** **
>"Gerhard" <Ge*****@community.nospamwrote in message
>news:FA**********************************@microso ft.com...
I'm posting this again, as my first post was not answered.
>
Is there is best practice example of how to create a Word
document
in
vb.net
version 2 web application that can be opened by a user.
Basically
the
scenario is the client wants me to build a Word document with
lots
of
formatting (fonts, headers, footers, etc).
>
Thanks.
>
Bob
>
>>
>>
>> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kerri McDonald |
last post by:
We have an application where the user fills out many screens and when
they are done, we are supposed to display the text they entered in a
word or excel format. That is fairly easily accomplished...
|
by: QQ |
last post by:
I wanted to know how to make a properly formated word
document from asp. Can some one direct me to all the
propertise of CreateObject("word.application"). Thanks!
|
by: Zeke |
last post by:
I'm using the following code to create word document but the problem is if
you go to task manager you'll see a WINWORD.EXE process is running but not
the application, here is the code:
...
|
by: enak |
last post by:
I have found some code that shows how to convert an html
form to Word. The message said to simply put the following
in the Page_load:
Response.ContentType = "application/ms-word"...
|
by: Niklas Uhlin |
last post by:
Someone please explain why Session_Start fires multiple times /
retains SessionID values between sessions, when you open an ASP.NET
page from MS Word. For details of the problem, see below:
1....
|
by: Novice |
last post by:
Hi all, I'm using C# in my ASP.NET application and cannot seem to access the
MS word libraries to create a word document for some reason.
I have used both of these tutorials:...
|
by: Mux |
last post by:
I am facing the following problem while exporting data to Word.
The current implementation is as described below:
I have a JSP file which has a link that enables you to export the data
to
Word....
|
by: PracticalApps |
last post by:
I looked to find a canned solution to create a Word document in my application and just couldn't find anything that just gets to the point. I would think, and I may be making too strong of an...
|
by: uamusa |
last post by:
I am Dynamically generating a proposal(report) in MS Word. By default the Paragraph Alignment is "Left". For the First 6 Paragraphs I set the Alignment to "Center", and then when attempting to...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |