Integer iResult
String sDoc
oleobject oWord
object oWordDoc
sDoc = "c:\temp\worddoc.doc"
oWord = create oleobject
iResult = oWord.ConnectToObject( "", "Word.application" )
if iResult < 0 then
iResult = oWord.ConnectToNewObject( "Word.application" )
if iResult < 0 then
MsgBox "Error openning OLE Objects"
Exit function
end if
end if
Set oWordDoc = oWord.Documents.open(sDoc) <---------
Error
oWordDoc.SpellingChecked = False
oWord.Visible = True
--------------
mpe...@iname.com
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
It appears that you may have attempted to send a
message to the Powersoft/Sybase newserver through a
news service or through an ISP that does not post to
private NNTP servers correctly (e.g., worldnet.att.net,
aol.com, etc.) As a result, your message never
actually made it to the Sybase NNTP server. I
only saw your post because I not only monitor the
NNTP server, but I also monitor a news service so
that I can see messages that were sent, and can
compare them to see which messages never made it.
To ensure that your posts make it to the server, you
need to do one of the following:
(a) Use a standard newsreader and connect directly
to the forums.powersoft.com or forums.sybase.com
newsserver.
(b) Use the web based newsreader at
www.pfcguide.com. It does post directly to the
Powersoft/Sybase NNTP server.
(c) If you posted through an ISP, ask them to correct
their configuration so that they post to NNTP
servers directly, rather than attempting to post
to them through Usenet.
Bruce Armstrong [TeamSybase] | Romac/Source International
mailto:Bruce.A...@teamsybase.com | http://www.kforce.com
| http://www.romac-source.com
Preach the gospel at all times. If necessary, use words. [Francis of
Assisi]
http://www.kidbrothers.org http://www.fccwc.org
http://www.harvest.org/knowgod/index.htm