转换Vb.net应用程序以在WinPE上运行 [英] Convert Vb.net app to run on WinPE

查看:77
本文介绍了转换Vb.net应用程序以在WinPE上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我希望有人能对以下情况有所了解:



我我很喜欢编程。但是,我已经构建了一个vb.net 2013应用程序,并尝试在WinPE环境中运行它。我的应用程序主要是其他人的工作,因为加密和解密文本字符串超出了我的编程技能。

应用程序无法启动错误代码(0xc0000135)。我知道这是因为WinPE不支持.Net Framework,我的应用程序需要运行这些库!

这对我来说都很奇怪,我认为这里是一个插件或类似的东西,考虑到它们都是微软的产品!



无论如何,继续前进,我现在需要一种方法将我的程序转换为本机编程语言,这样就不会依赖.Net的东西了。 />


我试图使用一些在线转换工具但没有成功。我也遇到了Mono,它似乎提供跨平台支持,因为我认为它捆绑了应用程序中的依赖库。但是,我已经多次尝试完成本机编译,没有任何运气!



我不是程序员,任何与vb.net不同的东西都会让我失望。 />
如果有人有任何建议,我们将非常感激地收到。基本上我需要一种方法来端口和包装我的应用程序,以便它在WinPE环境中运行?



模块声明:

进口系统

Imports System.IO

Imports System.Text

Imports System.Security.Cryptography

Imports Microsoft.VisualBasic



提前谢谢。

Hi,

I hope someone can throw some light on the following situation:

I am very new to programming. However, I have built a vb.net 2013 application and have tried to run it within a WinPE environment. My application is mainly someone else work, as encrypting and de-crypting text strings is beyond my programming skills.
The application is unable to start error code(0xc0000135). I know this is because WinPE does not support the .Net Framework and my application needs these libraries to run!
This is all very strange to me, I thought here would be a plug-in or something similar, considering they are both Microsoft products!

Anyway, moving on, I now need a way to convert my program into a native programming language, so that there are no dependencies on the .Net stuff.

I have tried to use some of the online conversion tools without any success. I have also come across Mono, which seems to offer cross platform support, as I think it bundles up dependent libraries within the app. However, I have tried several times to complete a native compile, without any luck!

I am not a programmer and anything dissimilar to vb.net throws me.
If anyone has any suggestions, they would be gratefully received. Basically I need a way to either port and wrap my application so that it runs within a WinPE environment?

Modules Declared:
Imports System
Imports System.IO
Imports System.Text
Imports System.Security.Cryptography
Imports Microsoft.VisualBasic

Thanks in advance.

推荐答案

哎呀。没关系。即使最新的WinPE也不支持.NET Framework的加密功能。这是因为您没有在完整版本的Windows上运行。 Crypto API不在WinPE中。
Whoops. Nevermind. Even the latest WinPE doesn't support the Crypto features of the .NET Framework. This is because you're not running on a full version of Windows. The Crypto API just isn't in WinPE.


这篇关于转换Vb.net应用程序以在WinPE上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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