473,326 Members | 2,136 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,326 software developers and data experts.

starting interactive process from windows service(vb.net or c#)

Hi there all,

i am trying to work on this for past two weeks but nothing seem to
work. I am trying to launch a process from windows service (i have to
do this way, no other option). Windows service is running under system
account with interaction with desktop enabled. The application i want
launch is a vb.net gui application. I have tried using wmi, windows
api, managed system.process.start method but all have one problem or
the other. Under one situation i am able to run process under a
specific user account giving user/password but the gui is not showing,
the other method is used shows gui and user can interact with it but
process runs under system account.

Is there a way in wmi so that i can start process under specific
account(logged on account) and process shows gui as well. I'll have
access to user/password of that account. Please give me just one
example running notepad.exe as i desired. many thanx in advance.

Oh one thing operating system i need to run are win2000 pro(latest sp)
and winxp pro sp2.

Feb 28 '06 #1
1 3246
Did you solve the problem? I have the same one.

/pe************@hotmail.com
---
Posted via www.DotNetSlackers.com
Mar 14 '06 #2

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

Similar topics

0
by: Glenn | last post by:
I've tried both the FileInfo class as well as the old VB file io methods to access a file on a netware server from a Windows Service build using VB.Net and no method I've tried works. I get a...
3
by: moondaddy | last post by:
I read a great article by Dino Esposito about a control he built to help generate images dynamically similar to how asp.net 2.0 will do it. His sample worked in a C# project, but when I tried to...
0
by: pbb | last post by:
I saw an old post where a guy (Moondaddy) converted Dino Esposito's code for dynamically generating an image in ASP.NET 1.1 from C# to VB. The basic gist of the code is that you can stream an...
2
by: harrymangurian | last post by:
I have VB.net standard installed on a stock DELL running XP. When I click on the icon whose target is: "C:\Program Files\Microsoft Visual Studio .NET\Common7 \IDE\devenv.exe" I get error...
1
by: Nick Chan | last post by:
hello, i have created a .net windows service this service will run external programs, and make it show. i use user32's showWindow to show it it works in windows XP
1
by: Jay | last post by:
Hi, I am trying to connect to a java web service. I have a vb .net client which uses the service. It was working ok few days ago. The web service has been updated and i have been getting the...
1
by: shil | last post by:
Is there any possible way to create an email attachments from an URL in windows vb.net application? I'm using frame work 2.0, System.Net.Mail component. If I attach a file from my file system,...
9
by: brendan_gallagher_2001 | last post by:
Hi I am seeing some strange behaviour on a windows (vb.net 1.1) service. Basically, what I see happening is that when the Timer1_Elapsed event fires, it attempts to execute Timer1.Stop() but...
0
by: calinux | last post by:
hi i am developing a windows application (VS 2008 - .net 3.5) which is requesting some data from a server (XML) and depends by results it is doing something this application is using a UI for...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.