|
-
Aug 30th, 2012, 05:51 PM
#1
Thread Starter
Hyperactive Member
Display or shell second exe from exe running as a service
i have a exe running fine as a service. its a vb6 app and runs under windows 7. i cant shell out another exe because from the service exe i get this window that says something like a program is trying to display an message. slick here to read. the exe i want to shell is just a regular form window. what is the best way to run another exe? i cant find anything on this forum
-
Aug 30th, 2012, 06:57 PM
#2
Re: Display or shell second exe from exe running as a service
Well one major issue is the fact that a service can run even when there is no user logged on but a windows form can not do this. A service also generally runs ina different account than what the user would be logged into and the windows form app would not be able to run because another account is active at the time.
-
Aug 30th, 2012, 07:35 PM
#3
Thread Starter
Hyperactive Member
Re: Display or shell second exe from exe running as a service
yes it runs under the system account. windows xp my app can shell out but in windows 7 they made it so you cant with out that weird windows message, so how do other apps do this?
-
Aug 31st, 2012, 08:38 AM
#4
Frenzied Member
Re: Display or shell second exe from exe running as a service
please post what you have written ? .and where did you stuck . so that we will give more suggestion .
-
Sep 1st, 2012, 08:23 AM
#5
Thread Starter
Hyperactive Member
Re: Display or shell second exe from exe running as a service
im running the app as a service with the ntsvc.ocx control and im tying to shell out with the standard shell command
Shell """" & App.Path & "\Splash.exe"" " & strEjectedMessage, vbHide
and when the splash.exe trys to open in vista and windows 7 i get the message from windows saying that an application is trying to show a message would you like to view? this is my issue. so what is another way a app running as a service under these windows versions can display any kind of message to the user? XP it runs fine. i have tried interactive service mode on and off with the same results
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|