473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

system calculator

Joe
Can someone tell me how to call the system calculator in
windows XP, I am programming with VB.Net. I am writing a
program and I would like to let the user have access to
the calculator in windows. The user should be able to use
it in the GUI that I present them.

Thanks,
Joe
Nov 20 '05 #1
4 2340
Process.Start or Shell.exectute
"Joe" <an*******@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
Can someone tell me how to call the system calculator in
windows XP, I am programming with VB.Net. I am writing a
program and I would like to let the user have access to
the calculator in windows. The user should be able to use
it in the GUI that I present them.

Thanks,
Joe

Nov 20 '05 #2
Hello Joe!

Dim X As Integer
X = Shell("Calc.exe", AppWinStyle.NormalFocus)
Of course, if you want the calculator to show up in inside your program,
you'll need its handle and use the SetParent API..


"Joe" <an*******@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
Can someone tell me how to call the system calculator in
windows XP, I am programming with VB.Net. I am writing a
program and I would like to let the user have access to
the calculator in windows. The user should be able to use
it in the GUI that I present them.

Thanks,
Joe

Nov 20 '05 #3
* "Joe" <an*******@discussions.microsoft.com> scripsit:
Can someone tell me how to call the system calculator in
windows XP, I am programming with VB.Net. I am writing a
program and I would like to let the user have access to
the calculator in windows. The user should be able to use
it in the GUI that I present them.


\\\
System.Diagnostics.Process.Start("calc.exe")
///

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
Thanks guys, I used the one below and it worked. I
haven't tried the others as yet.
-----Original Message-----
Hello Joe!

Dim X As Integer
X = Shell("Calc.exe", AppWinStyle.NormalFocus)
Of course, if you want the calculator to show up in inside your program,you'll need its handle and use the SetParent API..


"Joe" <an*******@discussions.microsoft.com> wrote in messagenews:06****************************@phx.gbl...
Can someone tell me how to call the system calculator in windows XP, I am programming with VB.Net. I am writing a program and I would like to let the user have access to
the calculator in windows. The user should be able to use it in the GUI that I present them.

Thanks,
Joe

.

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: mwh | last post by:
Hi. If you remember, I posted Expressons Help. Now I am making a calculator with javascript. I can't get this to work: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"...
6
by: Rafael | last post by:
Hi Everyone, I need some help with my calculator program. I need my program to do 2 arguments and a 3rd, but the 3rd with different operators. Any help would be great. Here is my code.... ...
3
by: Paul | last post by:
I want to make a simple calculator program but dont know where to get started. This is not GUI but a simple terminal program. It would get input like this Enter number: 5 + 10
10
by: collegestudent | last post by:
hello there, I was wondering if anyone could give me some advice on where to start on a project for college where I have to design and create a hand-held calculator simulation in Visual...
2
by: David Kanter | last post by:
Hi, I am relatively inexperienced with VB.Net, but I am familiar with many concepts from programming; I have some basic level of competence with C/C++ and Perl, but I just started using VB this...
3
by: Art | last post by:
Hi, In part of my application the user may need to do a simple arithmetic calculation in order to get the value to put in a text box. I was thinking that it would be good if I could display the...
5
Deathwing
by: Deathwing | last post by:
Hi everyone one I'm playing around with trying to make an expense calculator. I would like it so that the user can keep enter expenses until they have no more expenses. Then I would like for the...
1
by: kveerendrareddy | last post by:
In my Html page, I need to have a calculator. Can i set the system calculator to be opened if i press calulator button in my page. How can i do that? How can write the Html code to conect system...
3
by: itsmichelle | last post by:
This is a very primative code of a java swing calculator. I have assigned all the number buttons and the operator buttons and I can add, subtract, multiply, and divide two numbers together. However,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.