Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Windows services

Windows services

Scheduled Pinned Locked Moved Windows Forms
csharpsysadminhelptutorialquestion
3 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tantoun
    wrote on last edited by
    #1

    After i have created a services in c# using the processservices class, this services contain only a method GetDate(). but can any body tell me how can i interacte with this sevices. for example, i should have a method instead of GetDate (): Establishconnection(param..) that help me to connect to an Sql2005 server (this method is with the services). And after, i should connect to this services from a client application and call this method and then get the connection with the SqlSever without having an sqlclient in the client machine. regards, bye.

    etretyertyery

    J 1 Reply Last reply
    0
    • T tantoun

      After i have created a services in c# using the processservices class, this services contain only a method GetDate(). but can any body tell me how can i interacte with this sevices. for example, i should have a method instead of GetDate (): Establishconnection(param..) that help me to connect to an Sql2005 server (this method is with the services). And after, i should connect to this services from a client application and call this method and then get the connection with the SqlSever without having an sqlclient in the client machine. regards, bye.

      etretyertyery

      J Offline
      J Offline
      Joseph Guadagno
      wrote on last edited by
      #2

      If I understand your question, you want this "service" application to provide the connection to you client applications without having a SQL Client installed on them. I do not think this could easily be done. However, you should look into creating a WebService to get your data if you do not want your clients to have the SQL Client.

      Hope this helps! Joseph Guadagno http://www.josephguadagno.net

      T 1 Reply Last reply
      0
      • J Joseph Guadagno

        If I understand your question, you want this "service" application to provide the connection to you client applications without having a SQL Client installed on them. I do not think this could easily be done. However, you should look into creating a WebService to get your data if you do not want your clients to have the SQL Client.

        Hope this helps! Joseph Guadagno http://www.josephguadagno.net

        T Offline
        T Offline
        tantoun
        wrote on last edited by
        #3

        i think that u have understand the idea that i need. i think that the solution is to use a dcom server implemented like a windows services. but what is dcom i don't know any way 10x

        etretyertyery

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups