selections.fields.add don't work win2k&win2003 terminal server

T

Tuncer Erhamza

Hi!

This code is asp.
Target is word. (running on terminal server)
selection.fields.add(...)
but it isn't work.

What's the problem? This code is running on the client well.

Thanks.
Tuncer Erhamza
 
C

Cindy M -WordMVP-

Hi Tuncer,
This code is asp.
Target is word. (running on terminal server)
selection.fields.add(...)
but it isn't work.
Hard to be sure, but assuming the code you show us is exactly
what you have in asp, I'd say you need to qualify Selection
with the application object. In VB:
Dim wdapp as Word.Application
Set wdApp = New Word.Application
wdApp.Selection.fields.add(...)
What's the problem? This code is running on the client well.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8
2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top