Hi,
Can i connect MS access 2007 to VB 2008? Pls help me out on this..Thanks in advance...
Hi,
Can i connect MS access 2007 to VB 2008? Pls help me out on this..Thanks in advance...
can you tell whet you have tried yet so can i can help you?
i tried using connection using ADODc control as we can do in vb6....but when i right click adodc control and click the properties...the property page of this control is not displayed(this is working well in vb6)....
You're not in VB6 anymore Toto! You're using VB.NET now, so you should use it. ADO.NET was designed from the ground up for data access in .NET apps. The only reason to not use ADO.NET is that you're upgrading an existing VB6 app that already uses ADO. If that's not the case, use ADO.NET.
2007-2013
Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (*NEW* Match Two Game, *NEW* More Random Random Numbers) | C# (*NEW* Match Two Game, *NEW* More Random Random Numbers)
My Blog: Using Parameters in ADO.NET | Keyboard Events | Assemblies & Namespaces
k fine...tell me how to do that..
Um, did you follow the link provided in post #3?
There are various ways you can access the same data and the way you choose depends on circumstances and personal preference. You might follow the Database FAQ link in my signature and check out some of the ADO.NET resources there for the more manual way to go. The previous link uses more of the IDE's in-built features and less code.
2007-2013
Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (*NEW* Match Two Game, *NEW* More Random Random Numbers) | C# (*NEW* Match Two Game, *NEW* More Random Random Numbers)
My Blog: Using Parameters in ADO.NET | Keyboard Events | Assemblies & Namespaces
hm.... i did as per details in that link...but its not working
2007-2013
Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (*NEW* Match Two Game, *NEW* More Random Random Numbers) | C# (*NEW* Match Two Game, *NEW* More Random Random Numbers)
My Blog: Using Parameters in ADO.NET | Keyboard Events | Assemblies & Namespaces
can i able to connect vb6 with ms access 2007?
can i able to connect vb6 with ms access 2007? pls reply
2007-2013
Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (*NEW* Match Two Game, *NEW* More Random Random Numbers) | C# (*NEW* Match Two Game, *NEW* More Random Random Numbers)
My Blog: Using Parameters in ADO.NET | Keyboard Events | Assemblies & Namespaces
k thank you
By the way, the implication there was not that we can't help you at all, but that we can't help you without any information. If you were to show/tell us exactly what you did and exactly what happened when you did it, then we could help you fix it. Things don't just not work, so you need to provide us with information so that we can diagnose the issue, just like a doctor would need information to diagnose an illness or mechanic diagnose a problem with your car.
2007-2013
Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (*NEW* Match Two Game, *NEW* More Random Random Numbers) | C# (*NEW* Match Two Game, *NEW* More Random Random Numbers)
My Blog: Using Parameters in ADO.NET | Keyboard Events | Assemblies & Namespaces
the file that i attached is the needs of my project to do...i finished student score form and add new student form....what i need to do is that in the update student score form i want to retrieve the score value from the database to the listbox...in the add new student from i get the scores in label and i stored that in database.now i want these scores to be listed in the listbox in update student score.......so i thought to have multivalue in scores field in the database table.but multivalue is possible in access 2007,and somebody told that we cant connect access 2007 file to vb6...so i thought to change to vb 2008 so that i can connect access 2007 to vb 2008 for doing my project....
so now help me on this pls...how should i proceed further?
VB6 can connect to any OLEDB data source. If you want to connect to an ACCDB file, which is Access 2007 format, then you'll need the ACE OLEDB provider installed. That goes for VB6 apps and VB.NET apps. The ACE provider is installed along with Access 2007 or it can be downloaded as part of the Office Driver Pack.
2007-2013
Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (*NEW* Match Two Game, *NEW* More Random Random Numbers) | C# (*NEW* Match Two Game, *NEW* More Random Random Numbers)
My Blog: Using Parameters in ADO.NET | Keyboard Events | Assemblies & Namespaces