Error when Binding data to a DataGridView Control
When binding data from an existing ACCESS mdb database table to a the DataGridView I get the following error message after trying to run the project:
(Sorry, it's in Dutch but you will most likely understand what it is all about)
Dit programma werkt niet goed
Compatibiliteitsinstellingen zijn op dit programma toegepast om het probleem te verhelpen. Deze instellingen worden gebruikt als het programma weer wordt uitgevoerd.
Als u merkt dat dit programma niet goed werkt, kunt u proberen het programma opnieuw uit te voeren.
Programma: vshost.exe
Uitgever: Microsoft Corporation
Locatie: C:\users\...\WindowsApplication1.vshost.exe
I will translate this message for you:
This program does not function well.
Compatibilitysettings have been applied on this program in order to solve the problem. These settings are used when the program is used again.
If you observe that this program does not function well, you can try to tun this program once more.
Program: vshost.exe
Editer: Microsoft Corporation
Location: C:\users\...\WindowsApplication1.vshost.exe
The result is that after starting Debugging, no field data is shown in the form and the project jumps automatically back into the design mode.
I use a 64 bit computer with windows7 installed. For creating a database I use Access 2003. I use Visual Basic 2008 Express.
Do I have to change some settings somewhere? For your info, I unchecked the "Enable the Visual Studio hosting process" checkbox in the debug options screen. This did not solve the problem.
Can you please give me some indication as to what causes this strange behaviour of VB2008 ?????
Thanks for spending some time on this problem.
Awaiting your answer,
Regards.
|