Salve a tutti,
io devo fare un IMPORT di questa cosa :
"Imports System.TextImports System.Security.Cryptography"
ma non mi appare nella mia lista.Devo fare qualche "Add Reference"???
grazie mille![]()
Salve a tutti,
io devo fare un IMPORT di questa cosa :
"Imports System.TextImports System.Security.Cryptography"
ma non mi appare nella mia lista.Devo fare qualche "Add Reference"???
grazie mille![]()
Credo facciano parte entrambi della libreria di base.
Qual è l'errore che ottieni?
MARCO BREVEGLIERI
Software and Web Developer, Teacher and Consultant
Home | Blog | Delphi Podcast | Twitch | Altro...
mi viene sottoliniato di blu la prima riga
e l'errore ècodice:Imports System.TextImports Imports System.Security.Cryptography
E:\Examples\DOT NET\Customers Order\CustomerOrder\TripleDes.vb(3):
Namespace or type 'TextImports' for the Imports 'System.TextImports' cannot be found.
C'è un errore evidente nel fatto che non esiste un namespace System.TextImports (per quanto ne so), bensì un namespace chiamato System.Text.Originariamente inviato da deedlyt
e l'errore è
E:\Examples\DOT NET\Customers Order\CustomerOrder\TripleDes.vb(3):
Namespace or type 'TextImports' for the Imports 'System.TextImports' cannot be found.
Apparentemente, sembrerebbe che la parola chiave Imports sia risalita nella riga della dichiarazione, accodandosi al namespace.
Tuttavia, se utilizzi un namespace, in genere si suppone che tu lo faccia per accedere ad una determinata classe che hai deciso di adoperare; in tal caso, devi controllare sulla documentazione qual è il namespace di appartenenza e qual è il nome della DLL che contiene l'assembly vero e proprio cui fare riferimento.
Ciao!![]()
MARCO BREVEGLIERI
Software and Web Developer, Teacher and Consultant
Home | Blog | Delphi Podcast | Twitch | Altro...
ho scoperto la soluzione...
è "system.text" e non system.textimports. l'esempio che stavo seguendo era scritto male ..
grazie mille lo stesso