473,597 Members | 2,149 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Word

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

Thanks,
Richard
Nov 20 '05 #1
56 3410
Hello,

"Richard Grene" <rg****@s4si.co m> schrieb:
using Word automation from vb.net how can I get to the
bottom of the document?


Ask in the Word ng:

news://news.microsoft.com/microsoft....rd.vba.general

The solution can be translated to VB.NET...

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
On Mon, 8 Sep 2003 13:39:19 -0400, "Richard Grene" <rg****@s4si.co m> wrote:

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

WordApplication .Selection.EndK ey(Word.WdUnits .wdStory)
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #3
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.

Thanks,
Richard

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #4
"Fergus Cooney" <fi******@tesco .net> schrieb
Hi Armin,

I'm getting more curious.

Herfried said
|| Ask in the Word ng:
|| news://news.microsoft.com/microsoft....rd.vba.general

He said this several hours ago.

Now you're saying:
|| As Herfried suggested, you should ask in the Word VBA group
|| because it is a question about the Word object model.

I really don't understand who gains from this post.
Richard. BTW, I really don't understand who gains from _your_ post.

Are you supposing that this person is stupid and needs to be told
twice?
Herfried's hint was about 2 hours earlier than Richard's second post, so
Richard probably overlooked Herfried's reply, that's why I referred to
Herfried's hint to turn to the other group.
Do you get some kick out of seeing your name in posts?
Are you trying to get your hit count up in Google Groups?

*LOL* I'd say _you_ are the one creating the most OT threads lately, so,
please, don't try to tell me what to do, ok? And, to answer the questions:
no.

I have written a post to Cor but it applies to you.
You will disagree and I am interested in what your views will
be.

Topic: Syntax Error in INSERT INTO Command


Mostly I don't participate in all these OT threads. Unfortunately they are
increasing my download times by an undesirable amount lately. :-(
--
Armin

Nov 20 '05 #5
Hello,

"Fergus Cooney" <fi******@tesco .net> schrieb:
I'm getting more curious.
;-)
Herfried said
|| Ask in the Word ng:
|| news://news.microsoft.com/microsoft....rd.vba.general

He said this several hours ago.

Now you're saying:
|| As Herfried suggested, you should ask in the Word VBA group
|| because it is a question about the Word object model.

I really don't understand who gains from this post.
I think Richard didn't really understand _why_ I told him to ask in the
Word ng. In the Word ng, he will more likely get an answer. The
question is mostly related to Word VBA, not VB.NET.
Are you supposing that this person is stupid and needs to
be told twice?
Ha... In the German ngs people who do not post with a realname don't
get an answer. I and some others tell them that they should post with a
realname. Some of them change their name into a realname quickly,
others still post with the "nickname". Nevertheless, there were some
folks who needed some time to understand why it's better to post with a
realname.

What's the point of the paragraph above? Telling somebody that he
should post to an other ng should not be interpreted as a command, it
should be considered a hint.
Do you get some kick out of seeing your name in posts?
LOL
Are you trying to get your hit count up in Google Groups?
Is there any hit count?
I have written a post to Cor but it applies to you.
You will disagree and I am interested in what your views will
be.

Topic: Syntax Error in INSERT INTO Command


I already read your posting, but I didn't have enough time to reply yet.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #6
Hello,

"Armin Zingler" <az*******@free net.de> schrieb:
I'm getting more curious.

Herfried said
|| Ask in the Word ng:
|| news://news.microsoft.com/microsoft....rd.vba.general

He said this several hours ago.

Now you're saying:
|| As Herfried suggested, you should ask in the Word VBA group
|| because it is a question about the Word object model.

I really don't understand who gains from this post.
Richard. BTW, I really don't understand who gains from _your_ post.


Armin and Herfried, the policemen...

SCNR
Mostly I don't participate in all these OT threads. Unfortunately
they are increasing my download times by an undesirable
amount lately. :-(


:-(

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #7
Hi Herfried,

|| Is there any hit count?

Cor 29200 (Total), 5100 (2003)
Herfried 19100 18400
Armin 13600 3680
Jay 5200 1640
Nick 3930 900

Regards,
Fergus
Nov 20 '05 #8
Well that explains it then - There's a competition - What's the prize?

"Fergus Cooney" <fi******@tesco .net> wrote in message
news:eS******** ******@TK2MSFTN GP09.phx.gbl...
Hi Herfried,

|| Is there any hit count?

Cor 29200 (Total), 5100 (2003)
Herfried 19100 18400
Armin 13600 3680
Jay 5200 1640
Nick 3930 900

Regards,
Fergus

Nov 20 '05 #9
"Fergus Cooney" <fi******@tesco .net> schrieb
Hi Herfried,

|| Is there any hit count?

Cor 29200 (Total), 5100 (2003)
Herfried 19100 18400
Armin 13600 3680
Jay 5200 1640
Nick 3930 900

Seems you want to be added.

;-)
--
Armin

Nov 20 '05 #10

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

Similar topics

8
3503
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 the moment the printed output is usually going to Word. It's turning into an unholy mess, because I'm having to prepare umpteen different Word templates, and the queries that drive them, depending on what events a course has.
3
6114
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 done this? Does it seem possible? I followed the instructions from a sample on the Microsoft knowledge base but it only seems to work when creating a VB.NET Windows .EXE, not an VB.NET ASP app.
2
13497
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 execute a MailMerge to create mailing labels or customized letters. A label name known to MS Word MailMerge mailing label wizard may be used or a template file containing the field names Line1 thru Line5 for each record to be printed. If a...
7
6231
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 user and populated (with info from an Access database) at run-time, then saved as Word documents. The program I have coded works fine -- it does what I need it to do. But it has two problems: (1) it runs very slowly, and (2) it does not seem to...
4
12427
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 this: can Access create the document and place it as an OLE object to the relevant table? Any help is greatly appreciated. Ricky
1
3001
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 <stdio.h> #include <ctype.h> #include <string.h> #include <stdlib.h> struct word { struct word *left; /* tree to the left */ struct word *right; /* tree to the right */ char *WORD;
2
4948
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> #include <ctype.h> #include <string.h> #include <stdlib.h> struct word { struct word *left; /* tree to the left */ struct word *right; /* tree to the right */ char *WORD;
0
1908
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 PreviousToken(Previous word) and frequency and probability From text file and put each one in cell in table For example if the text file content is "Every man has a price. Every woman has a price." First Token(word) is "Every" PreviousToken(Previous...
5
2532
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 PreviousToken(Previous word)) from multube files and get frequency of both. it can get for single word but double word give error line 50, in most_frequant_word word1+= ' ' + word_list IndexError: list index out of range import...
1
4375
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 text) or a subsequent addition of text, insert, to the document. as this is going to be used along side other com opened applications Excel power point etc. it needs to work in the self.X orientation as i can get it to work normally see code 2 ...
0
7969
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7886
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8381
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8035
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6688
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5431
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3886
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2404
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.