Visual Studio新手......需要帮助! [英] New to Visual Studio ... need help!

查看:110
本文介绍了Visual Studio新手......需要帮助!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用Excel开发的大量视觉基本代码(大约5000行)。 这在Excel环境中太麻烦了。 我去VS 2019开了一个新项目,发现自己面对了许多项目模板可供选择。

I have an extensive visual basic code that I developed in Excel (some 5000 lines).  It's just too cumbersome in the Excel environment.  I went to open a new project in VS 2019 and found myself faced with a host of project templates to choose from.

我认为我不想要一个控制台应用模板,因为会有非常广泛的输出写入外部文件。 我不是在开发一个Windows应用程序(我不认为),虽然代码可以在Windows机器上运行。 事实是,我不清楚任何选择对我的项目有什么意义。
。 该项目创建了一个流体动力学代码,该代码在数学和联立方程解决方案中很重要,并且需要大量的内存和CPU时间来执行。  

I don't think I want a console app template as there will be very extensive output to write to external files.  I'm not developing a windows app (I don't think) although the code would run on windows machines.  Truth is I have no clear idea what any of the choices really mean to my project.  The project is creation of a fluid dynamics code that is heavy in mathematics and simultaneous equation solutions and requires considerable memory and cpu time to execute.  

建议?

推荐答案

嗨DennyGibson,

Hi DennyGibson,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

根据您的描述,我建议您使用"类库"。包装你的代码。类库是.NET的共享库概念。从库中,您可以打开一些界面来进行数据导入和导出。

According to your description, I suggest you could use "Class Library" to wrap your code. The class libraries are the shared library concept for .NET. From the libraries, you could open some interfaces to do data import and export.

然后您可以创建一个可视应用程序或其他应用程序来引用该库,应用程序可以使用它来执行数据导入或数据显示。在可视化应用程序开发中,有许多窗口控件可以帮助您进行大量输出和编写,例如
作为图表(输出),绑定源(输入)等。

Then you could create a visual app or other app to reference the library, which the app can use to perform data import or data display. And in the visual app development, there are many windows controls to help you to do the extensive output and write, such as chart(output), Binding Source(input) and etc.

在Visual Studio中,.NET框架能够自动管理应用程序的内存分配和释放。请参阅

here
 了解更多信息。

And in the visual studio, the .NET framework is able to automatically manages the allocation and release of memory for an application. Please refer here for more.

最后,请详细了解
develop VB与visual studio
。 

At last, please learn more about developing VB with visual studio

预计会有任何反馈。

最好的问候,

Dylan








这篇关于Visual Studio新手......需要帮助!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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