473,326 Members | 2,108 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,326 software developers and data experts.

Word

using Word automation from vb.net how can I get to the bottom of the
document?

Thanks,
Richard
Nov 20 '05
56 3359
Hi Cor,

|| Please do you want to send a picture from
|| you in a zip file so I can evaluate it better?

LOL.

|| Fergus .. he seems to be a little bit furious.

She rattled my cage, big time. Grrr.

|| Please keep in mind that people, for whom English is not
|| their native language, sometimes use the wrong word
|| because they think it looks like English *

Yes, a good point to bear in mind.

|| geblauten

It's 'gebloaten' - a perfectly good Germanglish word.;-)

Regards,
Fergus

* Lol, A lot of your English is a challenge to understand but that paragraph
stands out - it was most clearly written. :-)
Nov 20 '05 #51
Cor
Hi Fergus,
This is a VB.NET language group. Notice that you may
have a better chance to get an answer if you post
to the XXX newsgroup in future


I tried to follow your text litary, but I did not see this what you wrote,
you did probably mean "may or "will probably" but I find this sentence now
nicer. I did see that Armin and Herfried changed there style of answering.
So you had success. Now we need to bring this text at Armin
(Herfried will read it, that is no problem)
And find a way to stop Jeremy, that is real terrible to our standards.

Cor
Nov 20 '05 #52
Cor
Hi Fergus,
Wrong it needs an additions i think, I did try to use it.
This is a VB.NET language group. Notice that you may
have a better chance to get an answer if you post this kind of problems to the XXX newsgroup in future

Will you check if I am maybe wrong. Cor


Nov 20 '05 #53
On Tue, 9 Sep 2003 00:11:56 +0200, "Armin Zingler" <az*******@freenet.de> wrote:

¤ "Richard Grene" <rg****@s4si.com> schrieb
¤ > How can I change the font of text I am inserting into Word. I only
¤ > want the inserted text to use the new font and all other existing
¤ > text to keep it's original font.
¤
¤ As Herfried suggested, you should ask in the Word VBA group because it is a
¤ question about the Word object model.
As I've suggested to Herfried on one other occasion, very few Office developers
work with any of the .NET languages and many would not be aware of the
automation idosyncrasies inherent in .NET. On the flip side there are quite a
few Visual Basic developers who have worked with Office automation and would be
able to provide an appropriate answer.

I see absolutely no problem answering the question here or referring them to
microsoft.public.dotnet.framework.interop if they don't receive a prompt answer.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #54
On Mon, 08 Sep 2003 12:41:11 -0700, Richard Grene <rg****@s4si.com> wrote:

¤ How can I change the font of text I am inserting into Word. I only want
¤ the inserted text to use the new font and all other existing text to
¤ keep it's original font.
¤

See the below MS KB article. There should be code that will do what you want:

HOW TO: Automate Word from Visual Basic .NET to Create a New Document
http://support.microsoft.com/default...b;en-us;316383
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #55
"Paul Clement" <Us***********************@swspectrum.com> schrieb
On Tue, 9 Sep 2003 00:11:56 +0200, "Armin Zingler"
<az*******@freenet.de> wrote:

¤ "Richard Grene" <rg****@s4si.com> schrieb
¤ > How can I change the font of text I am inserting into Word. I
only ¤ > want the inserted text to use the new font and all other
existing ¤ > text to keep it's original font.
¤
¤ As Herfried suggested, you should ask in the Word VBA group because
it is a ¤ question about the Word object model.
As I've suggested to Herfried on one other occasion, very few Office
developers work with any of the .NET languages and many would not be
aware of the automation idosyncrasies inherent in .NET. On the flip
side there are quite a few Visual Basic developers who have worked
with Office automation and would be able to provide an appropriate
answer.

I see absolutely no problem answering the question here or referring
them to microsoft.public.dotnet.framework.interop if they don't
receive a prompt answer.


I think the question is about a "how-to", and the knowledge and answer to
the question is language independent. I also think the interop group is
also not the right one for this question.
--
Armin

Nov 20 '05 #56
On Tue, 9 Sep 2003 23:13:36 +0200, "Armin Zingler" <az*******@freenet.de> wrote:

¤ "Paul Clement" <Us***********************@swspectrum.com> schrieb
¤ > On Tue, 9 Sep 2003 00:11:56 +0200, "Armin Zingler"
¤ > <az*******@freenet.de> wrote:
¤ >
¤ > ¤ "Richard Grene" <rg****@s4si.com> schrieb
¤ > ¤ > How can I change the font of text I am inserting into Word. I
¤ > only ¤ > want the inserted text to use the new font and all other
¤ > existing ¤ > text to keep it's original font.
¤ > ¤
¤ > ¤ As Herfried suggested, you should ask in the Word VBA group because
¤ > it is a ¤ question about the Word object model.
¤ >
¤ >
¤ > As I've suggested to Herfried on one other occasion, very few Office
¤ > developers work with any of the .NET languages and many would not be
¤ > aware of the automation idosyncrasies inherent in .NET. On the flip
¤ > side there are quite a few Visual Basic developers who have worked
¤ > with Office automation and would be able to provide an appropriate
¤ > answer.
¤ >
¤ > I see absolutely no problem answering the question here or referring
¤ > them to microsoft.public.dotnet.framework.interop if they don't
¤ > receive a prompt answer.
¤
¤ I think the question is about a "how-to", and the knowledge and answer to
¤ the question is language independent. I also think the interop group is
¤ also not the right one for this question.
It's COM automation with VB.NET or C# and that means interop. He may get a VBA answer but if you've
worked with Office automation then you know that it often won't port directly to a VB.NET solution
without some modification.

And no the answer is not language independent. The solution is specific to VBA and the .NET language
under which the interop occurs.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #57

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

Similar topics

8
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
3
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone...
2
by: Mikey | last post by:
Sample VB .NET source code to create mailing labels or customized letters using MS Word MailMerge This VB .NET source code will start MS Word and call methods and set properties in MS Word to...
7
by: Dave | last post by:
Apologies for the newbie question. I have created a vb.net program for my company that is designed to work with Word Templates (about forty of them that we commonly use) that are selected by the...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
1
by: beanie | last post by:
i am a c programming beginner and i am trying to Create a concordance of Word Count for a text File in c programming but my code isn't working.please can u help me out.here is my code: #include...
2
by: beanie | last post by:
i am a beginer in c programming and i am trying to Create a Concordance of Word Count for a Text File but my code is not working.pls can anyone helpme out.here is my code: #include <stdio.h>...
0
by: alivip | last post by:
I write code to get most frequent words in the file I won't to implement bigram probability by modifying the code to do the following: How can I get every Token (word) and ...
5
by: alivip | last post by:
How can I get every Token (word) and PreviousToken(Previous word) From multube files and frequency of each two word my code is trying to get all single word and double word (every Token (word) and...
1
by: dittytwo | last post by:
Hi there The below code works if you don't try to do anything to the word document which is great (Not :D) I am having problems with the context command both text (i.e initial document with no...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.