VB2005专业版 - 查看表单时禁用“数据源”窗口 [英] VB2005 Pro Edition--Data Sources window is disabled when viewing forms

查看:112
本文介绍了VB2005专业版 - 查看表单时禁用“数据源”窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开数据源窗口并创建新数据源时,所有内容都可以正常工作。但是,如果我在IDE中显示一个表单,则数据源

窗口将被禁用,并且不会显示任何数据库组件。

然而,当我切换时对于代码视图,我可以看到一切都很好。


有没有人知道为什么数据源窗口被禁用时

我正在查看表单?


TIA。


Dave

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

推荐答案

David ,


大多数情况下我们看不到这个,很简单,因为当你删除

生成的部分内容时就会出现这种情况。


Cor


David Lee Conley

< no ***************** **********@nospamearthlink.net .nospam> schreef在

bericht新闻:zT ******************* @ newsread1.news.atl.eart hlink.net ...
David,

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

Cor

"David Lee Conley"
<no***************************@nospamearthlink.net .nospam> schreef in
bericht news:zT*******************@newsread1.news.atl.eart hlink.net...
当我打开数据源窗口并创建新数据源时,
一切正常。但是,如果我在IDE中显示一个表单,则数据源窗口将被禁用,并且不会显示任何数据库组件。然而,当我切换到代码视图时,我可以看到一切都很好。

有谁知道为什么数据源窗口被禁用
我正在查看表格?

TIA。

Dave
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



我想也许我删了一些东西我不该没有,所以我再次尝试通过删除所有旧文件(包括所有文件夹)来获得
,创建一个

全新的Windows应用程序解决方案,并立即添加数据来源,

但确实发生了同样的事情。


Dave


" Cor Ligthert [MVP]" ; <无************ @ planet.nl>在消息中写道

news:%2 **************** @ TK2MSFTNGP05.phx.gbl ...
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

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
David,

大多数情况下,我们看不到这一点,很简单,因为当你删除部分内容时,这就变成了。

Cor

; David Lee Conley"
< no *************************** @ nospamearthlink.net .nospam> schreef在
bericht新闻:zT ******************* @ newsread1.news.atl.eart hlink.net ...
David,

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

Cor

"David Lee Conley"
<no***************************@nospamearthlink.net .nospam> schreef in
bericht news:zT*******************@newsread1.news.atl.eart hlink.net...
当我打开数据源窗口并创建新数据源时,一切正常。但是,如果我在IDE中显示一个表单,则数据源窗口将被禁用,并且不会显示任何数据库组件。然而,当我切换到代码视图时,我可以看到一切都很好。

有谁知道为什么数据源窗口被禁用
我正在查看表格?

TIA。

Dave
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




David,


您知道数据源窗口显示您在该项目中创建的数据源是什么?b $ b?不是来自其他项目的那个(实际上是你在浏览器中设置时可以看到的

文件图标显示所有文件为

为真,其名称为比datat.name.vb


Cor


" David Lee Conley"

< no * **************************@nospamearthlink.net .nospam> schreef

bericht新闻:zN *** **************@newsread2.news.pas.earthl ink.net ...
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"
<no***************************@nospamearthlink.net .nospam> schreef in
bericht news:zN*****************@newsread2.news.pas.earthl ink.net...
我想也许我删了一些我不应该的东西,所以我再次尝试删除所有旧文件(包括所有文件夹),创建一个新的Windows应用程序解决方案,并立即添加数据源,
但同样的事情发生了。

Dave

Cor Ligthert [MVP]" no ************ @ planet.nl>在留言中写道
新闻:%2 **************** @ TK2MSFTNGP05.phx.gbl ...
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

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
David,
大多数情况下我们看不到这个,因为t很简单当你删除生成的部分内容时,他就会变成。

David Lee Conley
< no **** ***********************@nospamearthlink.net .nospam> schreef在
bericht新闻:zT ******************* @ newsread1.news.atl.eart hlink.net ...
David,

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

Cor

"David Lee Conley"
<no***************************@nospamearthlink.net .nospam> schreef in
bericht news:zT*******************@newsread1.news.atl.eart hlink.net...
当我打开数据源窗口并创建新数据源时,一切正常。但是如果我在IDE中显示一个表单,则
数据源窗口将被禁用,并且不会显示任何数据库组件。然而,当我切换到代码视图时,我可以看到一切都很好。

有谁知道为什么数据源窗口被禁用
我正在查看表格?

TIA。

Dave
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





这篇关于VB2005专业版 - 查看表单时禁用“数据源”窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆