473,698 Members | 2,411 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Showing Windows Forms in the ASP.NET process

Thanks for looking at this post:)

Does anyone knows how to make the asp.net process runs in the
UserInteractive mode?
I just want to show some Windows Forms in my asp.net application on the
server side to capture and display application monitoring messages, as
Windows Forms will display realtime messages much more easily than Web
Pages.

Can anybody help me? Thanks a lot!

Laser Lu
Mar 3 '06 #1
6 1405
I believe that it's much better to create a monitoring application... Show a
Windows Forms, I really don't know if it's possible, but it really looks not
recomendable for me...

--
Ravi Wallau
no****@nospam.o rg
"Laser Lu" <la******@hotma il.com> wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. .
Thanks for looking at this post:)

Does anyone knows how to make the asp.net process runs in the
UserInteractive mode?
I just want to show some Windows Forms in my asp.net application on the
server side to capture and display application monitoring messages, as
Windows Forms will display realtime messages much more easily than Web
Pages.

Can anybody help me? Thanks a lot!

Laser Lu

Mar 3 '06 #2
As you know, the asp.net process is started by the World Wide Web Publishing
service (inetinfo.exe). So I tried to turned on the "Allow service to
interact with desktop" option for that service, but it still doesn't work.
It seems there is no place to setting the starting options for the asp.net
process in Windows:(

"Ravi Ambros Wallau" <no****@nospam. com> wrote in message
news:uz******** ******@TK2MSFTN GP15.phx.gbl...
I believe that it's much better to create a monitoring application... Show
a Windows Forms, I really don't know if it's possible, but it really looks
not recomendable for me...

--
Ravi Wallau
no****@nospam.o rg
"Laser Lu" <la******@hotma il.com> wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. .
Thanks for looking at this post:)

Does anyone knows how to make the asp.net process runs in the
UserInteractive mode?
I just want to show some Windows Forms in my asp.net application on the
server side to capture and display application monitoring messages, as
Windows Forms will display realtime messages much more easily than Web
Pages.

Can anybody help me? Thanks a lot!

Laser Lu


Mar 3 '06 #3
By the way, can anybody tell the reason why user interaction should be
disabled for asp.net process?
Will it lead the process to run slower? Or for some safety reasons?

Forgive my gab, I just wanna learn more and have a deeper understand:)
Any replies would be appreciated!

"Laser Lu" <la******@hotma il.com> wrote in message
news:%2******** *********@TK2MS FTNGP14.phx.gbl ...
As you know, the asp.net process is started by the World Wide Web
Publishing service (inetinfo.exe). So I tried to turned on the "Allow
service to interact with desktop" option for that service, but it still
doesn't work. It seems there is no place to setting the starting options
for the asp.net process in Windows:(

"Ravi Ambros Wallau" <no****@nospam. com> wrote in message
news:uz******** ******@TK2MSFTN GP15.phx.gbl...
I believe that it's much better to create a monitoring application... Show
a Windows Forms, I really don't know if it's possible, but it really looks
not recomendable for me...

--
Ravi Wallau
no****@nospam.o rg
"Laser Lu" <la******@hotma il.com> wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. .
Thanks for looking at this post:)

Does anyone knows how to make the asp.net process runs in the
UserInteractive mode?
I just want to show some Windows Forms in my asp.net application on the
server side to capture and display application monitoring messages, as
Windows Forms will display realtime messages much more easily than Web
Pages.

Can anybody help me? Thanks a lot!

Laser Lu



Mar 3 '06 #4
> By the way, can anybody tell the reason why user interaction should be
disabled for asp.net process?
Will it lead the process to run slower? Or for some safety reasons?

Forgive my gab, I just wanna learn more and have a deeper understand:)
Any replies would be appreciated!


IIS usually runs on a server. This means that 99% of the time, nobody
is logged in. Where would you want to show those screens then?

Hans Kesting
Mar 3 '06 #5
IMPO, the functionality should be provide as a advanced option instead of
disabling it, as it is not hard to provide, since there is 1% chance to use.
If it is totally forbidden, really an inconvenience will it be for that 1%
users:)

"Hans Kesting" <ne***********@ spamgourmet.com > wrote in message
news:mn******** *************** @spamgourmet.co m...
By the way, can anybody tell the reason why user interaction should be
disabled for asp.net process?
Will it lead the process to run slower? Or for some safety reasons?

Forgive my gab, I just wanna learn more and have a deeper understand:)
Any replies would be appreciated!


IIS usually runs on a server. This means that 99% of the time, nobody is
logged in. Where would you want to show those screens then?

Hans Kesting

Mar 3 '06 #6
Add to your app some endpoints to monitor the app (webservice for example).

Create an application that query the WS to display messages...

You can also implement other messaging system (smtp for simple messages,
msmq=, etc.)

But do not forget the web page is created at each request...

Steve
"Laser Lu" <la******@hotma il.com> a écrit dans le message de news:
%2************* **@tk2msftngp13 .phx.gbl...
Thanks for looking at this post:)

Does anyone knows how to make the asp.net process runs in the
UserInteractive mode?
I just want to show some Windows Forms in my asp.net application on the
server side to capture and display application monitoring messages, as
Windows Forms will display realtime messages much more easily than Web
Pages.

Can anybody help me? Thanks a lot!

Laser Lu

Mar 3 '06 #7

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

Similar topics

4
1597
by: Gerry Viator | last post by:
Hi all, Whats going on. Testing messagebox, text isn't showing up. Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code "
1
2777
by: Mullin Yu | last post by:
But, I want is that I can have a Main app that will start a new process or kill one particular or all process. The process will open a console exe. But, I don't want the user to close the console windows by themselves, and force them to use the Main app. If I use Windows Services, I'm not sure can I create one dynamically, and then kill easily. But, if using console application, my following coding is working now. using System;
1
3039
by: Henry | last post by:
I was trying to work through the Lab 2 exercises in the Microsoft's Windows-Based Applications in Visual C#. While I am not showing any errors I am also not seeing the mainMenu object when I run the application. I am wondering if someone could point out why in the code below: using System; using System.Drawing; using System.Collections;
8
3276
by: Raed Sawalha | last post by:
I have form with progress bar ,when application begin processing and progress bar moving if I minimized the form and try to restore it ,it is not showing until the processing completed ,how can I enabled minimize, maximize moving form while processing in underway?
1
2176
by: MikeB | last post by:
I am using GetEnumerator for determining how many ListBox controls exist on a form and then binding each of them to a datasource. This is required as I need to add more Listbox controls to the form as required. All my controls are setup similar to the following: private System.Windows.Forms.ListBox listBox1; private System.Windows.Forms.TabControl tabControl1;
4
3156
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps further away, completely leaving the selector box area. Any ideas? VS 2003 and VB.Net This is a simple application at the moment but the form is inherited from a
0
1398
by: SMichal | last post by:
Hi, I've got a simple problem when I try to start a new process from my application. I'm starting a new process like this: Process proc = new Process(); proc.StartInfo.Arguments = ""; proc.StartInfo.FileName = @"C:\Submit.bat"; proc.StartInfo.CreateNoWindow = false; proc.Start(); proc.WaitForExit();
3
3360
by: Torben Laursen | last post by:
I have a COM shared add-in written in C# that I use in Excel. One of the thinks that the user can do is to open some winforms. The problem that I have is that the first time the user opens a winform it is slow around 7 seconds and after that it takes no time. Is there a way to speed up the process to show the winform the first time? Thanks Torben
2
1369
pablojoshua
by: pablojoshua | last post by:
Ok I have the current processes showing, but it shows the path of the process too. I just want the list to show the .exe or .dll name with the suffix. This is what I have so far (from microsoft) General Declorations Option Explicit Form Load Private Sub Form_Load() List1.Clear
0
9160
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8862
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6521
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2331
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.