Click to See Complete Forum and Search --> : Microsoft Visual Basic 2008 Express - help!


AlaNio
12-15-2008, 11:27 AM
Dunno if anyone uses this, but i'm new to it and its driving me absolutely mad, so if anyone could help would be much appreciated.

Problem 1:
Firstly I created a form saved my project, then when i later reopened my project I was no longer able to view the form in design view, the option has simply gone. All I can do is view for code for it - very annoying. I've searched for hours to try and find out how I can get my form design back up but to no avail. If i run the code the form appears, so it's definately there.

Problem 2:
I'm trying to add a datasource, because I want to connect to an Access database and pull some information out of it. When i select the database I get the following error:
'Unable to find the requested .NET Framework data provider. It may not be installed'

I've tried this solution
http://blogs.msdn.com/wriju/archive/2007/03/08/orcas-march-2007-ctp-error-unable-to-find-the-requested-net-framework-data-provider-it-may-not-be-installed.aspx
But didn't work.

Any help appreciated as i've been doing these two silly things all day and haven't made any progress.

Guezt
05-23-2009, 05:32 PM
Open the code for the form, and ensure the code (if any) starts with something like: "Public Class {name of form, e.g. Form1}" and ends with "End Class", all without quotes.

For example:

Public Class Form1

<code>

End Class