Bonjour,

Je voudrais savoir quelle est la différence entre VB6 et VBExpress et Visual Studio 2008. J'ai un exemple de code ci-dessous qui est écrit en VB6. Pourrez vous me donner la version équivalente en VBExpress ou en Visual Studio 2008 ? Merci beaucoup!

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form Form1 
   Caption         =   "Clients-Serveur"
   ClientHeight    =   7875
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   11115
   LinkTopic       =   "Form1"
   ScaleHeight     =   7875
   ScaleWidth      =   11115
   StartUpPosition =   3  'Windows Default
   Begin VB.Timer Timer1 
      Interval        =   500
      Left            =   2040
      Top             =   7200
   End
   Begin MSWinsockLib.Winsock SockClient 
      Left            =   6840
      Top             =   5520
      _ExtentX        =   741
      _ExtentY        =   741
      _Version        =   393216
   End
   Begin VB.Frame Frame2 
      Caption         =   "Client TCP/IP"
      Height          =   4815
      Left            =   6240
      TabIndex        =   8
      Top             =   240
      Width           =   4215
      Begin VB.CommandButton Disconnect 
         Caption         =   "Disconnect"
         Height          =   495
         Left            =   2520
         TabIndex        =   26
         Top             =   1440
         Width           =   1335
      End
      Begin VB.CommandButton Client_SendData 
         Caption         =   "SendData"
         Height          =   975
         Left            =   2880
         TabIndex        =   24
         Top             =   3360
         Width           =   975
      End
      Begin VB.TextBox FenetreClient 
         Height          =   975
         Left            =   120
         TabIndex        =   23
         Top             =   3360
         Width           =   2535
      End