需要帮助...我想从vb.net应用程序处理计算器.... [英] need help... I want to handle calculator from vb.net application....

查看:64
本文介绍了需要帮助...我想从vb.net应用程序处理计算器....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以从我的vb.net应用程序中运行Windows 7内置计算器吗?

我想将一个等式传递给计算器作为输入并将输出答案传回我的应用程序。 />
尽快帮助我...

Can I operate windows 7 inbuilt calculator from my vb.net application???
I want to pass an equation to the calculator as input & take the output answer back to my application.
help me out ASAP...

推荐答案

您可以使用以下代码使用Windows内置计算器

You can use Windows built in Calculator using the following Code
System.Diagnostics.Process.Start("Calc")


将公式传递给内置的Windows的情况计算器作为输入并将输出答案返回到您的应用程序是完全无法访问的,因为Windows内置的Calcular不是您项目中的一个表单,您可以

代码并修改。



即使你有一些技巧可以将你的应用程序的输入传递给内置计算器的Windows,你也不会得到把结果带回你的应用程序的技巧,因为这个计算器是一个exe文件位于您的计算机上。



所以,你必须这样做找到一些开源的Scientific Calculaters,并添加你的自定义代码来进行操作。





问候

Abkasoft Corporation
The case of passing an equation to the Windows built in calculator as input & taking the output answer back to your application is totally unreachable, becuase Windows built in Calcular is not as one Form in your project, that you can
code and modify.

Even if you got some techniques to pass input from your application to the Windows built in Calculator, you will not get a trick to get the results back to your application, becuase this calculator is an exe file located in your Computer.

so, you have to find some open source Scientific Calculaters out there, and add your custom codes to do your operations.


Regards
Abkasoft Corporation


你必须创建自己的。



查看以下文章。他们可能会帮忙。



1. VB.Net计算器 [ ^ ]。

2. VB NET中的计算器项目 [ ^ ]。

3.另外,请从 Google [ ^ ]。



如果你想这样做是javaScript然后检查我的答案如何使用javascript或jquery创建计算器弹出窗口? [ ^ ]。br />


谢谢......
You have to create your own.

Check the below articles. They might help.

1. VB.Net Calculator[^].
2. A Calculator Project in VB NET[^].
3. Else try more from Google[^].

And if you want to do it is javaScript then check my answer How to create Calculator popup using javascript or jquery?[^].

Thanks...


这篇关于需要帮助...我想从vb.net应用程序处理计算器....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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