473,666 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Show Msgbox in SYSTEM account

Hi,

I have an application to be run as Local System Account, it suppose to
show a msgbox to the user but it doesnt show anything.

I know that app run as system is not visible but is there any other
way to show something?

Thanks in advance.

Rgds,
Joel

May 2 '07 #1
5 2570
Joel,

Is it a service?

--
Newbie Coder
(It's just a name)

<jo********@yah oo.comwrote in message
news:11******** **************@ y80g2000hsf.goo glegroups.com.. .
Hi,

I have an application to be run as Local System Account, it suppose to
show a msgbox to the user but it doesnt show anything.

I know that app run as system is not visible but is there any other
way to show something?

Thanks in advance.

Rgds,
Joel

May 2 '07 #2

if this is a service ... it is a bad idea to show the user a message box ...
this could freeze the service.

however, if you do want to run this as a service and have a messagebox
appear for a user...

Go to the administration tools Services find your service properties >
second tab (Log On) information , check the 'Allow Service to interact with
desktop' ..

Jeff.

<jo********@yah oo.comwrote in message
news:11******** **************@ y80g2000hsf.goo glegroups.com.. .
Hi,

I have an application to be run as Local System Account, it suppose to
show a msgbox to the user but it doesnt show anything.

I know that app run as system is not visible but is there any other
way to show something?

Thanks in advance.

Rgds,
Joel

May 2 '07 #3
jo********@yaho o.com wrote:
I have an application to be run as Local System Account, it suppose to
show a msgbox to the user but it doesnt show anything.
That's to be expected.

Services [used to] run an a "virtual desktop" that nobody can actually
get to see. Popping up a dialog in this way would hang the service
process, so it's actively prevented, with the message usually going to
the Event Log instead.

I believe that the ability for Services to "interact with the desktop"
is being /removed/ from newer versions of Windows.
I know that app run as system is not visible but is there any other
way to show something?
Lots - most of which will require a process to be running in the user's
interactive session.

Regards,
Phill W.
May 2 '07 #4
Hi Phill, Jeff,

Thanks for your replies.

This is just a plain VB.Net application intended to run by Altiris (as
System). It displays a msgbox that tells user to restart the pc (yes/
no). I just want this msgbox to appear.

Can anybody guide me how to do this?
Thanks.

Rgds,
Joel

Phill W. wrote:
jo********@yaho o.com wrote:
I have an application to be run as Local System Account, it suppose to
show a msgbox to the user but it doesnt show anything.
That's to be expected.

Services [used to] run an a "virtual desktop" that nobody can actually
get to see. Popping up a dialog in this way would hang the service
process, so it's actively prevented, with the message usually going to
the Event Log instead.

I believe that the ability for Services to "interact with the desktop"
is being /removed/ from newer versions of Windows.
I know that app run as system is not visible but is there any other
way to show something?

Lots - most of which will require a process to be running in the user's
interactive session.

Regards,
Phill W.
May 3 '07 #5
On May 2, 9:09 am, "jeff" <jhersey at allnorth dottt comwrote:
Go to the administration tools Services find your service properties >
second tab (Log On) information , check the 'Allow Service to interact with
desktop' ..
Be advised that this will no longer work on Windows Vista

May 3 '07 #6

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

Similar topics

13
74074
by: genetic.error | last post by:
I'm moving from Vb6 to VB.Net. I have a feeling this has come up before... The VS.Net MSDN file seems to state that the following should work: Form1.Show Form1.Visible = True Form1.Hide Form1.Visible = False Load (Form1)
22
2274
by: Zeng | last post by:
Hi, I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start common language runtime - this is the time to load your test page." even after I launched my app and aspnet_wp.exe is running. Do you know what I need to do to fix it? I also found some old post, a person mentioned that I need to make sure I need to run my aspnet with system account instead. ...
6
2003
by: R. Stormo | last post by:
I have a problem showing output that is comming from a script. If I make a script running at commandline it do work and everything are showing. But when I try to execute it from within my proggy it would not show. I have tried to save the outout to a file and again, when I runit from commandline it do save everything but from software it would not. It do only show things that are outputed with "echo" My routine for showing the file are,...
4
3945
by: geert | last post by:
The Msgbox is always centered on the screen. Does anyone know how i can manage it to move the Msgbox to a corner of the screen. G.
7
4788
by: Peter Afonin | last post by:
Hello, I'm using this code to access a network share from an asp.net page: Dim dir As DirectoryInfo = New DirectoryInfo("\\10.0.0.150\FormLib\") Dim files() As FileInfo = dir.GetFiles("*.eps") When I try to do it, I get this error: System.UnauthorizedAccessException: Access to the path
2
1774
by: Willie jan | last post by:
Hi, i want to show the current date in two languages. when i use this code it works, but i have to set the application to the culture and because this will become a function inside a usercontrol, i do not want to change the culture for the application just to get a different language text... Anyone an idea?
4
9872
by: Prabhudhas Peter | last post by:
Can Any one explain me what is the Difference between MsgBox and MessageBox.Show... In VB6 i used MsgBox, So Can I Say "MessageBox.Show" is the new version of MsgBoz which belongs to C# or VB -- Peter...
7
11341
by: Bob L | last post by:
I've inserted a MsgBox in some VBScript on line 12 of an .asp page and get the following error: Microsoft VBScript runtime error '800a0046' Permission denied: 'MsgBox' /default.asp, line 12 The script processes a form and other than this problem with MsgBox, the script works fine. I've Googled the error but so far haven't found an
1
1983
by: CrimeMaster | last post by:
I have write some simple code,this code does not shows network mapped drives when we run it under system account, otherwise under user account it shows them correctly. Any body tell me why did its behaviour change under system account, and how we can do it under system account. CFileDialog fileDlg(TRUE); fileDlg.DoModal();
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8871
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...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8640
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...
0
7386
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6198
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
5664
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();...
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.