|
-
Dec 28th, 1999, 10:05 PM
#1
Thread Starter
Hyperactive Member
I had recieved help on this board that showed me how to use the spell check in word for a text box. I believe the code given to me uses late binding. Is it possible to use early binding?(not the complete code just what I think to be late binding)
Dim Word As Object, retText$
Set Word = CreateObject("Word.Basic")
Word.AppShow
if this is late binding, can early binding be used and how does early binding work?
------------------
I am so skeptacle, I can hardly believe it!
-
Dec 28th, 1999, 10:49 PM
#2
Hyperactive Member
Funny, I was asked this question on an interview! To the best of my knowledge it's late binding and just by referring to the object through the object browser it's available. Early binding is creating the object from scratch (I think). I'm still a new-be and I look forward to someone clarifying this further.
Joey O.
-
Dec 29th, 1999, 01:09 AM
#3
Guru
-
Dec 29th, 1999, 01:59 AM
#4
Thread Starter
Hyperactive Member
RogerH:
OK it opens up word.
how can I tell it to open up a document for me? Is there a help file or a website that will help. The intellisense is not very intelligent for me.
thank you for your time and have a good day
------------------
I am so skeptacle, I can hardly believe it!
-
Dec 29th, 1999, 02:42 AM
#5
Thread Starter
Hyperactive Member
never mind I found how to open a document
-
Dec 29th, 1999, 12:52 PM
#6
Lively Member
Sorry, but there's an essential diff between late and early binding!
Select in menu Project - References the "MS Word Object library". Your code with early binding:
Dim objword As word.Application
Set objword = New word.Application
objword.Visible = True
Benefits: Faster and IntelliSense (the function that shows you possible parameters and so on while you're writing the code)
RogerH
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|