Hi guys, I am making a shop management program in visual basic. I want to a menu name Utiliti where Calculator, notepad, heart game, solitair game will be shown. In Utility menu I added this submenu. and now i want if i click on calculator submenu then the calculator which is built in with windows will call. and another thing when the calculator will appear if i click again to the menu then it should not open again.
that mean only one calculator will open. I saw the code something Shell calculator or ...
Please help me
7 2927
Hi guys, I am making a shop management program in visual basic. I want to a menu name Utiliti where Calculator, notepad, heart game, solitair game will be shown. In Utility menu I added this submenu. and now i want if i click on calculator submenu then the calculator which is built in with windows will call. and another thing when the calculator will appear if i click again to the menu then it should not open again.
that mean only one calculator will open. I saw the code something Shell calculator or ...
Please help me
Here's the simple algo:
If you click the calculator menu then calculator will be showed and calculator menu will be disabled. When the calculator is unloaded, enables the calculator menu. : )
To open calculator you need to pass the complete path of the calc.exe file to shell function.
Hi guys, I am making a shop management program in visual basic. I want to a menu name Utiliti where Calculator, notepad, heart game, solitair game will be shown. In Utility menu I added this submenu. and now i want if i click on calculator submenu then the calculator which is built in with windows will call. and another thing when the calculator will appear if i click again to the menu then it should not open again.
that mean only one calculator will open. I saw the code something Shell calculator or ...
Please help me
What you have code to open calculator.
Hope i ll help you.
I got few reply but those not helpful please give me total solution
I got few reply but those not helpful please give me total solution
Kindly post the code that you have tried so far.
To open calculator u need to pass the complete path of the calc.exe file to shell function.
No need for any Exe is winsystem path (system32) we can give
No need for any Exe is winsystem path (system32) we can give
This opens an exe file,i agree.How do u position the exe file?what do i do if i want to make it appear at the center of the sreen?
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Steen Gellett |
last post by:
How can I make a program halt, so when shell command is finished my program
continues, but as long as the shell is running it must be on "hold" ??
|
by: Amjad |
last post by:
I'm trying to create a folder, append text file to
another, and delete files using the "Shell" command. But
I always get the error "File Not Found".
How do I use DOS commands from Visual Basic?...
|
by: ckirby |
last post by:
I've inherited an application for creating mail merges from an Access
2003 ADP that needs an overhaul.
To generate the mail merge , the app uses a shell command:
result = Shell(str, vbHide)
...
|
by: Dixie |
last post by:
Is there a way to shell to Microsoft Word from Access and load a specific
template - using VBA?
dixie
|
by: bearophileHUGS |
last post by:
For array.array "B" means unsigned char, and such arrays accept to be
initialized from (str) strings too, this is quite useful:
But it seems such capability isn't shared with the append:
...
|
by: Lee Kok Onn |
last post by:
I have write the following command in visual studion visual basic 2005.
shell("runas /user:admin diskpart") to set the hard disk partition.
it will prompt user to type a password in dos prompt,...
|
by: Anastasios Hatzis |
last post by:
I'm looking for a pattern where different client implementations can use the
same commands of some fictive tool ("foo") by accessing some kind of API.
Actually I have the need for such pattern for...
|
by: risk32 |
last post by:
I seem to be having a "brain fart" with the Shell() command for Visual Basic.
Either that, or what I'm trying to can't be done and I'm just a noob for trying.
Anyways, here's what I'm trying to...
|
by: Michael |
last post by:
I have an on-click event, where I would like the machine to release
it's IP address:
Shell("ipconfig /release")
Why does this not work ?
What is the proper way to do this ?
Thanks
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |