Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2008 > Visual Basic 2008 Essentials
|
Visual Basic 2008 Essentials If you are new to Visual Basic programming with version 2008, this is the place to start your questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Essentials section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 30th, 2010, 01:52 PM
Registered User
 
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagridview Set Focus Next Control ebassador BOOK: Visual Basic 2008 Programmer's Reference ISBN: 978-0-470-18262-8 1 June 27th, 2009 02:13 PM
Crystal report binding with large data set, error lankark Crystal Reports 0 April 3rd, 2008 09:16 AM
Data binding to an object in DataGridView control? Spartacus Visual C++ 2005 0 July 12th, 2007 05:10 PM
"Cannot initialize data binding" error gbianchi Pro VB 6 7 May 11th, 2006 08:08 AM
DataGridView Control tayeen Pro Visual Basic 2005 0 April 27th, 2006 03:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.