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

Like RUN Menu help...

knychtell
HI, can somebody help me figure out how can i get the value i inserted at the collection's property of a combobox appear in a listbox, what i wanted is like the RUN application, or the cmdprompt, i have 1 combobox, a listbox, 3 buttons, and a label

btn1=ok,. btn2=cancel, btn3= browse,

i have 2 choices, if i go to combo i must type a path, when i go to browse i will give me "C:/" i hvae resolved the browse menu, but i still want more, when i clicked ok preceeding browse btn, it will display in lstbox, and when i click ok it will run the selected path,


while on the combo box, i still have to type the path and when i press enter,
it will display the typed path and object in listbox then from there when i press the ok btn(btn1) it will run the path/obj......


can you help plsss..........

thanks a lot......
Feb 27 '07 #1
2 1057
vijaydiwakar
579 512MB
HI, can somebody help me figure out how can i get the value i inserted at the collection's property of a combobox appear in a listbox, what i wanted is like the RUN application, or the cmdprompt, i have 1 combobox, a listbox, 3 buttons, and a label

btn1=ok,. btn2=cancel, btn3= browse,

i have 2 choices, if i go to combo i must type a path, when i go to browse i will give me "C:/" i hvae resolved the browse menu, but i still want more, when i clicked ok preceeding browse btn, it will display in lstbox, and when i click ok it will run the selected path,


while on the combo box, i still have to type the path and when i press enter,
it will display the typed path and object in listbox then from there when i press the ok btn(btn1) it will run the path/obj......


can you help plsss..........

thanks a lot......
If i'm not wrong u like to add the pathe to listbox which is taken by browse btn k?.........
if so then get the path and list.additem may solve thy problem
if not then explain conditions one by one in more details
Feb 27 '07 #2
Ok,

i do want to use lstbox1.items.add - because the lstbox will only be displaying all the paths that is in the code, i mean, in the user won't have to use the combobox if i will add all the paths in the lstbox, what i want is that:


1. when i type a path for example C:\ program files\ test.txt
when i search in the word to the combo, the listbox will then show the path i typed in, (synchronized) ( if Correct path format was entered)

2. the path in lstbox will be highlighted and must be clickable(selectable) so if ever i have many paths already stored in the lstbox, i can select or deselect other paths

so, the last thing i have to consider is to shoiw the selected path using lstbox_click event or btnOK: the whole TEST.TXT or the notepad where i typed in the the test results...


i hope this can help, THANKS A LOT Sir. I REALLY NEED THIS ONE DONE... THANKS AGAIN....MAY GOD BE YOU ALWAYS!
Feb 28 '07 #3

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

Similar topics

16
by: Jay | last post by:
I've been using Travis's Expanding Menu (http://www.squidfingers.com/code/dhtml/expandingmenu/) for a site i'm working on. The problem is I need to add some functionality to it. I need the the...
9
by: Nicole | last post by:
Okay, so I was working primarily in dreamweaver and the site looks very good in both IE (our customers primarily use this) and Firefox (my new 'thing'), but I ran it through the validator and...
10
by: Adrian | last post by:
Hi simple question I hope!! Using the menu designer I have a file menu and an options menu with sub items... I have added a Help menu and want it on the right-hand side away from the other menu...
4
by: Bob Homes | last post by:
In VB6, I used a system, which I loved, whereby I assigned a "helpId" to each menu item; that way, you could rest the cursor on the item (without actually running it) and then press F1 to get...
2
by: Ludwig | last post by:
My application has a main tool strip menu (File, Options, help,...). There are also a number of context menu's that popup. Some main menu items should also be available in some context menu's. ...
4
by: Louly | last post by:
Hi everybody, I got the code for dimming a menu item from this group after looking for it for a long time thanks to those who share their experiences with the others :) The problem I'm facing...
4
by: Edward K. Ream | last post by:
Hello all, Creating a 'Help' menu 'by hand' on the Mac does not work, or rather, it creates a *second* Help menu. There are hints about how to do this at:
1
by: bruce628 | last post by:
I want to use SWT Label and popmenu to construct a menubar ,and the effect of this menubar is same to the menubar in SWT.When click the Label,it should be highlighted and popmenu shows.The issue is...
19
by: BibhuAshish | last post by:
Hello, I have created a context menu in mozilla by using following code: function nrc(e) { var contextMenu; document.oncontextmenu = function (evt) { var srcElement; if (evt &&...
0
by: biganthony via AccessMonster.com | last post by:
Hi, I have a database (Access 2003) where I put in my help file (help.chm) and set all the context IDs. When I press F1 on a form, I get the correct help page for that form. This is all working...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
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 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.