borderAndreaVB free resources for Visual Basic developersborder

AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincani

AndreaVB Home | News Home | Forum Home | Downloads | Register | Search | PM | Profile

Previous Topic (Finding Image File Properties)Next Topic (MS WORD API) New Topic Post Reply
AndreaVB OnLine : API : Registering an Application as System process
Poster Resource
Anitha_232
Level: Scholar

Registered: 03-03-2004
Posts: 47
icon Registering an Application as System process

hi..
thought i wud shift myself to this board..just to be on the safer side.

quote Goran :
" Which code have you tried? Above are only functions and constants that are used. Check this topic

http://www.andreavb.com/forum/viewtopic.php?TopicID=2884&page=0#9974          "

what i meant is that i called the function as mentioned in the link
GetCurrentProcessID works but when i call the function RegisterServiceProcess it gives me an error saying
"Runtime error 453
Cant find DLL entryPoint RegisterServiceProcess in kernel32"




what i am tryg to do is as follows:
i have made an application and want to run it on system-startup. adding it to the startup folder gives me the solution. but in this case, my app is listed in list of running applications. instead what i want is to add it to the list of running processes.
also it shud startup each time system startsup.. i hope i hav made my idea clear

can this be done? cud u explain whats happening?

thanx for all the help. very much appreciated  


on srching further on internet i got the notion that RegisterServiceProcess works only in windows98\Me !!

so is there a similar function that will work on all windows platforms? or some other means to go about this?

helppppppppppppppppp asap !!!

31-03-2004 at 06:50 PM
View Profile Send Email to User Show All Posts | Add Comment
Goran
Level: Moderator


Registered: 16-05-2002
Posts: 1681
icon Re: Registering an Application as System process

I have just checked in kernel32.dll and no RegisterServiceProcces entry, so it cant be used.

Check this then, altough MS doesnt recommend it, some people say that they used it with no trouble

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q175948&ID=KB;EN-US;Q175948&

____________________________
If you find the answer helpful, please mark this topic as solved.

31-03-2004 at 10:02 PM
View Profile Send Email to User Show All Posts | Add Comment
AndreaVB OnLine : API : Registering an Application as System process
Previous Topic (Finding Image File Properties)Next Topic (MS WORD API)New Topic Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder