如何添加window.dll的引用 [英] How to add a refrence of window.dll

查看:96
本文介绍了如何添加window.dll的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好...

我正在asp.net上,正在使用vb.net.我从某处听说,我们可以在asp.net中使用基于Windows的函数.为此,我们需要添加Windows.forms.dll的引用.我不知道该怎么用...

.............. plz .................帮助................. .........

Hello...

I am working on asp.net and i am using vb.net. I heard from somewhere that we can use windows based functions in the asp.net. To do so we need to add a reference of windows.forms.dll. I did not know how to use it....

..............plz.................help..........................

推荐答案

首先,这是一个真的坏主意.这不是真正可行的方法.您当然可以添加此参考,但是您将如何处理呢?该程序集用于创建UI.该用户界面将显示在哪里,向谁显示?对在服务器机房工作的人员? :-)

也许您只是对Web的工作方式一无所知,但暂时将其搁置一旁.

而且,如果您不知道如何添加引用,请停止假装您在.NET中进行开发.并停止尝试开发任何东西.首先,学习基础知识;首先,从概念上了解什么是程序集以及如何使用它,以及什么是程序集名称,强名称和其他重要属性.关于如何使用引用的食谱食谱没什么好处;您需要有基本的了解.这些主题太重要了.

当然,在您熟悉基础知识之前,请先忽略Web开发和UI开发.不要浪费时间并造成不必要的挫败感.

—SA
First, this is a really bad idea. And this is not what can really work. You can add this reference, of course, but what will you do with it? This assembly is for creating UI. And where this UI will be shown, to whom? To the personnel working in the server room? :-)

Perhaps you just don''t have an idea on how Web works, but set it aside for now.

And, if you don''t know how to add references, stop pretending you are developing in .NET. And stop trying to develop anything. First, learn the basics; first of all, read on what assembly is and how it''s used, conceptually, and what is assembly name, strong name, and other important properties. Cookbook recipe on how to work with references is nothing good; you need to have fundamental understanding. These topics are way too important.

And of course, forget about Web development and UI development before you feel comfortable with basics. Don''t waste your time and create unwanted frustration.

—SA


这篇关于如何添加window.dll的引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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