473,387 Members | 1,785 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,387 software developers and data experts.

Execute a program from TMainMenu drop down item

6
Hi to u all

l've written a Mean program which rans perfectly well, but my issue was l
wanted to execute from the MainMenu, so that when l choose say Mean
from the menu it executes it, how can l connect it?

Any idea would be grateful
thanks
Pep
Mar 27 '08 #1
6 1645
Sick0Fant
121 100+
Hi to u all

l've written a Mean program which rans perfectly well, but my issue was l
wanted to execute from the MainMenu, so that when l choose say Mean
from the menu it executes it, how can l connect it?

Any idea would be grateful
thanks
Pep
Are you using MSVC, or something else?
Mar 27 '08 #2
pep
6
I'm using Borland C++ Builder 5 running on Vista Ultimate

thanks
Mar 27 '08 #3
Sick0Fant
121 100+
I'm using Borland C++ Builder 5 running on Vista Ultimate

thanks
I should first of all ask, are you using a dialog resource as your window, or are you designing your own?
Mar 27 '08 #4
pep
6
l designed my own menu called Meanpr with a caption MeanProgram,
one thing is that l looked through some of those threads and l found this
expression
Expand|Select|Wrap|Line Numbers
  1. system("F:\\Mean\\MVNew.exe")
The program does open, but it opens C:\windows\system32\cmd.exe prompt as well, Is there a way preventing it from openning?

thanks

Pep
Mar 27 '08 #5
pep
6
l designed my own menu called Meanpr with a caption MeanProgram,
one thing is that l looked through some of those threads and l found this
expression
Expand|Select|Wrap|Line Numbers
  1. system("F:\\Mean\\MVNew.exe")
The program does open, but it opens C:\windows\system32\cmd.exe prompt as well, Is there a way preventing it from openning?

thanks

Pep
Does anyone find the solution to my problem yet?

thanks

pep
Mar 31 '08 #6
Parul Bagadia
188 100+
You can call it in main; that's how we connect any function to some other function.
Mean is a name of function i guess.
Mar 31 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Filiz Duman | last post by:
I was just wondering, is it possible to write into the drop down box in order to jump to a specific item. The reason why I am asking is my drop down box has many items and additionally to the...
1
by: Paul M | last post by:
Hi folks, When I set the datasource of a dropdown list and bind it, the drop down list always defaults to the first item in the list. I need it to default to Nothing or NULL or whatever it is...
2
by: Eric Dan | last post by:
Hi, Even tough I was able to implement what I want in a weird and non efficient way, I would like to get an opinion what is the right way to achieve my task: Scenario: • Display a DataGrid...
3
by: scaredemz | last post by:
hi, so i'm creating a dynamic drop-down menu. the menu and the text show up fine in IE but only the drop-down shows in Firefox without the menu text. Below is the fxn code. help pls. function...
3
by: John Walker | last post by:
Hi, On an ASP.NET page I have a drop down list control. When the user pulls down the list and makes a selection, I perform validation, and if the validation fails I want the selected item in...
1
by: gubbachchi | last post by:
Hi, How can I get the selected item of the drop down box into a php variable in the same page. The options in drop down box are A,B and C and the code is here <select> <option value="Item...
1
by: bytenut | last post by:
I would like to display two field values in a combo after selecting from the list items... i.e. my drop-down shows two fields from a lookup, but when I select the item, only the first field value is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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...
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...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
jinu1996
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 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.