是否可以将 VBA 转换为 C#? [英] Is it possible to convert VBA to C#?

查看:38
本文介绍了是否可以将 VBA 转换为 C#?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VBA 中有几个代码块模块可以在几个 Access 数据库上运行.如果我想将编码转换为 C# 环境,我想知道我应该如何进行.是否有可能实现并获得与我现在使用 Access 和 VBA 获得的结果相同的结果?在这一点上,我对 C# 完全陌生.

I have a few modules of block of code in VBA to run on few Access databases. I would like to know how I should proceed if I want to convert the coding to C# environment. And is it possible to implement and obtain the same results as I am getting now with Access and VBA? I am completely new to C# at this point.

推荐答案

目前无法自动转换,但手动转换也有助于提高您的 C# 技能.这里有一篇排名前 10 的文章,带您了解常见差异:

Automatic conversion isn't possible at the moment, but doing it manually will also help improve your C# skills. There's a Top 10 article here that takes you through the common differences:

http://msdn.microsoft.com/en-us/library/aa164018%28office.10%29.aspx

您可能还会发现以下链接很有用:

You may also find the following links useful:

使用 C# 开发 Office 解决方案的 MSDN 页面:

The MSDN page for developing Office solutions with C#:

http://msdn.microsoft.com/en-us/library/ms228286.aspx

MSDN Visual C# 应用程序开发页面(用于开始 C# 开发):

The MSDN Visual C# application development page (for starting out in C# development):

http://msdn.microsoft.com/en-us/library/aezdt881.aspx

祝你好运,我希望这会有所帮助.

Good luck and I hope this helps.

这篇关于是否可以将 VBA 转换为 C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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