Re: VB.net 64bit problem?
The form isn't LOADED, so you can't FILL the grid. Use a different event.
In Net you can use the Form PAINT event, which is where you draw to the screen.
Don't fill the adapter every screen refresh. Use code to CHECK if it's nothing!
Or add some Initialization() code.
Re: VB.net 64bit problem?
I tried other events with no difference, and since this is my startup form it must load (certainly the code steps through)
I think the problem is to do with the fact that I'm rumnning 64bit but my database is on a server running 32bit
I found the following but dont understand where this setting is
Since IIS is in control of the process bitness, the solution in my case was to set the Enable32bitAppOnWin64 setting to true: http://blogs.msdn.com/vijaysk/archiv...me-server.aspx
Re: VB.net 64bit problem?
What OS are you running now and before?
You say you are running a 64 bit computer [pretty much all computers are 64 bit now] but you do not say what OS you are running or what you were running before.
Re: VB.net 64bit problem?
Are you using ASP.Net for a web app? I have a SQL2005 instance at my web host. My schedule program works by connecting to it. It is a windows forms app (DevExpress).
Allows shared contacts and schedule, without needing Exchange Server
Re: VB.net 64bit problem?
see if this can help:
http://social.msdn.microsoft.com/For...b-acc8b0a5a091
Quote:
The setup for Visual Studio has to be changed to "x86" from "AnyCPU".