473,667 Members | 2,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

connecting to remote timeserver

does anyone have any info on how to connect to a remote time server such as
time.microsoft. com in order to retrieve Date/Time data?

any pointers would be useful,

thanks,

Manny
Nov 20 '05 #1
6 2855
I was minding my own business when Manny blurted out:
does anyone have any info on how to connect to a remote time server such as time.microsoft. com in order to retrieve Date/Time data?

any pointers would be useful,

thanks,

Manny


If you don't mind a little research, check out
http://www.faqs.org/rfcs/rfc958.html for the NTP protocol specifications and
requirements.


--
Insert corny line here
Nov 20 '05 #2
Hi Manny

Here's a program in C#
http://www.c-sharpcorner.com/Code/20...TimeServer.asp

If you're uncertain about C#, give it a look anyway - you'll be surprised
how easy it is to understand. Any questions, bring 'em back here.

Regards,
Fergus
Nov 20 '05 #3
"Fergus Cooney" <fi******@tesco .net> scripsit:
If you're uncertain about C#, give it a look anyway - you'll be surprised
how easy it is to understand. Any questions, bring 'em back here.


And a commercial component:

<http://www.componentso urce.com/Catalog/KeyTechNETInter netComponentSui te_512887.htm>

;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
Hi Manny,

|| any pointers would be useful,

It's unfortunate (well, maybe not) but pointers are not available in
VB.NET. You can have pointers if you use C# but you'll have to mark such areas
of code with the 'unsafe' keyword.

;-))

Regards,
Fergus
Nov 20 '05 #5
"Flying Frank" <fi****@post.co m> scripsit:
^^^ New name?
any pointers would be useful,


It's unfortunate (well, maybe not) but pointers are not available in
VB.NET. You can have pointers if you use C# but you'll have to mark such areas
of code with the 'unsafe' keyword.


Why not keep the code in a C# class library and use it with the VB.NET application?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
Hi Herfreid,

Lol. All that talk about pointers was a joke - Manny isn't interested in
memory pointers - he wants pointers to information!! :-) However, having given
him what he wanted, I couldn't resist pretending to misunderstand. ;-)

'Flying Frank' ** an alias that I've been using with Nick (until he sees
through it). It was only for one message but I forgot to switch back, dammit!
If Nick reads the Flying Franks with my proper sign-off then I'll have given
the game away :-(

But so far (unless he's double-bluffing me) he doesn't seem to have fully
made the connection, tee hee. ;-))

Regards,
Fergus

** I'll explain later if you wish. But more info here:
The topic: *** ATTENTION MICROSOFT ****
and http://members.lycos.co.uk/nickpatemanpwp/soft-ffc.htm
Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3245
by: stabbert | last post by:
We are running DB2 UDB 8.1.6 in a partitioned environment where we have 8 physical nodes. We have a process that remotely connects to each individual node and loads some data. By setting the DB2NODE variable to a different value then the coordinator node is the only way I am aware for a remote application to do this so I am making the assumption that is how this application connects. What I am more interested in is that after logging...
1
2602
by: Jim Bayers | last post by:
Our network nazi doesn't want us running a webserver on the server that has a connection to the campus database so we created a remote object that runs as a windows service. The windows service runs on the server with a connection to the campus database and we make calls to it. My question is, how best to connect to this object via asp.net, in an aspx page?. The example I had used a console ap to connect and that works, but we want to...
5
2374
by: bill | last post by:
I am having difficulties connecting to a remote Sql server database in VB.net. Lets say my remote server is found at 255.255.255.255 and its name is MyServer. The database is called MyDatabase. I drap my SQLDataAdapter on to the form and set up a new connection at the wizard. I am putting the IP address of my server under server name and entering my login and password. I get an access denied. Sql Server Error: 17.
0
1665
by: acwomble | last post by:
I am working with a database on another system via a ssh tunnel using plink. We have setup an alias the local system for the remote database. I am able to connect and work from within Visual Studio if I connect to the remote database using with "SQL Server" as the data source and ".NET Framework Data Provider for OLEDB" as the data provider . If I change the data provider to ".NET Framework Data Provider for SQL Server" I get the...
0
3917
by: Suresh | last post by:
Hi Guys I have Db2 server installed on remote server. i am connecting to that remote server by using VPN. I want to connect that remote DB2 server instance using my local machine DB2 development client. Bur Its gives me following error message. I searched lots of things on net and tried on remote server but i didnt got suceess. Can any one tell me how to set TCP\IP connection protocol on server for particular instance. Becuase I think
8
4365
by: =?Utf-8?B?U3JpcmFtIE1hbGxhanlvc3VsYQ==?= | last post by:
Hi, I am not sure whether this is the correct newsgroup where I need to post my question. Let me know where I need to post for a quick response. I get the following error when I try to connect to SQL 2005 from my ASP.Net 2.0 application. System.Web.Services.Protocols.SoapException: Server was unable to process request. ---System.Data.SqlClient.SqlException: An error has occurred while
2
4953
by: samadams_2006 | last post by:
Hello, I have a problem that I'm hoping someone will be able to help me resolve. 1) I have a C# Web Site in which I connect to the database: "Install Microsoft SQL Server 2005 Express Edition" via the link on: http://msdn2.microsoft.com/en-us/express/bb410792.aspx
3
5736
by: Me LK | last post by:
I did a search but could not find an aswer that worked so here it goes. I just did an upgrade from 2003 to vs 2005 express. I am using a remote sql server 2000. I specifically upgrade to make use of the login control. Everything upgraded fine and the site is working on my local machine. It seems that my site is trying to connect to a local database. I need it to attach to a remote database. I added a connection string to
0
2002
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ((string)(this.GetPropertyValue("Address1")));
0
8457
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8788
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8646
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7390
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6203
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2013
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.