Click here to Skip to main content
15,885,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to know that, can we connect to mysql in windows service project.
I also want to know that how can we interact with desktop in service without asking for permissions..

Please help me...
Posted

1 solution

can we connect to mysql in windows service project
Well, by using a Connection String[^]!

The link above provides all info about connection string. Further info regarding the data communication can be read here: Accessing data with ADO.NET[^]

interact with desktop in service without asking for permissions
Not sure what you mean by desktop here but if you want to look for any running process or launch a process then you can do it using Process Class[^].
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900