VB2005 Pro Edition--Data Sources window is disabled when viewing forms

  • Thread starter David Lee Conley
  • Start date
D

David Lee Conley

When I open the Data Sources window and create a new data source, everything
works fine. But if I have a form showing in the IDE, the Data Sources
window becomes disabled and doesn't display any of the database components.
Yet, when I switch to code view, I can see everything just fine.

Does anyone have any idea why the Data Sources window becomes disabled when
I'm viewing forms?

TIA.

Dave
 
C

Cor Ligthert [MVP]

David,

Mostly we cannot see this, simple because this becomes when you have deleted
parts of what is generated.

Cor

"David Lee Conley"
 
D

David Lee Conley

I thought maybe I had deleted something I shouldn't have, so I tried again
by deleting all of the old files (including all the folders), creating a
fresh windows application solution, and immediately adding a data source,
but the same exact thing happened.

Dave
 
C

Cor Ligthert [MVP]

David,

You know that the datasource window shows the datasources that you have
created in that project? Not the one from other projects (it is in fact the
file that you can see when you set in explorer the icon show all files to
true, and its name is than the dataset.name.vb

Cor

"David Lee Conley"
 
D

David Lee Conley

Cor,

Then why can I see the components after I create the data source in the
project only when I'm in code view and not form designer also? According to
the intro book I downloaded from Microsoft, I should be able to drag a
table, for example, from the data sources window onto my form, but they're
only visible in code view.

Dave
 
C

Cor Ligthert [MVP]

David,

And you did this with a complete new project.

Where you did nothing delete

(I am not able to get the same as you have)

Cor

"David Lee Conley"
 
D

David Lee Conley

Cor,

So basically what you're saying is that you can see the database objects
whether looking at code view or design view, but I can't? I'm in the
process of removing VS2005 from my computer so I can reinstall it, but my
other computer has the same problem.

Sounds like some sort of bug, I guess.

Dave
 
C

Cor Ligthert [MVP]

David,

I see them both and if not than there is a little message below in the box.

Cor

"David Lee Conley"
 
D

David Lee Conley

Cor,

Apparently there were still components of the beta version still on my
computer. Once I uninstalled VS2005, then manually deleted every reference
to VS 8.0 and .NET 2.0. Once I reinstalled VS2005, the data sources window
worked the way it should.

Thanks for trying to help.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top