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. Visual Basic
  4. Running windows application in LAN

Running windows application in LAN

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasehelp
5 Posts 5 Posters 1 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.
  • S Offline
    S Offline
    skandaapriya
    wrote on last edited by
    #1

    I have a Windows VB.Net Application with MSFoxPro Database, third party controls within it. With all the granted permissions for assemblies and strong name for dll. I install my App in one system and copy the shortcut key in the other syatem within the LAN. Now if i click on shortcut key it has to fetch the data from the system where I have installed. Can anyone PLS help me in this. Very Urgent.

    Rekha

    P M M D 4 Replies Last reply
    0
    • S skandaapriya

      I have a Windows VB.Net Application with MSFoxPro Database, third party controls within it. With all the granted permissions for assemblies and strong name for dll. I install my App in one system and copy the shortcut key in the other syatem within the LAN. Now if i click on shortcut key it has to fetch the data from the system where I have installed. Can anyone PLS help me in this. Very Urgent.

      Rekha

      P Offline
      P Offline
      Paras Kaneriya
      wrote on last edited by
      #2

      skandaapriya wrote:

      Now if i click on shortcut key it has to fetch the data from the system where I have installed. Can anyone PLS help me in this.

      what??? what do you want? fetch the data from the machine where your app is installed to the machine where you put the shortcut???:^)

      Paras Kaneriya
      The difference between genius and stupidity is that genius has its limits.

      1 Reply Last reply
      0
      • S skandaapriya

        I have a Windows VB.Net Application with MSFoxPro Database, third party controls within it. With all the granted permissions for assemblies and strong name for dll. I install my App in one system and copy the shortcut key in the other syatem within the LAN. Now if i click on shortcut key it has to fetch the data from the system where I have installed. Can anyone PLS help me in this. Very Urgent.

        Rekha

        M Offline
        M Offline
        MohammadAmiry
        wrote on last edited by
        #3

        You need Client/Server programming. You should write different codes which should run on clients and the server. Your application should be installed on all machines!

        1 Reply Last reply
        0
        • S skandaapriya

          I have a Windows VB.Net Application with MSFoxPro Database, third party controls within it. With all the granted permissions for assemblies and strong name for dll. I install my App in one system and copy the shortcut key in the other syatem within the LAN. Now if i click on shortcut key it has to fetch the data from the system where I have installed. Can anyone PLS help me in this. Very Urgent.

          Rekha

          M Offline
          M Offline
          manni_n
          wrote on last edited by
          #4

          if i am gettin it correctly then you want to fetch your database to all the lan connected system where ever you have installed your executable file well this is server client application... if this is the case, then i know the procedure for sql and excess , i hope same logic should work. In the connection string where you are giving path of your database in coding, jst add the ip adress of server like "//ipaddress of server computer/path of database". and from server computer you have to share the database file. try this out, may it helps you....

          1 Reply Last reply
          0
          • S skandaapriya

            I have a Windows VB.Net Application with MSFoxPro Database, third party controls within it. With all the granted permissions for assemblies and strong name for dll. I install my App in one system and copy the shortcut key in the other syatem within the LAN. Now if i click on shortcut key it has to fetch the data from the system where I have installed. Can anyone PLS help me in this. Very Urgent.

            Rekha

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            This is easy. In your code, you have to build the fully qualified path to the folder where the database is. You can do this with something like:

            Dim fullPath As String = Path.Combine(Application.StartupPath, "database.mdb")
            

            Or, if the database file is in a subdirectory of the StartupPath:

            Dim fullPath As String = Path.Combine(Application.StartupPath, "subfolder\\database.mdb")
            

            Other than that, you haven't said what the problem is, nor mentioned any error messages you're getting, so it's very hard to help you. BTW, mentioning "urgent" in your post tends to get people to ignore you.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007

            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