zitech21 Posted April 30, 2015 Report Posted April 30, 2015 Erroare:An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Windows.Forms.dllAdditional information: Could not load file or assembly 'TCtrl Connection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.Source:Imports Admin_Tool_4sPublic Class Form2 Dim TCTRLCon As Connection Private Sub Button8_Click(sender As Object, e As EventArgs) Handles Button8.Click TCTRLCon.Kick(TextBox1.Text) End Sub Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load TCTRLCon = New Connection("#", #) TCTRLCon.Connect() TCTRLCon.Login("#", "#") End Sub Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged End SubEnd ClassCand deschid form2.vb primesc eroare asta...An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Windows.Forms.dllAdditional information: Could not load file or assembly 'TCtrl Connection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Quote
Byte-ul Posted April 30, 2015 Report Posted April 30, 2015 Exista acel fisier in C:\Users\....\Debug\ ? Quote
zitech21 Posted April 30, 2015 Author Report Posted April 30, 2015 Exista acel fisier in C:\Users\....\Debug\ ?da exista... Quote
Byte-ul Posted April 30, 2015 Report Posted April 30, 2015 Scoate-l de la references si adauga-l iar. Quote
Ganav Posted April 30, 2015 Report Posted April 30, 2015 Adauga-l si in directorul radacina al proiectului si, de asemenea, in directorul Release. Altfel, ai putea crea o variabila system care sa includa calea catre acel fisier si ulterior sa o incluzi in directorul libraries din cadrul proiectului. Quote
Byte-ul Posted April 30, 2015 Report Posted April 30, 2015 Probabil libraria aia depinde si ea de altele. Vezi de ce depinde si pune tot in acelasi folder. Quote
zitech21 Posted April 30, 2015 Author Report Posted April 30, 2015 am reuntat la acel proiect .. ma poti ajuta cu alteceva ? ai skype ? Quote
giv Posted May 1, 2015 Report Posted May 1, 2015 Exista modalitati simple de a gestiona unhandled exceptions in VB.Adaugi cateva linii de cod si vei vedea exact ce anume genereaza exceptia netratata.Cauta pe Google si vei gasi rapid. Quote