Hello
I am creating a new software with visual studio 2010 using the program language visual basic .NET, well in that software I create a new file in excel 2007, my question is because I do not know how I can create a combobox with data of my database inside, I will be appreciate your help a lot, thank for your time.
To create the combobox I use the next code in a button of my windows form, It actually is an adaptation of the code...
Search Result
Collapse
55 results in 0.0050 seconds.
Keywords
Members
Tags
-
How to create a combobox with my DB in Excel?
-
Add data to combox Excel
Hello
I am creating an application with Visual Studio 2010, in my application I need to make a report in Excel and in that report I want to add a combobox with some data, I add the combobox to my excel sheet with the next code:
Code:Dim xlApp As Excel.Application Dim xlBook As Excel.Workbook Dim xlSheet As Excel.Worksheet Dim xllistbox As Excel.OLEObject xlApp = New Excel.Application
-
Corwin Moyne started a topic Can I have a form that will allow me which of 2 tables my inputs are for?Access 2010in AccessCan I have a form that will allow me which of 2 tables my inputs are for?Access 2010
OK. I have 2 tables with identical fields. One is called 'External Dies' and the other is 'Internal Dies'. Although the fields in the tables are identical, they have different relationships to another form, 'Product Codes'. The Internal has a one to one relationship to its 'Product Code', where as the External has a one to many relationship as it can be used with many Product Codes. Because of this, I assume I need a separate table for each. I would... -
Searching results in Combobox in subform with 'Like'
Hi,
I have a form with a subform. On the subform a combobox is shown. It contains over 500 items. I want to offer the users to find results containing the entered letters. (Eg. when entering "for", the results "effort", "ford" and "therefore" should be shown).
So in the properties of the combobox I use this as the rowsource:
Code:SELECT tblOnderwerp.*, tblOnderwerp.Onderwerp
-
Hiding a control in focus on click of another control in ms access 2007?
I have a combobox and also a label on the same form.On click of the label, the combobox is to be made invisible.the problem is if the combobox is in focus and the label is clicked, it throws error saying that You can't hide a control which is in focus.I tried setting focus on the label itself when it is clicked but it didn't work.I also tried putting this code I found in one of the discussion forumCode:Sendkeys"{TAB}" DoEvents
-
Vb.net combobox formatstring property doesn't work
I have a form created in VB.net. It is used to get some information form a user. The form is not bound to any data source.
A combobox on this form is used to enter a cost. I want the value entered by the user to be displayed using currency format. I have used the Format String Dialog that opens from the ellipses button on the FormatString property of the combobox and selected Currency. This put C2 into the FormatString property.... -
placing text insertion point at the end of combobox contents
Hi all. This is a bit of an aesthetic problem.
I have a form containing two subforms and two comboboxes. When the forms first load, the first combobox receives focus. I'd like the text input cursor to be placed at the end of the text whenever the bombobox receives focus. Trolling Bytes.com tells me that the following code works for most people, so I put it in the cboEmpID_AfterU pdate event procedure.
Me.cboEmpID.Sel Start = Len(Nz(Me.cboEm pID,... -
webDB combobox shows duplicated values - Query works fine
Good evening.
i have a table that stores dates, names (of the students) and courses (that the particular student missed, because of apscence)
i created a query, so i can recall a specific dates' aapscence. i choose the available dates form a combobox, but the only thing i dont want is the duplicate values in that combobox.
for example if, on 12/23 there where 3 students not present, the combobox will show three times 12/23....Last edited by Niheel; Dec 30 '11, 05:19 PM. -
Ajax ComboBox Button not working
Hi, I have a ajax combobox on my asp.net webpage which doesnt appear to be working correctly. The dropdown button seems to be disabled. Doesnt matter where i click it doesnt work.
Here is the ASP:
Code:<ajaxToolkit:ComboBox ID="cmbPortfolio" runat="server" DropDownStyle="dropdownlist" AutoCompleteMode="SuggestAppend" RenderMode="Block" BackColor="#f9e4c5">
-
Send Message To Specific Client By Selecting Number In ComboBox
I want to send a private message to particular client by selecting number in comboBox. but had tried to code it but message still receive at every clients that connected to server. i want to send the message using the worker socket object stored in ArrayList, but don't know how to get it correct.
Any help will be appreciated, thanks.
Code:void indmsgbtn_Click(object sender, EventArgs e) { try
-
how to add item in ajax ComboBox control
i am using visual studio 2008 and i got ajax toolkit integrated ....
i used combobox and i tried to add items in it statically but its not showing tht item in runtime(as i want to show that itme like dropdownlist)
its not showing error and at runtime comboBox is visible but its item are not visible
here is the way i add
property->item->listitme-add
... -
WebBrowser Class stealing focus from Drop Down List
The WebBrowser Class is stealing focus from a drop down style combobox when the user has clicked the drop down list. I put logic in the WebBrowser.Docu mentCompleted() event to SetFocus back to the original control. However, this doesn't prevent the drop down list being closed while the user is trying to select an item from it. -
Show/ hide dynamic combobox
I have two comboboxes which are generated by queries from mysql.
When user choose value in first combobox i need to display second combobox, but if nothing is choosen second combox should not be displayed.
The code:
Code:<?php echo "<form method= \"post\" name=\"formcombo\" action=''>"; echo "<select name='cat' onchange=\"reload(this.form)\"><option
-
Binding a ComboBox to a custom collection
It's pretty simple to programmaticall y add items to a combobox at runtime. Just declare the object, then call ComboBox.Items. Add(...) for each item you wish to add. The one downside to this method is that you cannot specify values for the display member - the text shown in the ComboBox item - and the value member - the value returned when you query the combobox's SelectedValue property.
The simple way round this is to bind the combobox... -
Knut Ole started a topic How to organize my Record Sources & Control Sources in subform data entriesin AccessHow to organize my Record Sources & Control Sources in subform data entries
Hi,
I have a mainform for a new camping reservation, with a subform for entering a new contact upon making a new reservation. I also have a subform for editing a contact on-the-run when making a new reservation.
I've become a bit confused, however, as to whether I'm organizing it correctly, and I plain wonder how to update the respective fields after entry.
I have the following (relevant) tables:
BOOKINGS...