Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help: whats wrong ? how to change it ?

0 views
Skip to first unread message

mpe...@iname.com

unread,
Aug 2, 1999, 3:00:00 AM8/2/99
to
I have the following code:
(i want to open the word doc and run macro on it,and other option in
Word
Documents)


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.

Bruce Armstrong [TeamSybase]

unread,
Aug 12, 1999, 3:00:00 AM8/12/99
to mpe...@iname.com
In article <7o38ur$v8g$1...@nnrp1.deja.com>,
Hi!

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

0 new messages