sillybob123 Posted September 15, 2008 Report Posted September 15, 2008 Hey in vb i want to be able to have a textbox and a button and a menu bar what i would like is when you type in the item you wish to have added to the menu then press the button it then is added to the menu can anyone help out>? thanks
Dark Slipstream Posted September 16, 2008 Report Posted September 16, 2008 that..made..no..sense.. please explain more thoroughly, with some better grammar for some help.. lol. If you are looking for a way to create a context menu in VISUAL BASIC or the WINDOWS Context Menu, state so. If you are trying to create a Sub-Menu (Cascaded) just like WinRAR, I don't have a clue there. Adding individual buttons is easy as hell, open the '_ROOT\*\shell\' in registry, Add 'New Key' in shell, name it what you want it to be called, then add 'New Key' to that key you just created, and under (Default), set the value you want it to execute when you click that button (lets say C:\), then it'd open the C:\. I posted the code to my Right-Click Context Menu, feel free to use that to do what I have stated above. *Note: I do not know the answer to creating a 'WinRAR similar' menu.
iBotPeaches Posted September 16, 2008 Report Posted September 16, 2008 A navigation bar that is vertical with drop down bars in action script that drop below that? Don't get it. sorry.
sillybob123 Posted September 16, 2008 Author Report Posted September 16, 2008 OK it was late sorry what i would like is to on my form have1. textbox2. button3. normal menu bar and what i want to be able to code is that when the user types an entry into the textbox and naturally presses the button it is added to the menu bar
Slidell Posted September 16, 2008 Report Posted September 16, 2008 OK it was late sorry what i would like is to on my form have1. textbox2. button3. normal menu bar and what i want to be able to code is that when the user types an entry into the textbox and naturally presses the button it is added to the menu bar silly i cant understand your crazy new age hippity hop techno talk and idk how to do that theres probley a tut some where on the forums
SmokiestGrunl Posted September 16, 2008 Report Posted September 16, 2008 He wants make it so what ever is in the text box will be added to the menu. So eg. in File drop down menu the person may want to add Print Screen so they will type that in the Box and press enter.
iBotPeaches Posted September 16, 2008 Report Posted September 16, 2008 Is this in a language like vb or online with java script? I'm confused
SmokiestGrunl Posted September 16, 2008 Report Posted September 16, 2008 vb, if it requires arrays I am very interested.
sillybob123 Posted September 16, 2008 Author Report Posted September 16, 2008 omg this is amazingly easy to understand! User enters desired menu item into a text box >>>>>>>> They press add >>>>>>> it is added to the menu bar simple enough?i want it in visual basic language like i said in the description if you want an example download the Halo 2 AIO V2 by r4nd0m it has that sort of feature !Pic_Add1.bmpPic_Add2.bmp
Dark Slipstream Posted September 16, 2008 Report Posted September 16, 2008 pfft.. anyone who cant answer his latest post, i laugh at you. lol. Ok, all you need to do is: (if im off by a bit, im sorry, i dont have visual basic here..) -- name your bar TAB under the button code: TAB.Controls.Add(TextBox1.Text) As far as I know, it should work.
sillybob123 Posted September 17, 2008 Author Report Posted September 17, 2008 Yep your a bit off :S Value type of 'string' cannot be converted to 'system.windows.forms.control'
Dark Slipstream Posted September 17, 2008 Report Posted September 17, 2008 okay, I can offer you some help while i am still here, (unknown remainining time left) or later on tonight. this was posted at 4:45 PM Estern Time. I can teamview you and troubleshoot with you, send me a private message, this way i know you are here, and we can sort this out real quick.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now