Jump to content

cbox


//////Add custom items help!!!!!!\\\\\\\


Recommended Posts

Posted
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
Posted

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.

Posted

OK it was late sorry what i would like is to on my form have

1. textbox

2. button

3. 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

Posted
OK it was late sorry what i would like is to on my form have

1. textbox

2. button

3. 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

Posted

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.bmp

Pic_Add2.bmp

Posted

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.

Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...