Click here to Skip to main content
15,891,513 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to use if condition in stored procedures Pin
Herman<T>.Instance20-Apr-09 3:13
Herman<T>.Instance20-Apr-09 3:13 
Questionprint page problem Pin
lakshmichawala17-Apr-09 23:32
lakshmichawala17-Apr-09 23:32 
QuestionFailed to access IIS metabase. Pin
Kiran 267104817-Apr-09 21:49
Kiran 267104817-Apr-09 21:49 
AnswerRe: Failed to access IIS metabase. Pin
N a v a n e e t h17-Apr-09 21:53
N a v a n e e t h17-Apr-09 21:53 
GeneralRe: Failed to access IIS metabase. Pin
Kiran 267104818-Apr-09 0:34
Kiran 267104818-Apr-09 0:34 
Questionhow to get the activeobject of a running instance of MS WORD in ASP.NET? [modified] Pin
Michael Tang17-Apr-09 21:36
Michael Tang17-Apr-09 21:36 
AnswerRe: how to get a activeobject of a running instance of MS WORD in ASP.NET? Pin
N a v a n e e t h17-Apr-09 21:46
N a v a n e e t h17-Apr-09 21:46 
GeneralRe: how to get a activeobject of a running instance of MS WORD in ASP.NET? Pin
Michael Tang17-Apr-09 23:17
Michael Tang17-Apr-09 23:17 
N a v a n e e t h,
Thank you very much for your help and sorry for my not clear question Smile | :)

The MsWord process is running on server and it has openned some doc file, and now I'am try to interact with the MsWord process in my ASP.NET application. So I tried to use GetActiveObject to get a objec reference to the MsWord process. But it just throwed a exception.

And the GetActiveObject()can work well in a C# WINFORM application, while not in an ASP.NET application.

I think the discuss thread I mentioned above in my question may gave the possible reason of this quesion. Here is the abstract of the post:
---------------------------------------------
Hello,

Based on my research, GetActiveObject obtains a running instance of an
object from the running object table (ROT). Each WinStation has it's own
ROT. The interactive desktop is one WinStation and has it's own ROT and
that is where the desktop application will have registered the running
object. The ASP.NET process is running under a seperate account and exists
in a non-interactive WinStation with its own ROT. That is why it fails.

I think the only way for this to work would be to launch the third party
application process from ASP.NET so it exists in the same WinStation. Of
course the application will then not be visible and the user cannot
interact with it.
--------------------------------------------

Thanks a lot Smile | :)
GeneralRe: how to get a activeobject of a running instance of MS WORD in ASP.NET? Pin
Michael Tang17-Apr-09 23:21
Michael Tang17-Apr-09 23:21 
GeneralRe: how to get a activeobject of a running instance of MS WORD in ASP.NET? Pin
N a v a n e e t h18-Apr-09 6:36
N a v a n e e t h18-Apr-09 6:36 
GeneralRe: how to get a activeobject of a running instance of MS WORD in ASP.NET? Pin
Michael Tang19-Apr-09 21:14
Michael Tang19-Apr-09 21:14 
QuestionTreeview child menu control is not responding when the session timed out Pin
Kiran 267104817-Apr-09 20:56
Kiran 267104817-Apr-09 20:56 
AnswerRe: Treeview child menu control is not responding when the session timed out Pin
N a v a n e e t h17-Apr-09 21:00
N a v a n e e t h17-Apr-09 21:00 
GeneralRe: Treeview child menu control is not responding when the session timed out Pin
Kiran 267104817-Apr-09 21:43
Kiran 267104817-Apr-09 21:43 
GeneralRe: Treeview child menu control is not responding when the session timed out Pin
N a v a n e e t h17-Apr-09 21:50
N a v a n e e t h17-Apr-09 21:50 
GeneralRe: Treeview child menu control is not responding when the session timed out Pin
Kiran 267104817-Apr-09 23:23
Kiran 267104817-Apr-09 23:23 
Questionforeignkey in database Pin
bimla rajpoot17-Apr-09 20:41
bimla rajpoot17-Apr-09 20:41 
AnswerRe: foreignkey in database Pin
N a v a n e e t h17-Apr-09 20:57
N a v a n e e t h17-Apr-09 20:57 
Questionhow to clear all item from list box Pin
Rajeesrivastava17-Apr-09 19:55
Rajeesrivastava17-Apr-09 19:55 
AnswerRe: how to clear all item from list box Pin
N a v a n e e t h17-Apr-09 21:03
N a v a n e e t h17-Apr-09 21:03 
AnswerRe: how to clear all item from list box Pin
Jagz W18-Apr-09 2:48
professionalJagz W18-Apr-09 2:48 
QuestionPass the value code behind to xslt file Pin
saravanan0517-Apr-09 19:20
saravanan0517-Apr-09 19:20 
QuestionGridview Template Filed Button Command Pin
Sarfaraj Ahmed17-Apr-09 19:19
Sarfaraj Ahmed17-Apr-09 19:19 
AnswerRe: Gridview Template Filed Button Command Pin
Sarfaraj Ahmed17-Apr-09 20:10
Sarfaraj Ahmed17-Apr-09 20:10 
QuestionHow to clear all the textbox,dropdownlist controls in a webpage in asp.net2.0? Pin
Subin Alex17-Apr-09 18:32
Subin Alex17-Apr-09 18:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.