ENVOI DE CHAÎNES SUR LA CONSOLE

Signaler
Messages postés
483
Date d'inscription
mardi 10 juillet 2001
Statut
Membre
Dernière intervention
12 juillet 2006
-
Messages postés
21
Date d'inscription
mardi 6 avril 2004
Statut
Membre
Dernière intervention
29 avril 2004
-
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.

https://codes-sources.commentcamarche.net/source/454-envoi-de-chaines-sur-la-console

Messages postés
21
Date d'inscription
mardi 6 avril 2004
Statut
Membre
Dernière intervention
29 avril 2004

Renaud si tu pouvais m'expliquer comment le debut de ton programme fonctionne la partie qui commence par VERSION 5.00, mon visual basic 6.00 n'a pas l'aire de le reconnaitre
Messages postés
21
Date d'inscription
mardi 6 avril 2004
Statut
Membre
Dernière intervention
29 avril 2004

Renaud si tu pouvais m'expliquer comment le debut de ton programme fonctionne la partie qui commence par VERSION 5.00, mon visual basic 6.00 n'a pas l'aire de le reconnaitre
Messages postés
1
Date d'inscription
mardi 23 décembre 2003
Statut
Membre
Dernière intervention
23 décembre 2003

Pas facile d'être Newbie...

J'ai fait ce qu'a dit le Monsieur, et quand je lance le build, j'obtiens :

C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(46): 'Version' is a type and cannot be used as an expression.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(47): Name 'Begin' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(47): Method arguments must be enclosed in parentheses.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(47): Name 'VB' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(47): Comma, ')', or a valid expression continuation expected.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(48): Name 'Caption' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(49): 'System.Windows.Forms.Control.clientHeight' is not accessible in this context because it is 'Private'.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(50): Name 'ClientLeft' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(51): Name 'ClientTop' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(52): 'System.Windows.Forms.Control.clientWidth' is not accessible in this context because it is 'Private'.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(53): Name 'LinkTopic' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(54): Name 'ScaleHeight' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(55): Name 'ScaleWidth' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(56): Name 'StartUpPosition' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(57): Name 'Begin' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(57): Method arguments must be enclosed in parentheses.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(57): Name 'VB' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(57): Comma, ')', or a valid expression continuation expected.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(58): Name 'Caption' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(66): 'Attribute' is a type and cannot be used as an expression.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(66): Name 'VB_Name' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(67): 'Attribute' is a type and cannot be used as an expression.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(67): Name 'VB_GlobalNameSpace' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(68): 'Attribute' is a type and cannot be used as an expression.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(68): Name 'VB_Creatable' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(69): 'Attribute' is a type and cannot be used as an expression.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(69): Name 'VB_PredeclaredId' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(70): 'Attribute' is a type and cannot be used as an expression.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(70): Name 'VB_Exposed' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(71): Statement is not valid inside a method.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(73): Keyword is not valid as an identifier.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(74): Keyword is not valid as an identifier.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(75): Keyword is not valid as an identifier.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(76): Keyword is not valid as an identifier.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(77): Keyword is not valid as an identifier.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(79): 'Private' is not valid on a local constant declaration.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(81): 'Private' is not valid on a local variable declaration.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(83): Statement cannot appear within a method body. End of method assumed.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(89): Name 'App' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(90): 'Public Overloads ReadOnly Property Right() As Integer' has no parameters and its return type cannot be indexed.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(90): Type character '$' does not match declared data type 'Integer'.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(94): Name 'WriteConsole' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(94): Name 'hConsole' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(101): Name 'AllocConsole' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(102): Name 'hConsole' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(102): Name 'GetStdHandle' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(102): Name 'STD_OUTPUT_HANDLE' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(103): Name 'hConsole' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(109): Name 'WriteConsole' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(109): Name 'hConsole' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(113): Name 'SetFocus' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(119): Name 'CloseHandle' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(119): Name 'hConsole' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(120): Name 'FreeConsole' is not declared.
C:Documents and SettingsDidier MorandiMes documentsVisual Studio ProjectsWindowsApplication3Form1.vb(123): 'End Sub' must be preceded by a matching 'Sub'.

Est-ce parce que j'utilise VB .Net au lieu de VB ?
Merci.

D.
Messages postés
483
Date d'inscription
mardi 10 juillet 2001
Statut
Membre
Dernière intervention
12 juillet 2006

excellent ! 10/10