msil和vb [英] msil and vb

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

问题描述



i想要使用我不能在vb中使用的msil''potentiality,所以我必须修改在bb中生成的il代码构建的第一阶段然后让它完成。
完成。


1. VB

2.原始msil

----我来这里----

3.修改msil

4.最终输出


任何帮助将不胜感激


谢谢

解决方案

Microsoft Listview控件我假设

因为在asp.net中没有listview我认为它是一个窗口应用程序


创建一个控制库

继承listview


所以它会是这样的

没有ide打开所以。,,


public class classname

继承system.windows.forms.listview

你在这里覆盖和重载等...

你的特殊代码就在这里。


结束班


将控件添加到您的表单

在您的Windows窗体上.frm


dim objLI作为新的类名

这里需要的objLI.SETALLPropertys

me.controls.add(objli)


" VeNoM00" <已经***** @ nospam.it>在消息中写道

news:e5 ************** @ TK2MSFTNGP09.phx.gbl ...

我想使用一个我不能在vb中使用的msil''potentiality,所以我必须修改在构建的第一阶段生成的il代码,然后让它

1. VB
2.原创msil
----我来这里----
3.修改msil 4.最终输出

任何帮助将不胜感激

谢谢



您可以使用ildasm将IL输出到文本文件,进行所需的任何修改,然后使用ilasm将文本转换回IL。


VeNoM00写道:


我想使用我不能在vb中使用的msil''potentiality,所以我必须修改il在构建的第一阶段生成的代码然后让它完成。

1. VB
2.原始的msil
----我来这里----
3.修改msil
4.最终输出

任何帮助将不胜感激

谢谢


你想在MSIL中做什么,你不能用VB做什么?


" VeNoM00" <已经***** @ nospam.it>在消息中写道

news:e5 ************** @ TK2MSFTNGP09.phx.gbl ...

我想使用一个我不能在vb中使用的msil''potentiality,所以我必须修改在构建的第一阶段生成的il代码,然后让它

1. VB
2.原创msil
----我来这里----
3.修改msil 4.最终输出

任何帮助将不胜感激

谢谢



Hi,
i want to use a msil''potentiality that i can''t use in vb, so i have to
modify the il code generated in the first phase of the build and then let it
finish.

1. VB
2. original msil
----i here come here----
3. modified msil
4. final output

Any help would be greatly appreciated

Thanks

解决方案

Microsoft Listview control i am assuming
well since there is not a listview in asp.net i assume it is a window app

Create a control library
inherit the listview

So it would be something like this
do not have ide open so.,,

public class classname
inherits system.windows.forms.listview
you override and overload etc here...
you special code goes here.

end class

to add the control to your form
on your windows form.frm

dim objLI as new classname
objLI.SETALLPropertys that are needed here
me.controls.add(objli)

"VeNoM00" <ve*****@nospam.it> wrote in message
news:e5**************@TK2MSFTNGP09.phx.gbl...

Hi,
i want to use a msil''potentiality that i can''t use in vb, so i have to
modify the il code generated in the first phase of the build and then let
it
finish.

1. VB
2. original msil
----i here come here----
3. modified msil
4. final output

Any help would be greatly appreciated

Thanks



You can use ildasm to output the IL to a text file, make whatever
modifications you want, and then use ilasm to turn the text back into IL.

"VeNoM00" wrote:

Hi,
i want to use a msil''potentiality that i can''t use in vb, so i have to
modify the il code generated in the first phase of the build and then let it
finish.

1. VB
2. original msil
----i here come here----
3. modified msil
4. final output

Any help would be greatly appreciated

Thanks



what exactly do you want to do in MSIL that you cant in VB?

"VeNoM00" <ve*****@nospam.it> wrote in message
news:e5**************@TK2MSFTNGP09.phx.gbl...

Hi,
i want to use a msil''potentiality that i can''t use in vb, so i have to
modify the il code generated in the first phase of the build and then let
it
finish.

1. VB
2. original msil
----i here come here----
3. modified msil
4. final output

Any help would be greatly appreciated

Thanks



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

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