Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

View Poll Results: What VS is better
Visual Studio 6.0 7 63.64%
Visual Studio .NET 4 36.36%
Voters: 11. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 21-09-2005, 07:02 PM   #1
Koen
Game Wizzard
 
Koen's Avatar

 
Join Date: Nov 2004
Location: Nootdorp, Netherlands
Posts: 226
Default

k, the biggest difference is the speed!!!
I did the following test with vb6 and vb.net 2003:

code in vb6:
Code:
Dim T As Long
Dim I As Long
Dim A As Double
A = Timer
For I = 1 To 100000000
 *T = T * 20
Next I
MsgBox(Timer - A)
To run this code, it took only 360 ms.

code in vb.net 2003:
Code:
Dim T As Long
Dim I As Long
Dim A As Double
A = Microsoft.VisualBasic.Timer
For I = 1 To 100000000
 *T = T * 20
Next I
MsgBox(Microsoft.VisualBasic.Timer - A)
To run this code, it took 5203 ms!

Like in this code, vb.net is 15 times SLOWER than vb6!!!

so... which one is better... :whistle:
Koen is offline                         Send a private message to Koen
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xna Game Studio Express Reup Programming 0 05-01-2007 07:26 AM
Sci Studio Vga Kon-Tiki Programming 15 20-04-2006 06:49 PM
Visual Basic tomf Programming 11 05-03-2006 10:35 PM
Agi Studio Bobbin Threadbare Programming 3 26-01-2006 11:19 AM
Visual Studio 2000 Express... Free! vipin Programming 1 05-01-2006 11:37 AM


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 02:53 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.