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. Get current date from other pc

Get current date from other pc

Scheduled Pinned Locked Moved Visual Basic
databasesql-serversysadminhelp
6 Posts 5 Posters 0 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.
  • K Offline
    K Offline
    klaydze
    wrote on last edited by
    #1

    Hi, Anyone can tell me if getting the current time of other computer is possible in VB6? I'm not using a SQL Server just VB it self. If possible can someone teach me or give an idea how to do it? Thanks Regards, klaydze

    if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }

    N L V P 4 Replies Last reply
    0
    • K klaydze

      Hi, Anyone can tell me if getting the current time of other computer is possible in VB6? I'm not using a SQL Server just VB it self. If possible can someone teach me or give an idea how to do it? Thanks Regards, klaydze

      if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }

      N Offline
      N Offline
      Navneet Hegde
      wrote on last edited by
      #2

      Where is your vb6 app executing and of which computer you want current time.

      Develop2Program & Program2Develop

      1 Reply Last reply
      0
      • K klaydze

        Hi, Anyone can tell me if getting the current time of other computer is possible in VB6? I'm not using a SQL Server just VB it self. If possible can someone teach me or give an idea how to do it? Thanks Regards, klaydze

        if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        You need an NTP client, such as this one[^]. If you are wanting to get the time from a computer on your network then you'll have to install an NTP server on it.

        1 Reply Last reply
        0
        • K klaydze

          Hi, Anyone can tell me if getting the current time of other computer is possible in VB6? I'm not using a SQL Server just VB it self. If possible can someone teach me or give an idea how to do it? Thanks Regards, klaydze

          if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }

          V Offline
          V Offline
          Vimalsoft Pty Ltd
          wrote on last edited by
          #4

          hi klaydze Have you noticed that there is VS2008, man its Good, there is something they call Silverlight, nice Technologies.i was Developing in vb6 before, and am laughing at myself when i when i looked at vb6. Why Continue with vb6 man. what you want is Simple in .NET Change Microsoft does not Support vb6 anymore its Dead

          Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

          K 1 Reply Last reply
          0
          • K klaydze

            Hi, Anyone can tell me if getting the current time of other computer is possible in VB6? I'm not using a SQL Server just VB it self. If possible can someone teach me or give an idea how to do it? Thanks Regards, klaydze

            if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #5

            klaydze wrote:

            VB6

            As the others have suggested, get away from VB6, it's been dead for a long time now. Put your efforts into VB.NET or C#.

            "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

            1 Reply Last reply
            0
            • V Vimalsoft Pty Ltd

              hi klaydze Have you noticed that there is VS2008, man its Good, there is something they call Silverlight, nice Technologies.i was Developing in vb6 before, and am laughing at myself when i when i looked at vb6. Why Continue with vb6 man. what you want is Simple in .NET Change Microsoft does not Support vb6 anymore its Dead

              Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

              K Offline
              K Offline
              klaydze
              wrote on last edited by
              #6

              Vuyiswa Maseko, yes your idea in using VB2008 is good, but the program is existing and i just want to update there existing program. And the program is running in a third party software which is a Rockwell Software what they called RS View also the program is VBA not totally VB6. Maybe i will try all your suggestions. Thanks Regards, klaydze

              if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }

              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