Click here to Skip to main content
12,627,377 members (36,974 online)
Rate this:
Please Sign up or sign in to vote.
I have created a windows service to print a image and have written the code in the "onstart" method of the service.

I want to start the service from a metro style javascript application.

How can I accomplish this?

Please help.
Posted 22-Dec-12 4:11am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

No, we won't give you solution.. We can't work out for you like this.. You should try it by yourself.. If you got stuck somewhere, you can certainly come here.. But don't ask directly for code..
brlalithkumar 22-Dec-12 9:56am
Hey, I have been searching for answers. I couldn't find anything.

Moreover, this website is meant to help people.

So, if you don't know the answer, please back off. I never asked you.
Krunal Rohit 22-Dec-12 9:57am
please read it carefully and understand what I mean...
brlalithkumar 22-Dec-12 10:00am

I have coded the windows service. And I have been trying to start the service myself.

But I can't reference to ServiceController in metro style app.

It's not that i am asking you to spoon feed me.

I just wanted some lead on it.

There is nothing on net for this topic. So, you got to understand, bro.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161205.3 | Last Updated 22 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100