Conver List Box Control From VB6 To Program?

Aug 23, 2009

How to convert the following line from vb 6 to vb.net [code]...

and the item in the location 13 does not contain any value I am getting a compile error

View 7 Replies


ADVERTISEMENT

Conver Pdf To Image?

May 10, 2010

find out a way to convert * .pdf file to an image file.

View 5 Replies

VS 2008 Add A Control To List (Of Control) What Gets Added To List?

Jul 26, 2011

when I add a Control to the List(Of Control) what gets added to the List? Is it the Control or reference to the Control.I have a collection of controls (picture boxes representing notes,comments, icons, etc.), which can be drag and drop into other picture boxes holding read only images. Those controls are never permamently added to those images, they can be move or dispose as needed. I need to save those controls to a file and retrieve it later, however when retrieved, they must be place onto the same location in the image. Saving just the image is not the option, I also need to save all the control attributes.

View 2 Replies

VS 2005 List(of T) - Create A List To Hold More Than One Control Type Or Create A List For Each Control Type?

Jan 20, 2011

If I create a list for a TextBox:

[Code]....

I am able to only add controls that are of type TextBox. My question to you is, can I create a List to hold more than one control type or do I have to create a list for each control type?

View 8 Replies

Create Browsable User Control With List Of All Available All Control In MDI?

Jun 11, 2012

I'm developing a program with a team in Visual Basic 2010.

What i wanna do is to create a textbox (inherits from textbox) with additional one property called MDIStatusInformation which is used to display a tooltip text in a status bar at main MDI form.

When i use this tag <Browsable(True)> _, the control property not list anything there.

View 3 Replies

Program That Will Compare Array Of Grocery List Items Glist And Array Of Coupon Item List

May 27, 2012

I have a program that will compare an array of grocery list items glist and an array of coupon item clist.When I compare the two and if there is a match somewhere in the array I want to have a picturebox visible.When there is no match, I want the picture box not to be visible. [code] The code seems to work great until I come to the else statement.When the code finds a match it displays the picture box and the msgbox without error, but as soon as the message box is cleared, even though i've input it as an ELSE statement, the picturebox goes false again.Does anyone have any idea of how I can "hold" the picturebox to stay visible while the match between the arrays exists?

View 18 Replies

Process Of Designing A Computer Control Program To Control A HF Communications Receiver?

Jul 11, 2008

I am in the process of designing a computer control program to control a HF communications receiver (radio), and have found a problem with the Serial port. I am using VB Express Edition 2008. This module of the program is supposed to take an input string from another part of the program, format it, break it into 4 bytes, and send it to the radio in hex form via COM port 1. The problem comes in when you try to enter a frequency with an 8 or a 9 in it. The 8 or 9 is usually replaced by 45, ex.-input 9900, receiver tune 4545. The exact same thing happens with 8's, input 8800 and receiver tune 4545. All other numbers other than 8 or 9 work fine. The strange part of it is that sometimes the 8's and 9's work, and work correctly. For instance, 900, 1900, 2900, 3900, 4900, 5900, 6900, and 7900 all work correctly. This led me to believe that is may only be when the 8 or 9 is in the first position, but that is not the case, it also shows up in other positions as well. All other frequencies that do not have 8 or 9 in them also work. I ran into this same problem with VB Express 2005, and worked on it for weeks before giving up and going back to VB6.0. This same module (with exception of the port open command) runs flawlessly under VB6. I have even tried importing the MSCOMM control from VB6, but it gives the same results. In de-bugging mode, all of the inputs, decimal and hex seem to be correct, so the problem must come in after you click the command button, but before it leaves the COM port.

[Code]...

View 19 Replies

Possible To Copy An Edit Control (win32) From External Program To Use On Own Program?

Jan 9, 2010

I need to manipulate an external edit control from with in my program. (IE: Get new text whenver it's being enter into edit control and parse the infomation in my program).So, is it possible to create an edit control in my program that base on the handle of an existing application using win32 api or something

View 4 Replies

Get A List Of Events Of A Control?

Jun 18, 2009

If I would like to fill a listbox with the Events of the current Control on a form, how do I then do that I work with Visual Basic in VS Studio.

View 3 Replies

.net - What WinForm Control To Bind List (Of T)

Jul 1, 2009

I have been working on keeping things object oriented for my project. Currently, I'm using a .DLL which supplies all of the app's classes to the WinForms project acting as the presentation layer.My .DLL will, for example, return a SortableBindingList(Of T) to code in a form. The SortableBindingList(Of T) comes from here. Let's assume a SortableBindingList(Of Product). Assuming that the .DLL's function Services.Products.GetList() returns a SortableBindingList(Of Product), I can easily do this:

DataGridView1.DataSource = Services.Products.GetList()

Now, the DataGridView is properly populated with my list of Products. Fine. However, there is no .SelectedItem property which gives me back my object which was selected in the DataGridView:

' Doesn't exist!
Dim p As Product = DataGridView1.SelectedItem
' Need to make another DB call by getting the Product ID
' from the proper Cell of the DataGridView ... yuck!

However, a ComboBox or a ListBox does in fact store and return my Product objects intact:

' Valid!
ComboBox1.DataSource = Services.Products.GetList()
Dim p as Product = ComboBox1.SelectedItem

Another however ... the ComboBox and ListBox do not show all of the fields of the Product object, only the value of the DisplayMember property.Is there a nice control in VB.NET 2008 that I am just missing, which gives me the object oriented functionality that I want which will actually display an entire object's fields and also return that object back when selected by the user?

View 1 Replies

Add A Web Browser Or A List Box Control To A Tool Bar

May 19, 2010

How can i add a web browser or a list box control to a tool bar ---- Mohamed Elghamry URL] 1-Images 2-Developers Videos 3-Visual Studio tutorial "Coming soon"

View 4 Replies

Databinding List To Asp.net Dropdown Control?

May 17, 2012

I have a dropdown list control which when a particular item is selected, another dropdown's list is populated based on that selection. The code behind is below.

Imports System.IO
Partial Class Data
Inherits System.Web.UI.Page

[code].....

View 1 Replies

Getting Data Out Of FormView List Control?

Jun 15, 2010

I have an ASP pg with a formview list control on it that hooks up to a sql database customer table. I want to access the customer name outside the form.

How do I:
A) access the bound text box in the form view template? Something like Text1.text=formview1.customername.text (that doesn't work but that's the kinda thing)
B) access the database field in the table that the sqlsource connects to to feed the formview

View 1 Replies

Gui - Create List Of Control Groups?

Jun 29, 2010

I'm building an control interface for a system that consists of 1-4 modules. In my interface, each module has its own control set, grouped in a groupbox. I only want to show the control groups for the modules that are actually connected and hide the rest.

This is easy to do with the visble property.

I also want all of the groups to be stacked vertically in the UI such that when one is hidden, the rest below it shift up into its place as if you deleted a row in a table. It needs to be able to come back just as easily.

View 1 Replies

IDE :: Looking For Control To Create Inventory List?

Aug 26, 2011

point me in the right direction on an Object or Contol that would Create a list of items in an inventory type form

View 5 Replies

List - Properties Window For A Control ?

Jun 16, 2010

Using Visual Basic 2008 when (in the past) I looked at the properties window for a control, the very bottom of the list of properties has a brief explanation of the specific property selected.

This has disappeared and I can not find any way to get it back. I tried the Tools/Options menu with no success.

View 2 Replies

Populate An Html List Control Using NET?

May 29, 2009

I have a list defined like so[code]...

using .NET how can I add items to the list dynamically? I also need to specify the class name on each new item

View 4 Replies

Print A List Of Control Name Properties

Oct 11, 2011

I'm working with a form that has a lot of controls on it. Is there a way to print a list of the name properties of all the controls on a form visual studio? I need to change some control properties at run time and it would be easier to code if I had list of the names to look at.

View 3 Replies

Access Control List For Removable Drives?

Feb 15, 2010

I configured access control list for the local drives using System.Security.AccessControl

I need to configure it for removable drive .

View 3 Replies

Communications :: Cannot Find MComm Control In List

May 16, 2010

I am using VB10 Pro. I am trying to add an MSComm to a project. I have tried to follow this example: [URL] which utilizes VB6 but cannot. Instead I right clicked the mailbox, selected Choose Items, but could not find Microsoft Comm Control 6.0 in any of the tabs. After doing a search I found another example.
From that one you go Project | Add Reference | COM.
But again Microsoft Comm Control 6.0 does not show up in the list. Where is MSCOMM? Doing some further research, I do not have mscomm32.ocx in my C:WindowsSystem directory.

View 2 Replies

Custom Control - Specifying Items To Be Added To List

Sep 30, 2009

I've created a custom control that I insert into my window with the following code
Code:
<controls:ListExpander Text="Class Diagrams"></controls:ListExpander>
The control in question contains several subcontrols, among others, a list. How can create the setup, so I can specify items that should be added to the list?

Code:
<controls:ListExpander Text="Class Diagrams">
<SomeItem>data<SomeItem>
<SomeItem>data<SomeItem>
<SomeItem>data<SomeItem>
<SomeItem>data<SomeItem>
</controls:ListExpander>

In which case the SomeItem objects should be added to the list in the ListExpander:
Code:
<ListBox Name="lstItems" Background="LightGray">
<ListBox.Items>
// Items should go here
</ListBox.Items>
</ListBox>
I'm quite new to WPF, but I suppose it's something along the lines of creating a dependency collection on ListExpander that takes object of the type SomeItem? I simply want to be able to give the control a few arguments which it can translate into items in the listbox contained within the the control.

View 4 Replies

Drag And Drop - Control To List Sub Categories

Oct 23, 2009

I want to have a control listing all subcategories from a database table. What control should I use. then I want to have a treeview with Categories, and be able to drag and drop sub categories onto the Categories. VS 2008

View 5 Replies

Fill Combobox With List Of Control Names

Jun 17, 2010

I have a WinForms applciation, I wrote a function that returns a list of all the controls on the form. The function returns a list of control objects.My target is to fill up a combo box with a list of the control names so that once clicked I set focus to it.So what is the correct code for converting a List(Of Control) to an array of string.

View 2 Replies

Fill Combobox With List Of Control Names?

Jun 17, 2010

Fill Combobox with List of Control names

View 5 Replies

Highlighting A User Control In A List View?

May 12, 2010

I have a User Control that is an image with a label underneath it, that sources the image file from a folder that contains nothing but images. The label changes to to the name of the image displayed in the control.I have a datagridview that populates itself based off of a table in an access database (The Table is named after a person and contains the names of images that they have created.) so when the user selects the name of the person from a listbox, the datagrid populates itself based off theor selection

View 1 Replies

Retuning An Index Value From A List View Control?

Oct 9, 2009

I have a list view control that users can add items to but I need to be able to tell what item they have selected.

View 2 Replies

WbBrowser Control Web Automation Set DropDown List

Sep 10, 2009

I need to use the WebBrowser control to set an item in a dropdown list. Given the HTML snippet below how to I pick a specifcate option to be submited using HtmlElement techniques? (VB, VS2005) I'm able to send texboxes, just can't figure out how to deal with dropdowns.

<SELECT NAME="certCompanyList">
<OPTION VALUE="105336">
105336</OPTION>

[Code].....

View 3 Replies

[2005] Populate A TreeView Control With A List Of All Of The OU's

Jan 23, 2009

I am trying to populate a TreeView control with a list of all of the OU's that have Computer members in them. I want to populate a treeview list including the OU and the Computer members underneath of those OU's. I tried searching and so far I have found nothing. Here is the code I have so far....

[Code]...

View 28 Replies

Add A Number List In Program?

Sep 29, 2010

Private Sub cmdReport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdReport.Click[code]...

View 2 Replies

Add Program To Add / Uninstall List?

Dec 14, 2010

How can i add a program to the add/uninstall program list? using vb.net

View 2 Replies







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