Group:  VB.NET ยป microsoft.public.dotnet.languages.vb.controls

Threads Replies Last Post
35 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  >>  
Binding and formattingEnabled.....?
Hi, I have a combobox derrived class which has a SelectedLookupItem property. This returns a LookupItem object. LookupItem is a MustInherit class. I have a class that has a property whose return type is ChildLookupItem (a class derrived from LookupItem). When I set up binding to link the combo to this property, I get a FormatException "Cannot format the value to the desired type". I gat...
1 12/30/2008 11:29:01 AM
Extend ToolStripMenuItem
I am trying to add some custom properties to a MenuItem. I created the following class to do this. It inherits from a ToolStripMenuItem and I have put in the ToolStripDesignerAvailablity attribute as well and the thing does not show up in the Designer at all. I can create the custom toolstrip item from code with no problem. I am using Visual Studio 2005 VB.NET. The weird thing about this...
3 12/29/2008 11:34:03 PM
tablelayoutpanel into usercontrol
Dear Experts : When I put the tablelayoutpanel into usercontrol and allow other developer adjust row / column size into design time (so that they use mouse to adjust inner controls layout). How to do it ? another question , if usercontrol inside contain 4 other control (like textbox, label ..etc) how to explore one of control (like textbox) property explorer into design time. Can an...
1 12/27/2008 3:20:59 PM
TreeView (Auto)Scroll
Hi, I'm currently writing my own UserControl, based on the TreeView control that ships with .NET Framework 3.5. (i.e. Inherits System.Windows.Forms.TreeView). Everything works fine, especially the Drag & Drop operation. Just one question regarding the AutoScroll function. It appears to me that this control has already a built in AutoScroll-function ... but it only scrolls down and n...
1 12/23/2008 7:04:01 AM
removing tab pagers...
I have a tab control on a vb.net 2005 form that has 11 tab pages... On the form load event I want to delete them all and then depending on a menu item selected, I "add" the appropriate ones back in one at a time... My code to remove them all is shown below... It fails on the 6th tabpage saying index is out of range... Yet, there definately is 11 tab pages... Why would it be failing? ...
4 12/19/2008 2:26:56 PM
form question...
I have a main form with a treeview control down the left side containing my menu options. When a user selects an option, I want to display the appropriate fields relating to that option on the form to the right of that menu. Can I somehow insert another form there - and have multiple forms - one for each menu item so that all I have to do is make the form I need to display "visible" whil...
6 12/18/2008 11:10:58 PM
fancy treeview control...
I am just starting to work on a new project and am looking to use the treeview control for part of it... However, I would like to use a much more "fancier" version of the control if I can... One that has some nice colouring, fonts and just has a nicer look and feel than the standard treeview that ships with .net. I would be using this control for more of a side bar menuing system where...
1 12/17/2008 4:39:16 PM
Second Modal Form
I would like to have the following structure in my app. Form1 -> Shows Form2 modally Form2 -> Optionally show Form3 modally In Form2 I use a custom function to ShowDialog and return an object once it closes similar to below Public Function CustomShowDialog() As Object Me.ShowDialog() 'Custom code here . . . Return obj End Fu...
2 12/17/2008 11:07:13 AM
How to transfer Focus from one TextBox to another when user clicks on a Button?
Can somebody give me a hint, how to transfer Focus from one TextBox to another when user clicks on a Button? Thank you Lev ...
2 12/12/2008 2:59:36 PM
Create Dynamic Event Handler
Hi, Apologies for the cross-post... I only noticed this sub-group to the "vb language" after I'd submitted the original post. Could anybody point me in the direction of how to dynamically allocate an event handler for the custom event of a user control (I'm currently using VB.NET under .NET 2.0 on Visual Studio 2008 developing a web application)? I'm starting to tear my little remaining...
2 12/9/2008 6:21:51 PM
Datagridviewin a panel
Hi all I am a new user and am in the process of programming a training simulator my problem is this: I have a scrollable panel with a datagridview in it. one of the cells is a combo cell but now every time I try access the combobox, the datagrid jumps back to the first cell I then have to reselect the combobox before it will open. My question is how can i stop this happening Could I p...
1 12/6/2008 4:41:01 AM
Richtextbox
I have one richbox,which has some text. I want to insert text inbetween. How can i do that? Regards, Mansi Shah. *** Sent via Developersdex http://www.developersdex.com ***...
2 11/20/2008 11:53:02 AM
Using WMP Control to pull Lyrics, Captions and Subtitles
Help, I am trying to pull info from an mms audio stream using the media player control. I can see the info when I call the MMS stream in Windows Media Player and select show Lyrics, Captions and Subtitles in the menu, so I know that it is being sent, but when I cannot figure out how to pull that info from the stream via media player control. ...
1 11/16/2008 1:04:23 PM
Form Designer
Is there a runtime form designer that comes with vs2005 or vs2008. I need a control to allow users to add and position controls on a form. -Lou ...
1 11/15/2008 6:09:27 PM
Help with drag drop from listview to treeview control
I have some code that I use to drag and drop from treeview to treeview, now I want to adapt the code to drag and drop from listview to treeview. I am having problems adapting the code nor can I find a good article on the web on how to do this. I have attached below my source code that I have not touched. Can anybody point out where I would need to make changes or an good article on the n...
1 11/12/2008 2:31:02 PM
Using Media Control
Hi all, I was wondering if it is possible to use the media control to record an internet audio stream. If not any suggestion will do. Thanks for the help. ...
1 11/11/2008 10:14:12 PM
Arraylist bound to Datagridview
I have a strange problem, and hope that somebody cane help me to find the solution. I bound a Arraylist with objects to a Datagridview (via the Datasource). The class of the objects have 3 public properties by which the datagrid have 3 columns, but the problem is that de columns in the datagrid are not in the same sequence as the properties in the class definition. For instance is t...
1 11/9/2008 8:59:51 AM
How to enable cursor n default textbox and make it accept Enter
Hi! I have a winform with textbox and Accept button. Application is to be used for scanning barcodes. Now, when I click on "Enter" keyboard button nothing happens, and form waits until I click on Accept button. I need to do 2 things: 1) Enable Enter keyboard action (same as when user clicks Accept button). 2) When form loads, I want the cursor be positioned automatically in the text...
2 11/6/2008 8:59:46 PM
label
I am finding the standard label in visual basic.net 2005 is limited. I want to put color to the border but do not see how....
2 10/31/2008 10:54:31 PM
auto scroll to last added item in a listview...
I have a listview control that when a new item is added, I'd like to auto scroll that item to the top of the listview with the appropriate items located above and below it... Any time an item is added to the listview, the listview is refreshed - meaning that the item can be located anywhere in the listview due to the sort order... So for example, if I had the following items 1 2 ...
2 10/30/2008 9:06:41 PM
sellPophandbag
Sunshine trading company supply top quality and newest style of anya hindmarch, I am not a plastic bag .Fendi, Gucci, chanel bag, coach, Hermes, Marc Jacobs, Chloe, Balenciaga, Mulberry, Louis Vuitton, YSL, Jimmy Choo, loewe, miumiu, prada, VALENTINO bags bottega veneta.... etc kinds of bags. No Mini order, sample are available with wholesale price. we can ship you to any place. free shipping fee...
1 10/27/2008 4:14:28 AM
tabcontrol bug?
hi everyone: i have been loosing data in my database recently. i have a customer form with about 6 tabs on it. by default, the first tab shows (obviously). im not sure what changed, but i discovered that when i call my save routine, that stuff on the other tabs never gets updated correctly...as a matter of fact, it saves blank info from those other tabs, as if there were nothing in ...
2 10/24/2008 10:59:33 PM
Command Buttton looks same old model in VS 2008
Hi, I bought Visual Studio 2008 recently and when I drag a command button from Tool Box onto my Web Form, it look like a same old model like Visual Basic 6 type with square / rectagle, not with classic look with cutting edges. I am using IE 7 and I updated with VS 2008 Service pack also. What could be the reason? Is any one had type of problem faced earlier? Thanks for your reply...
1 10/24/2008 1:16:01 PM
smart tags not loading
Hello I've installed Visual studio 2008 team system. when i tryed to add datagridview or add a reportviewer, The smart tags (http://msdn.microsoft.com/en-us/library/ms252072(VS.80).aspx) are not loading. i have tryed to repair or reinstall the windows. the situation stills same. please help me. -- msanjay - msanjay1@yahoo.com / msanjay1@hotmail.com...
1 10/18/2008 8:33:01 PM
Restore Scrollbar Location on Tab
I have an application on which I have a tab control with two tabs. When a user double-clicks on an item in tab1 of my tabs collection, tab2 becomes the visible tab. (tabImageTabs.SelectedIndex = 1) When they double-click on the content in tab2, they are taken back to tab1. (tabImageTabs.SelectedIndex = 0) When tab1 is restored, I have lost the position of the scrollbar and the user mu...
1 10/17/2008 12:31:22 AM
35 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  >>  

Home | Search | Terms | Imprint
Newsgroups Reader