|
-
Mar 17th, 2007, 08:09 AM
#1
Thread Starter
Junior Member
[RESOLVED] Digital Clock in vb.net
Good morning,afternoon or evening all!
What's the simple way of making a digital clock in vb.net and make it apear on the form giving users option of changing to 12 or 24 hr clock.
Thank you!
-
Mar 17th, 2007, 08:34 AM
#2
Fanatic Member
Re: Digital Clock in vb.net
-
Nov 6th, 2007, 12:25 AM
#3
New Member
Re: [RESOLVED] Digital Clock in vb.net
that isnt visual basic is it isnt that visual studio or somethin? im new so i dono haha
-
Nov 6th, 2007, 12:40 AM
#4
Re: [RESOLVED] Digital Clock in vb.net
 Originally Posted by cool_thang
that isnt visual basic is it isnt that visual studio or somethin? im new so i dono haha
Visual Studio is the IDE not a language. As it says at the top of that page, it's written in the C# language. Both VB and C# target the .NET Framework, so they both use all the same types and members, but they have different syntax. VB.NET is based on BASIC and, more specifically, Visual Basic while C# is based on C/C++. They are similar enough though that if you know a bit of one you should be able to translate at least bits and pieces. Sometimes the code is almost identical, for instance:
VB.NET Code:
MessageBox.Show("Hello World")
CSharp Code:
MessageBox.Show("Hello World");
Now, as that page also says, you can add the compiled control to your Toolbox and use it in a VB project regardless. The whole .NET Framework was written in C# so you're doing that already. If you want to understand the code, then you're going to have to get your hands dirty. There are online code converters around, although they are not perfect. You could also see fellow member David Anton's signature for a link to his commercial tool that has a trial period.
Last edited by jmcilhinney; Nov 6th, 2007 at 12:44 AM.
-
Nov 6th, 2007, 10:33 AM
#5
New Member
Re: [RESOLVED] Digital Clock in vb.net
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|