奇怪的腐败A2k [英] Strange corruption A2k

查看:75
本文介绍了奇怪的腐败A2k的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

昨天我发现了一个奇怪的腐败问题,我现在还无法解决或实际指责。

我将A97应用转换为A2k。

我经常做到这一点,所以我没想到这里有麻烦。


转换似乎没问题,我启动应用程序。但是。 。 。

Mainform不起作用。表格出现但按钮没有反应。

为什么不呢?我去设计视图,看到代码没有编译。 (编译选项是活动的)

所以我编译并转到普通视图。它似乎工作。

但问题还没有结束。关闭数据库后,重复相同的故事。

我再次启动数据库并打开任何模块。我看到代码没有编译。

我真的不认为编译状态是这里的问题,但不过......


更多测试:当我启动应用程序时,我的mainform出现了。

当我切换到设计视图并且没有任何操作但是再次切换到正常模式时,表单可以正常工作。

之后当我以任何形式或模块查看''编译状态'时,编译的选项是

greyed-out。

所以它再次被编译,或者仍然?


我可以一遍又一遍地重复这个。

我电脑上的其他应用程序没有这个问题,所以我不认为''访问安装或SP问题


我尝试另存为文本 - 从此表单的文本加载。 (对于其他形式)

我还创建了一个空白的新数据库,导入了所有但结果相同的结果。


我将尝试从头开始重新创建表单,但今天我已经受够了。

现在去玩biljarts并喝一两杯啤酒;-)


任何想法'的?任何人都有类似的''事件''?


TIA

Arno R

Hi all
Yesterday I found a strange corruption-issue that I can''t solve yet or actually point my finger at.
I converted an A97 app to A2k.
I have done this often enough so I didn''t expect trouble here.

Conversion seems OK and I start the app. BUT . . .
Mainform doesn''t work. Form comes up but none of the buttons react.
Why not? I go to design view and see that code is not compiled. (compile-option is active)
So I compile and go to normal view. It seems to work.
But the problem is not over yet. After I close the db the same story repeats.
I start the db again and open any module. I see that code is not compiled.
I don''t really think the compilation-state is the problem here but nevertheless ...

Some more testing: When I start the app my mainform comes up.
When I switch to design-view and do NOTHING but switch to normal mode again the form works.
After this when I look at the ''compile-state'' in any form or module the option to compile is
greyed-out.
So it''s compiled again, or still ?

I can repeat this over and over.
Other apps on my PC do not have this problem, so I don''t think it''s a Access-install or SP-issue

I tried save as text - load from text for this form. (For other forms as well)
I also created a blank new db, imported everything but same result.

I will try to recreate the form from scratch, but for today I''ve had enough of this.
Going to play biljarts and have a beer or two now ;-)

Any idea''s? Anyone had similar ''events'' ?

TIA
Arno R

推荐答案

在重新创建表单之前,右键单击不需要工作的按钮,然后选择Build Event。当代码出现时,在某个地方添加一个额外的空间,然后选择重新编译。为每个按钮执行此操作。


" Arno R" < AR **************** @ tiscali.nl>在留言中写道

news:3f ********************** @ dreader2.news.tiscal i.nl ...
Before you go recreating the form, right click on the buttons that don''t
work and choose Build Event. When the code comes up, add an extra space in
it somewhere, then choose recompile. Do this for each button.

"Arno R" <ar****************@tiscali.nl> wrote in message
news:3f**********************@dreader2.news.tiscal i.nl...
昨天我发现了一个我无法解决的奇怪的腐败问题,或者实际上我指的是
。我将A97应用程序转换为A2k。
我经常做到这一点,所以我没想到这里有麻烦。

转换似乎没问题,我启动了应用程序。但是。 。 。
Mainform不起作用。表格出现但按钮没有反应。
为什么不呢?我去设计视图,看到代码没有编译。
(编译选项处于活动状态)所以我编译并转到普通视图。它似乎有效。
但问题还没有结束。关闭数据库后,同样的故事
重复。我再次启动数据库并打开任何模块。我看到代码没有编译。
我真的不认为编译状态是这里的问题但是仍然是
...
还有一些测试:当我启动应用程序时主界面出现了。
当我切换到设计视图并且不做任何事情但是再次切换到正常模式
时,表单可以工作。在此之后,当我以任何形式或模块查看编译状态时,编译的
选项是灰色的。
所以它再次编译,或者仍然编译?

我可以一遍又一遍地重复这个。
我电脑上的其他应用程序没有这个问题,所以我不认为这是
访问安装或SP问题
我尝试保存为文本 - 从此表单的文本加载。 (对于其他形式如
那样)我还创建了一个空白的新数据库,导入了所有但结果相同的结果。

我将尝试从头开始重新创建表单,但今天我已经有足够的
。去玩biljarts,现在喝一两杯啤酒;-)

任何想法都是?任何人都有类似的''事件''?

TIA
Arno R

Hi all
Yesterday I found a strange corruption-issue that I can''t solve yet or actually point my finger at. I converted an A97 app to A2k.
I have done this often enough so I didn''t expect trouble here.

Conversion seems OK and I start the app. BUT . . .
Mainform doesn''t work. Form comes up but none of the buttons react.
Why not? I go to design view and see that code is not compiled. (compile-option is active) So I compile and go to normal view. It seems to work.
But the problem is not over yet. After I close the db the same story repeats. I start the db again and open any module. I see that code is not compiled.
I don''t really think the compilation-state is the problem here but nevertheless ...
Some more testing: When I start the app my mainform comes up.
When I switch to design-view and do NOTHING but switch to normal mode again the form works. After this when I look at the ''compile-state'' in any form or module the option to compile is greyed-out.
So it''s compiled again, or still ?

I can repeat this over and over.
Other apps on my PC do not have this problem, so I don''t think it''s a Access-install or SP-issue
I tried save as text - load from text for this form. (For other forms as well) I also created a blank new db, imported everything but same result.

I will try to recreate the form from scratch, but for today I''ve had enough of this. Going to play biljarts and have a beer or two now ;-)

Any idea''s? Anyone had similar ''events'' ?

TIA
Arno R



Arno R < AR **************** @ tiscali.nl>写道:


我唯一能想到的就是做反编译。


Tony


-

Tony Toews,Microsoft Access MVP

请仅在新闻组中回复,以便其他人可以

阅读整个消息主题。

Microsoft Access Links,Hints,Tips&会计系统
http://www.granite.ab.ca /accsmstr.htm
"Arno R" <ar****************@tiscali.nl> wrote:

The only other thing I can think of is doing a decompile.

Tony

--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm


嗨Tony,

感谢您的提示,但不幸的是,/反编译并没有帮助。


我也收到消息(当我尝试注释掉一些启动代码时)

更改不能写入项目,因为数据库不能单独打开。

(荷兰语翻译的消息)

我是当时唯一的用户...

当我使用/ excl启动数据库时,我可以对代码进行更改。


我将在今天下午继续测试并再次创建启动窗体。


Arno R

" Tony Toews" < TT **** @ telusplanet.net> schreef in bericht

news:52 ******************************** @ 4ax.com ...
Hi Tony,
Thanks for the tip but unfortunately also /decompile doesn''t help.

I also get messages (when I try to comment out some startup-code)
that "changes can''t be written to the project because the database can''t be opened exclusively".
(Message translated from Dutch)
I am the one and only user at that moment ...
When I start the db with /excl I can make changes to the code.

I will keep on testing this afternoon and create the startupform again.

Arno R
"Tony Toews" <tt****@telusplanet.net> schreef in bericht
news:52********************************@4ax.com...
" Arno R" < AR **************** @ tiscali.nl>写道:

我能想到的另一件事就是做反编译。

Tony

-
Tony Toews,微软访问MVP
请仅在新闻组中回复,以便其他人可以阅读整个邮件主题。
Microsoft Access Links,Hints,Tips&会计系统
http://www.granite.ab.ca /accsmstr.htm
"Arno R" <ar****************@tiscali.nl> wrote:

The only other thing I can think of is doing a decompile.

Tony

--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm






这篇关于奇怪的腐败A2k的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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