VS 2008 MenuStrip And Access DB?

Jun 12, 2010

Small problem on vb2008 express:I have added a menustrip on a form, and I would like to add a drop down list or a combobox on that menulist and populate the fields from my access database.

Unfortunately I can't find the data source connection I would usually find on combo boxes used inside the form and not in a menu strip.Can someone please tell me how I can populate a combo box or a drop down list that is located in a menu strip?

View 4 Replies


ADVERTISEMENT

Access A MDI Parent's Menustrip Without Merging The Childform Into It ?

Nov 11, 2009

I'm trying to accomplish something and not sure it can be done or rather if I'm approaching it correctly. Is there a way to access a MDI Parent's menustrip without merging the childform into it? I've done the merge before and that works fine. Reason I'm trying to figure this out is that I've started toying with a windows ribbon control and am wondering how the menu functions are performed with this control. In other words you wouldn't create one on each child form and have some how merge them so there must be a way to do this from the parent control.

Things I've tried thus far are to create a public sub in the childform that will save the data to a database. Once the save button is clicked in the mdi parent's menustrip and determines the activechild it will then call that sub procedure on the childform. However it doesn't persist the data, in other words passes a whole lot of nothing to the database even though the values don't dissappear on the child form.

View 9 Replies

Menu Without Menustrip Or Menustrip Not Right Across Screen?

Mar 9, 2012

I want a menu with just two dropdown lists, the menustrip puts a strip right across the form, is there any way to change the width of the strip? Changing in properties does not work. Is there a different type of menu I can use?

View 12 Replies

VS 2008 Get Pictures In A Menustrip?

May 6, 2009

Is it pausible to get pictures in a menustrip? If yes, how?

View 4 Replies

VS 2008 Other Menustrip Icons?

Apr 25, 2009

How can i access the other icons for the menustrip control?When you add a menustrip, icons as new, open and save is allready included, but i want the other ones, like undo and such.

View 7 Replies

VS 2008 : Adding A Button To Menustrip?

Mar 28, 2010

I am working on a MDI form application. I have got a menustrip control and some toolstrips. I want to add a button to the menustrip, to close active document. In the Word 2003 or Excel 2003 there is a similar �close button� at the very right side of the menustrip. Menustrip only allows me to add menu item, textbox and combo box. I can�t add a button?

View 4 Replies

VS 2008 Difference Between Menustrip And Menubar?

Sep 22, 2009

I am used to working with menubars in v2003 and before and could merge menu items with no problem. I used the code below in combination with merge order settings in the menu bar and it worked great. Now using Menustrips, I find my code does not want to convert since there are Items in the menustrip and menuitems in the menu bars.

'Determine if a Menu exists.
Public Function DoMenuExist(ByVal mnuItem As String) As Boolean
Dim itm As MainMenu

[code]....

I need to merge a child menustrip into the parent menustrip when the user opens a module from clicking an item in the parent menustrip item.

View 10 Replies

VS 2008 Sub Items In A Dynamic Menustrip?

Apr 15, 2011

i have managed to add menu strip items and add a Click Handler to it fine But now i am going to remove the click handler, and want to add sub items in the menu instead the current code i have so far..

[Code]...

View 2 Replies

VB 2008 - Check Only One MenuStrip Item At A Time?

May 10, 2011

I have a Menustrip in Visual Basic 2008. My question is how do I check only one menu item at a time? Lets assumed I have a MenuScript that is titled Fruits. When you click on Fruits, you get a drop down of four fruits. Apples, Orange, Bananas and Mango.

[Code]...

View 1 Replies

VS 2008 - Cannot Delete MenuStrip Items In Dropdown Box

Nov 11, 2009

I somehow lost a MenuStrip & StatusStrip from my form. Now I have all these MenuStrip items in the dropdown box of my properties window & I can't seem to delete them.

View 3 Replies

VS 2008 Adding ToolStripMenuItem Array To MenuStrip?

Apr 28, 2010

I have this

Dim oLanguages As SortedList = Languages() 'Languages() is my custom Function
Dim oLanguageMenu(oLanguages.Count) As ToolStripMenuItem
For n As Integer = 0 To oLanguages.Count - 1

[Code]....

The last line produces an error: "value cannot be null. Parameter name: value".

View 3 Replies

VS 2008 Dynamically Remove Item From Menustrip?

Feb 24, 2011

When I open a form the caption is added to my menustrip under open windows. This is fine. However I want to remove this from the menustrip when i close the form.

View 1 Replies

VS 2008 Way To Specify Index Of A ToolSTripMenuItem In MenuStrip When Adding It

Sep 1, 2010

Is there a way to specify the index of a ToolSTripMenuItem in a MenuStrip when adding it so that it does not get added to the end of the list?[code]

View 2 Replies

Add MenuStrip Interface?

Oct 18, 2011

How can i add MenuStrip Look Like Below picture ? My MenuStrip is below picture :

View 1 Replies

How To Get Menustrip To Close

Dec 15, 2011

Client 1[INDENT]Project 1[/INDENT][INDENT][INDENT]Project 1 Task 1[/INDENT][/INDENT][INDENT][INDENT]Project 1 Task 2[/INDENT][/INDENT][INDENT]Project 2[/INDENT][INDENT][INDENT]Project 2 Task 1[/INDENT][/INDENT][INDENT][INDENT]Project 2 Task 2[/INDENT][/INDENT]Each entry is clickable, even if it has children. In the above example, I can select the Project 2 menu item.My problem is that when I hover over Project 2, it automatically expands Project 2 Task 1 and Project 2 Task 2. When I click on Project 2 Task 1, the menu "closes up" and all entries disappear which is what I want. However, when I click Project 2, the menu does not "close up" and all of the entries are still visible.

View 2 Replies

My MenuStrip Not Closing

Mar 15, 2012

I dont know what the go is but i have check all the properties and everything but nothing changes.I have a combo box and when i change the selected value i want the menustrip to focus on the form but instead the menustrip stays up.

View 2 Replies

Trackbar In MenuStrip

Jun 12, 2011

I'm not sure if I already saw a trackbar inside a menu strip, but there is a way to add it? Or even a numeric dropdown?

View 2 Replies

Implement MenuStrip Functions?

Sep 7, 2011

I have a MenuStrip control and when I right clicked on it and selected "insert standard items", it created a few functions. There are a few options there that I would like to get working: Cut, Copy, Paste, Delete, and Select All. I presume that for what I want, I'd need to make my own classes for each function. (ie: Cut class, Copy class... etc.)

I would like to be able to do something similar to the example below:

CODE:

Im doing this in Vb.net On Windows 7 .

View 1 Replies

Add Sub / Child Option To MenuStrip?

Jan 25, 2009

Code to add a child/sub option to one of the items in a menustrip (using VB.NET)?[code]...

View 10 Replies

Add Vertical Separator In MenuStrip?

Jun 21, 2010

I am developing a window based application. I want to show my menu to be separated by a vertical separator. Just like this:

View 6 Replies

Creating A Global MenuStrip For App

Sep 4, 2009

Im creating a desktop app with multiple forms. My ideal aim is to create 1 MenuStrip to use throughout the different forms (the same MenuStrip) appears on the different forms. otherwise I'll be copying the MenuStrips from 1 form to another and copying the Event code. What is the best way of doing this? I've created UserControl, put my MenuStrip on it along with me Code, then I load an instance of it whenever a new form loads. This seems to work fine until I want close the Main Form. I've tried ' Me.Hide ' but that just hides the UserControl. So the MenuStrip appears on Form A, when i click a Menu Item I want it to close Form A and open Form B.

View 2 Replies

Creating A Global MenuStrip For App?

Sep 4, 2009

Im creating a desktop app with multiple forms. My ideal aim is to create 1 MenuStrip to use throughout the different forms (the same MenuStrip) appears on the different forms. otherwise I'll be copying the MenuStrips from 1 form to another and copying the Event code

I've created UserControl, put my MenuStrip on it along with me Code, then I load an instance of it whenever a new form loads. This seems to work fine until I want close the Main Form. I've tried ' Me.Hide ' but that just hides the UserControl

So the MenuStrip appears on Form A, when i click a Menu Item I want it to close Form A and open Form B

View 2 Replies

Error In Display Menustrip?

Apr 4, 2012

I have a windows form and in form have a menustrip with toolstripmenuItem.I write codefor toolstripmenuItem and work with it but dont see menustrip and toolstripmenuItem in design stauts and run status now. and have not error.what dont display menustrip?

View 11 Replies

How To Change The Menustrip Style

Nov 16, 2011

how can I change the menustrip style in VB.NET 2010? I want to change it to Windows 7 style but I don't know how to as I'm a beginner. Is there any solution for this? Now my program's menustrip is like the screenshot I attached...

View 8 Replies

How To Reuse MenuStrip In Another Form

Jul 22, 2010

I m new to VB. I have created a form with Menustrip and want to reuse this menustrip in other forms. Could anyone plz tell me how to do it ?

View 8 Replies

MDI Form : Set An Exe Position Below The Menustrip?

Feb 3, 2010

I am using vb.net 2008. I have a MDI form with a menu strip added. From different menu's i calling related Exe's and opening in side the MDI form. In this case setting of MDIparent properties to the child form (Exe) in not possible. In my Exe i am reading my MDI windows handle and using the setparent API function. In this case the exe is opening inside the MDI below the titile bar but it is hiding the menu strip. (In vb6 it is working fine - Means the exe opens below the menu strip). Is their any way opening the exe below the menustrip or toolstrip.

View 1 Replies

MenuStrip - All Submenus Visible At Once?

Dec 15, 2011

I have a menustrip in a VB.Net windows form, my teacher in the university said that if I could make all dropdowns of the menustrip become visible at once,I know I can .ShowDropDown() an entry, but when I call the next, the first one hides.

View 2 Replies

Menustrip Artifacts When Printing In XP?

Apr 25, 2011

I have a simple VB calculator app with a PrintForm procedure shown below which works fine on my Win7 machine but when I deploy the app to an XP Pro machine it produces artifacts from the MenuStrip where the Print command is executed. Any ideas why this would happen or how I can resolve it? I'm new to VB.net and OOP as a whole so if this is a simple problem.

[Code]...

View 5 Replies

MenuStrip Does Not Cause Other Controls To Validate?

Jan 26, 2011

I have a Combobox in DropDown mode. I have the code for handling the selected list item in the Validating event of the Combobox If the user highlights the text in the Combobox and presses the Delete key, the text is deleted The user then clicks the MenuStrip and the dropdown menu appears.

View 2 Replies

MenuStrip Items Display ?

Jul 15, 2009

I'm using VB2008. In the IDE, menustrip text items to show the underbar for ALT key use are preceded by ampersand. The underbar displays on the form [design] tab while in the edit mode but does not show when program run in debug mode from the IDE.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved