sign in • sign up
web | myLot | discussions | blogs | news | photos
homeinterestsdiscussionsblogsnewsmessages friendsphotosearningsmyLot

Setting MS Word Properties in VB6 email this discussion to a friend?

myLot reputation of 91/100. repzkoopz (923)   ranked 3 out of 10 in visual basic11 months ago

does anybody know how to set properties like fonts in MS Word via VB6? i'm creating a report which uses Word for printing purposes, and i can't seem to be able to set fonts properly.

 
 
visual basic
sponsors
Docutools 5.0 Formatting Software
Docutools extends MS Word, enabling writers to quickly and consistently develop reference documentation.
www.p-t-a.com

NJ Phone Answering
24/7 Answering with Flat Monthly Rates. Free Custom Auto-Attendant.
www.premiereanswering.com

answering office phone virtual
Find providers of answering services in our directory.
www.business.com

User has not selected a best response.
tags:  visual basic, vb, printing, ms word, computer problems
 
1. myLot reputation of 83/100. danzer (2490)   9 months ago

3 month old post and nobody responded! I think what you better do if you have problems with your computer is to use the search engines such as yahoo and google. You will save yourself time!


myLot reputation of 91/100. repzkoopz (923)   ranked 3 out of 10 in visual basic  9 months ago

yep.. 3 month old post and the first it gets isn't helping. seems you didn't understand the problem. you see, the problem here is programming related, and is more complicated than you think it is. it would have been more helpful if you just left it as it is with no response because in the first place, i didn't expect a lot of responses from here knowing there are very few programmers around.
and just so you know, i've already resolved the problem the same night i posted it. i've been here for quite some time and i've seen the difference between trying to help and merely posting to add count.. yours is obviously the second..

Docutools 5.0 Formatting Software Docutools extends MS Word, enabling writers to quickly and consistently develop reference documentation. www.p-t-a.com
 
2. myLot reputation of 80/100. mnsrwt123 (1059)   7 months ago

well, if you just wanted to do this then you have to set it through properties of any fonts, just right click on it and there you find a property tab and then select some fonts and fonts size...


myLot reputation of 91/100. repzkoopz (923)   ranked 3 out of 10 in visual basic  7 months ago

well.. thing is, property settings for the word object model isn't exactly similar to property settings with vb itself. but no worries, i managed to sort things out though. hehe.. but thanx for your response though.. i appreciate it. c",)

NJ Phone Answering 24/7 Answering with Flat Monthly Rates. Free Custom Auto-Attendant. www.premiereanswering.com
 
3. myLot reputation of 98/100. ferdzNK (2058)   7 months ago

Greetings repzkoopz! I was able to do it though with in MS excel macro way way back, the commands are all there in excel help file. I just wasn't able to tried it from within VB. That is why I'm curious, how did you did it(tinker word from VB)?


myLot reputation of 91/100. repzkoopz (923)   ranked 3 out of 10 in visual basic  1 month ago

hey there ferdzNK! c",) sorry, i didn't notice someone else actually responded here.
anyway, i managed to find some codes i'll need to set proper formatting to the report i was making.. i used codes like these:

---------------------
Set oRange= oDoc.Bookmarks("\EndOfDoc").Range
oRange.Text= oRange.Text & Format(Now, "mm/dd/yyyy") & vbCrLf & vbCrLf
oRange.Font.Name= "Arial"
oRange.Bold= True
oRange.ParagraphFormat.Alignment= wdAlignParagraphRight
---------------------

answering office phone virtual Find providers of answering services in our directory. www.business.com
 
sponsors
1000s of Ringtones
Don't miss this great offer! Instant, easy download to your cell.
Ringerman.com

computer answering service
Practical Advices for Consumers About computer answering service.
CallAnsweringServices.net

Answering Service
Find answering service company Near You. The Web's Local Search Engine.
www.local.com

similar discussions
I need to learn
Hi Friends I need to learn visual Basic. Can some body please help me to do that. Thank you Have...
Which programming language you like
Which Programming Language you like the most 1) C language 2) C++ language 3) Visual...
is writing programs for computer easy
i have tried some cobol programming long back while i was learnign about computers it was lot of...
Visual Basic 6 and VB.Net Tutorials
Please share your talents about Visual Basic here. Thanks and God Bless.
.Net Programming
I have been away from programming for quite some time and now I realized that the Programming...
Programming
Dear all any one know about visual foxpro programming..
sponsors
1000s of Ringtones
Don't miss this great offer! Instant, easy download to your cell.
Ringerman.com
computer answering service
Practical Advices for Consumers About computer answering service.
CallAnsweringServices.net
Answering Service
Find answering service company Near You. The Web's Local Search Engine.
www.local.com
Answering Service
The top websites for computer answering service.
www.answeringservicez.biz
Answering Service
Get the webs top information for Answering Service here.
www.freeansweringservices.net
Computer Answering Service
Find Computer Answering Service. Cheap & Affordable. Compare Today.
www.AreaConnect.com