zitech21 Posted April 30, 2015 Report Share 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 Link to comment Share on other sites More sharing options...
Byte-ul Posted April 30, 2015 Report Share Posted April 30, 2015 Exista acel fisier in C:\Users\....\Debug\ ? Quote Link to comment Share on other sites More sharing options...
zitech21 Posted April 30, 2015 Author Report Share Posted April 30, 2015 Exista acel fisier in C:\Users\....\Debug\ ?da exista... Quote Link to comment Share on other sites More sharing options...
Byte-ul Posted April 30, 2015 Report Share Posted April 30, 2015 Scoate-l de la references si adauga-l iar. Quote Link to comment Share on other sites More sharing options...
zitech21 Posted April 30, 2015 Author Report Share Posted April 30, 2015 Am facut asta de vreo 5 ori Quote Link to comment Share on other sites More sharing options...
Ganav Posted April 30, 2015 Report Share 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 Link to comment Share on other sites More sharing options...
zitech21 Posted April 30, 2015 Author Report Share Posted April 30, 2015 Ok , incerc acum Quote Link to comment Share on other sites More sharing options...
zitech21 Posted April 30, 2015 Author Report Share Posted April 30, 2015 aceasi erroare Quote Link to comment Share on other sites More sharing options...
Byte-ul Posted April 30, 2015 Report Share Posted April 30, 2015 Probabil libraria aia depinde si ea de altele. Vezi de ce depinde si pune tot in acelasi folder. Quote Link to comment Share on other sites More sharing options...
zitech21 Posted April 30, 2015 Author Report Share Posted April 30, 2015 am reuntat la acel proiect .. ma poti ajuta cu alteceva ? ai skype ? Quote Link to comment Share on other sites More sharing options...
giv Posted May 1, 2015 Report Share 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 Link to comment Share on other sites More sharing options...