473,471 Members | 2,533 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

windows services

hi,
iam trying to write a windows service that fires a IE
browser. I think the reason its not wroking because the
service runs in different windows session and idont see
the browser. if this is the case, how can i see the
browser beingfired up by my service
thanks
sumaira
Jul 21 '05 #1
4 1251
I though services were meant to run in the background without user
intervention.....

Anyhoo, to do this you will need to create a static inside your service
which can be called from an external program. Next you can create a
separate program that the user can run once logged in that will
interact/marshal through your class inside the service.

Bryan Martin
"sumaira" <sa**@purdue.edu> wrote in message
news:0b****************************@phx.gbl...
hi,
iam trying to write a windows service that fires a IE
browser. I think the reason its not wroking because the
service runs in different windows session and idont see
the browser. if this is the case, how can i see the
browser beingfired up by my service
thanks
sumaira

Jul 21 '05 #2
Wow I need to pay attention as to what im typing when im typing it. Bad
part is i actually watch the screen and read along as I type and still
accomplished making that error ;)

"create a static" ie... "create a static class"

"Bryan Martin" <sp**@ahwayside.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I though services were meant to run in the background without user
intervention.....

Anyhoo, to do this you will need to create a static inside your service
which can be called from an external program. Next you can create a
separate program that the user can run once logged in that will
interact/marshal through your class inside the service.

Bryan Martin
"sumaira" <sa**@purdue.edu> wrote in message
news:0b****************************@phx.gbl...
hi,
iam trying to write a windows service that fires a IE
browser. I think the reason its not wroking because the
service runs in different windows session and idont see
the browser. if this is the case, how can i see the
browser beingfired up by my service
thanks
sumaira


Jul 21 '05 #3
[Please do not mail me a copy of your followup]

"sumaira" <sa**@purdue.edu> spake the secret code
<0b****************************@phx.gbl> thusly:
iam trying to write a windows service that fires a IE
browser. I think the reason its not wroking because the
service runs in different windows session and idont see
the browser. if this is the case, how can i see the
browser beingfired up by my service


An NT service is the wrong tool for this job. Run a program in the
user's startup folder or something like that.
--
"The Direct3D Graphics Pipeline"-- code samples, sample chapter, FAQ:
<http://www.xmission.com/~legalize/book/>
Pilgrimage: Utah's annual demoparty
<http://pilgrimage.scene.org>
Jul 21 '05 #4
Bryan Martin <sp**@ahwayside.com> wrote:
Wow I need to pay attention as to what im typing when im typing it. Bad
part is i actually watch the screen and read along as I type and still
accomplished making that error ;)

"create a static" ie... "create a static class"


That still doesn't make much sense though, as there's no such thing as
a static class - could you specify exactly what you meant?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #5

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

Similar topics

0
by: Stefan Hinz | last post by:
Degan, jumping in to try and solve some problems that look pretty obvious to me ... > #options for default service (mysqld2) > (mysqld2) It should be , not (mysqld2).
8
by: Bill Sonia | last post by:
I've written a Windows Service to send e-mails on events like OnStart, OnStop, OnShutDown using System.Web.Mail. It works for everything but OnShutdown. My guess is that for OnShutDown, once my...
3
by: illegal.prime | last post by:
Hi all, I have a service that needs to start a regular windows application. I'm running the service as ServiceAccount.LocalSystem. But, when it starts the process (using Process.Start) the GUI...
5
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
This code works fine in Windows Application. In Windows Application, I am able to zip the image files properly and it totally contains 900MB My problem is the same code which I used in my Windows...
2
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
Hi, I have 2 applications running, one Windows application project and the other windows services project. I want to call my Windows application in my windows services. I want to run them as...
1
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
Hi, I have 2 applications running, one Windows application project and the other windows services project. I want to call my Windows application in my windows services. I want to run them as...
5
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name?...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Overview NOTE- This complete article on "Windows Autorun FAQs" applies theoretically to all Windows NT-based OSes till Windows Vista (and probably Vista's successors too)....
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
1
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...
0
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,...
0
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...
0
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 ...
0
muto222
php
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.