DataBase - Login - Not Working - Printable Version +- BP Forums (https://bpforums.info) +-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55) +--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56) +---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8) +---- Thread: DataBase - Login - Not Working (/showthread.php?tid=359) |
DataBase - Login - Not Working - Murcs - 06-30-2011 been working on this for about 4 days now and im still running in circles. There are several ways to do this and so it seem Brands method is the best. However, Im getting errors. If anyone is bored and would like to help i would appreciate it. Also If somone has Voice Program. I can join that as well, This Forum should run its own Ventrilo .... just saying <!-- s --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="" title="Smile" /><!-- s --> heres All my LoginForm1 Code Code: Imports MySql.Data.MySqlClient A ERROR hits me in the face AFTER clicking the Login button, and a new form pops up (Mysqlconnection.vb) Code: Public Class MySqlConnection Re: DataBase - Login - Not Working - brandonio21 - 07-01-2011 Hey Murc! Well, it doesn't really look like there is a problem with your form1 login code... Everything looks like it checks out there. You might want to make sure that the connection string is good, though. As for the second form, I don't know if you ever called it, but Code: Sub Open() Will actually throw an error I believe, so that could be it. What is the error you are getting, exactly? Re: DataBase - Login - Not Working - Murcs - 07-01-2011 Part of my problem i think is the database it self. If the loginform1 code is Good... Then Database1 is not working properly. I wont be able to get back to this project till After the 4th of july. But if anyone gets bored or wants to help the Database needs to be replaced or fixed. Its just a test database so im not worried about the broken database or the account. Login @ <!-- m --><a class="postlink" href="http://www.db4free.net/">http://www.db4free.net/</a><!-- m --> user = murcs pass = annika420 If you can get data entered to the database from your Form that would be great... Also the error is: (The method or operation is not implemented), folowed by a new form that opens called: Code: Public Class MySqlConnection By the way.. Big thanks for the videos and assistance i really appreciate. cyas on Tuesday..... Re: DataBase - Login - Not Working - xolara - 07-02-2011 Can you give us your table information? Re: DataBase - Login - Not Working - brandonio21 - 07-02-2011 Well here is one error, in your code you are trying to do everything to a table labeled, NewTable... However, the table on your database is actually called Users. |