473,385 Members | 1,392 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Starting winword.exe

I tried to start winword.exe from an aspx (after granting things with
dcomcnfg)
and i can see winword.exe showing up in the taskmanager,
but i don't see the word-application itself.

I did set the visibility, true.

Hope someone can help me.

Richard Loupatty
Nov 17 '05 #1
2 3836
Why are you trying to start Word on the server? I imagine there will not
usually be anyone sitting there to see Word appear anyway.
The problem is that your process does not have access to the desktop.

You might try this: go into control panel, administrative tools, services.
Find all the WWW related services and, in their properties, check the
checkbox that says "Allow Service to Interact with Desktop"

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net

"Richard Loupatty" <ri***@trashnet.nl> wrote in message
news:3f*********************@news.versatel.net...
I tried to start winword.exe from an aspx (after granting things with
dcomcnfg)
and i can see winword.exe showing up in the taskmanager,
but i don't see the word-application itself.

I did set the visibility, true.

Hope someone can help me.

Richard Loupatty

Nov 17 '05 #2
Simply redirecting to the doc file should launch word in the browser.

However, if you want to launch word directly as an application, you will
have to use script.
There are possible security issues doing this, but the following script
should work (at least in IE). This script should open any document in its
associated application, just set the onclick event to call the following
script:

<script language="vbscript">
Function OpenAppFile(cFileName)
Dim oWScript
set oWScript = createobject("WScript.shell")
oWScript.run(cFileName)
oWScript=Null
END Function
</script>

PS: If someone could translate this into javascript, please send that to
me.

Troy

"Richard Loupatty" <ri***@trashnet.nl> wrote in message
news:3f*********************@news.versatel.net...
I am looking for a solution in a citrix-environment.
Don't know where to look, but the webapplication should give the
user the possibility to start word.

Richard

"Steve C. Orr, MCSD" <St***@Orr.net> schreef in bericht
news:eT*************@TK2MSFTNGP11.phx.gbl...
Why are you trying to start Word on the server? I imagine there will not usually be anyone sitting there to see Word appear anyway.
The problem is that your process does not have access to the desktop.

You might try this: go into control panel, administrative tools,

services.
Find all the WWW related services and, in their properties, check the
checkbox that says "Allow Service to Interact with Desktop"

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net

"Richard Loupatty" <ri***@trashnet.nl> wrote in message
news:3f*********************@news.versatel.net...
I tried to start winword.exe from an aspx (after granting things with
dcomcnfg)
and i can see winword.exe showing up in the taskmanager,
but i don't see the word-application itself.

I did set the visibility, true.

Hope someone can help me.

Richard Loupatty



Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bhavya Shah | last post by:
Hello there, I am facing a strange problem. I use office converters for converting Microsoft Word documents to html in my application. I use office automation for the entire process. I open the...
3
by: John Mark Howell | last post by:
Does anyone know how I could view a WinWord Doc in a WinForm (other than convert to RTF or HTML)? I cannot convert it to RTF because I have drawn lines and they will not come through when...
0
by: Just D. | last post by:
Guys, I'm writing the Windows Application and one of the ideas is to use a RichText field to store/show some formatted text, probably with pictures. The problem is that this RichEdit control is...
2
by: Robin Tucker | last post by:
Hi, I am diligently releasing (Marshal.ReleaseComObject (o) ) all references I pick up while generating a report using VB.NET in my software. At least, I *think* I am. However, when I have...
3
by: Dean Slindee | last post by:
The code below is being used to launch WinWord.exe from a VB.NET program. Word launches, but displays this error message: "Word has experienced an error trying to open the file. Try these...
2
by: Dean Slindee | last post by:
The code below is being used to launch WinWord.exe from a VB.NET program. Word launches, but displays this error message: "Word has experienced an error trying to open the file. Try these...
1
by: tvjraman | last post by:
Visual Basic 6 I use Getobject() to get the object of Word application. I always get the first instance of Winword.exe I have a macro in another instance of Winword.exe I need to get the...
2
by: Dean Slindee | last post by:
Using this statement to utilize the spell checker in WinWord: WinOffice.clsWord.SpellChecker(txtNote.Text) 'this does not work because no main window is displayed 'Dim proc =...
2
ajester
by: ajester | last post by:
I need WinWord to look like it's being executed from the correct path: C:\Program Files\Microsoft Office\Office12\WinWord.exe when in reality it's being launch from a Java app using the path...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.