'expected a type' error on VB 2010

Apr 14, 2015 at 2:50 PM
Hello, sorry for my English

I need help please, I have tried (I think that all or almost all) and I get nothing.

Imports MySQLBackup
Imports MySql.Data
 Private Sub BKP () 
     Dim con As String = "server = localhost; user = root; pwd = 1234; database = test;" 
     Dim file As String = "C: \ backup.sql" 
     Dim mb As New MySQLBackup (con) 
     mb.ExportInfo.FileName = file 
     mb.Export () 
 End sub 
In Visual Basic 2010 I tried to create the subroutine Backup from example but only get that VB IDE tell me about [mb]:

Expected a type

I tried searching informacio, I've tried everything I can think, I've added and removed references to MySqlData.dll and MySqlBackup.dll thousand times ... but I find no way out ...

thanks
Coordinator
Apr 15, 2015 at 3:13 AM
I have done this in VB.NET before and it works.
Anyway, I can upload a simple sample project done in VB.NET for your reference.
I don't have the time in this week.
Most probably, I'll upload it by next week.
Once I uploaded the sample project, I will reply a message here.
See you later.
Apr 15, 2015 at 4:24 AM
would appreciate this help
Coordinator
Jul 20, 2015 at 9:32 AM
Hello, I have uploaded a simple sample project written in VB.NET.
You may download the source code at:
https://mysqlbackupnet.codeplex.com/releases