DLL中的对话框 [英] Dialog in DLL
问题描述
我只是在尝试使用VB.Net,所以如果之前已经问过这个
问题,请原谅我...
我会喜欢在DLL中放置一个模态对话框(完全独立的VS
项目),然后让我的应用程序加载DLL并弹出
对话框。
有人能指点我一篇解释如何做的文章吗?
TIA,
- -
丹尼斯
" Dennis" < no **** @ nowhere.comwrote in message
news:36 ************************** ****** @ 4ax.com ...
我只是在试验VB.Net,所以请原谅我这个
之前已经问过
问题...
我想在DLL中放置一个模态对话框(完全独立的VS
项目),然后让我的应用程序加载DLL并弹出
对话框。
有人能指点我一篇解释如何做的文章吗? br />
TIA,
-
Dennis
您需要做的是在.exe项目中添加对DLL的引用。
然后(你必须使对话的类 - winform public)你
可以创建对象并使用ShowDialog
希望这有帮助
LS
Dennis写道:
我是jus用VB.Net进行试验,如果之前已经问过这个问题,请原谅我...
我想把模态对话框放进去一个DLL(完全独立的VS
项目),然后让我的应用程序加载DLL并弹出
对话框。
任何人都可以给我一篇解释如何操作的文章吗?
你不能在动态链接库中放置任何类型的屏幕。
屏幕永远不会显示,DLL将在那时挂起。
多少垃圾。
先生。阿诺德" < Arnold @ Arnoldcomwrote in message
news:en ************** @ TK2MSFTNGP03.phx.gbl ...
< ;剪断>
>
您无法在动态链接库中放置任何类型的屏幕。屏幕
将永远不会显示,DLL将在此时挂起。
I''m just experimenting with VB.Net, so please forgive me if this
question has been asked before...
I would like to put a modal dialog in a DLL (totally separate VS
Project), and then have my application load the DLL and pop-up the
dialog.
Can anyone point me to an article that explains how to do this?
TIA,
--
Dennis
"Dennis" <no****@nowhere.comwrote in message
news:36********************************@4ax.com...I''m just experimenting with VB.Net, so please forgive me if this
question has been asked before...
I would like to put a modal dialog in a DLL (totally separate VS
Project), and then have my application load the DLL and pop-up the
dialog.
Can anyone point me to an article that explains how to do this?
TIA,
--
DennisWhat you need to do is add a reference to the DLL in your .exe project.
Then (you have to make the class that is the dialog - winform public) you
can just create the object and use ShowDialog
Hope this helps
LS
Dennis wrote:I''m just experimenting with VB.Net, so please forgive me if this
question has been asked before...
I would like to put a modal dialog in a DLL (totally separate VS
Project), and then have my application load the DLL and pop-up the
dialog.
Can anyone point me to an article that explains how to do this?
You cannot put a screen of any type in a Dynamic Link Library. The
screen will never show and the DLL will hang at that point.
What a load of rubbish.
"Mr. Arnold" <Arnold@Arnoldcomwrote in message
news:en**************@TK2MSFTNGP03.phx.gbl...
<snip>>
You cannot put a screen of any type in a Dynamic Link Library. The screen
will never show and the DLL will hang at that point.
这篇关于DLL中的对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!