| com+, what more are needed? (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello I'm trying to build a simple COM app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using System.EnterpriseServices; namespace COMTest { /// summary /// Summary description for Class1. /// /summary public class Class1 { public Class1() {} public string WriteShit() { return "shite"; } } } |
|
| Combo Box (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Hi Could you tell me how to catch the event when dropdown list of combo is closed? I can't use Selection event because I don't select any item from dropdown list. Thanks & Regards Hung |
|
| Combo box question (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I want to create a combo box that shows one value such as NEWCASTLE, but when you select the item the combo selected item would be another value such as NEW. I know that you could do this very easily in MS Access but can't find anyway in VB. Does anyone know how? Many thanks Richard |
|
| combobox bug? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| dotnet framework v1.0.3705 in vs 2002 code below whats happening when I select something else than first element in my combobox and then I do a combobox1.selectindex 1 the first element is selected so instead of being 1 it is 0 (checked with debugger) if the first element is checked and I do combobox1.selectindex 1, then nothing is selected (normal) the thing is that I have to call ComboBox1.Selec... |
|
| ComboBox cursor focus (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| All Using a combobox control in C#, dropdown style is "DropDown" (so it is editable). My text is wider than the width of the control, and I have set the drop down width to accomodate this. Currently when an item is selected the entire text is highlighted (selected), and the cursor sits at the end of the text. This means that the text in focus is at the end of the line, instead of the beginning. Ho... |
|
| ComboBox data binding woes (VIP replies) |
| microsoft.public.dotnet.languages.vb.controls |
| Hi everyone, As usual, weekend is tinkering time for students and I'm playing with combobox databinding for the first time. Previously I have always iterated through the records and added each item in the rows manually. Just thought it would be nice to do it properly for a change. Here's the bit of code I experiment with: Private Sub Create Load(ByVal sender As System.Object, ByVal e As System.Eve... |
|
| ComboBox data binding woes (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi everyone, As usual, weekend is tinkering time for students and I'm playing with combobox databinding for the first time. Previously I have always iterated through the records and added each item in the rows manually. Just thought it would be nice to do it properly for a change. Here's the bit of code I experiment with: Private Sub Create Load(ByVal sender As System.Object, ByVal e As System.Eve... |
|
| Combobox displaymember and valuemember and user input (VIP replies) |
| microsoft.public.dotnet.languages.vb.controls |
| Combobox have displaymember and valuemember. I try to run the MSDN example: Imports System.Windows.Forms Imports System.Drawing Imports System.Collections Public Class USState Private myShortName As String Private myLongName As String Public Sub New(ByVal strlongName As String, ByVal strShortName As String) MyBase.New() Me.myShortName strShortName Me.myLongName strlongName End Sub .... Private Sub... |
|
| comboBox quiz (VIP replies) |
| microsoft.public.vsnet.general |
| I need to display text in a text control (or the statusbar) when "browsing" the items of a cb control s dropdown list. Havent found any events that cover this. Any ideas? |
|
| Combobox selection change and displaying a dialog box. (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| I have an option in my combobox list that is supposed to bring up a dialog box, (similar to Explorer Search when you drop down the "Look In" combobox and selected "Browse..."). I get the same behavior handling either the SelectedIndexChanged or SelectionChangeCommitted events, the dialog box comes up just fine but as soon as I hit cancel or OK out of the dialog, it closes and I end up with an Inte... |
|
| ComboBox Selection in Datagrid (VIP replies) |
| microsoft.public.dotnet.languages.vb.controls |
| Hi All, I am having an issue with a combobox selection in a datagrid. When a user selects a cell from the datagrid, the currentcell changed event is called and the following code is executed: Private Sub DataGrid1 CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.CurrentCellChanged Dim combo As New ComboBox combo.Cursor System.Windows.Forms.Cursors.Arrow com... |
|
| Comboboxes in windows forms datagrid (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| There is an article with an example on this topic. ( article 323167). The example works good if the datagrid column is string type. Here is a portion of code that handles text changed: Private Sub Ctrls TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) If DataGrid1.CurrentCell.ColumnNumber 3 Then MyCombo.Visible False If DataGrid1.Item(DataGrid1.CurrentCell) & "" "" Then SendKeys.Se... |
|
| Combos have no type-ahead capability? (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I'm very new to .net, using 2003 VB winforms. Now...am I understanding that the .net winforms comboboxes lack a type ahead capability? IE, if you type "h" then "i" then "l" and the list contains entries like "Hassledorf" and "Hickman" and "Hillage", those three entries would become the selected entries in turn. I've seen only meager refs to this capability on the VS and .net newsgroups, and no bui... |
|
| Combox height (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Does anyone know how to change the combobox height?. The only way I can do this is by changing the font size. |
|
| combox text not editable (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I cannot seem to change the comboBoxStyle in WIndowsCE projects .net I can add a combox box but the DropDownStyle property can only be set to DropDownList not DropDown which I is what I need. The reason it cannot be set is because there is only one value for comboBoxStyle that can be chosen and compiled, when there should be three. ComboBox1.DropDownStyle System.Windows.Forms.ComboBoxStyle.DropDow... |
|
| ComboxBox with Display & Value pair (Datasource) in C# (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello.. I'm having a strange problem with the comboxbox with DataSource & using DisplayMember,ValueMember properties. The problem is if i supply a item which is not in the DataSource array List i'm explicitly calling SelectedIndex 1 twice(as per Documentation in MS web site) to show empty selection. When i visit the form for the 1st time it selects the 0th index by default ,on subsequent visits it... |
|
| COMException error (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I added a mask COM control to my app and now some computers are getting a "Class not registered" COMException while others are not. I have verified that they all have the DLLs on the same directory. Any idea what could be causing this? Thanks. Here is the detailed error: See the end of this message for details on invoking just in time (JIT) debugging instead of this dialog box. ************** Exce... |
|
| Command button and page_load event (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have a dynamically created command button on a .net page that adds 1 row to a sql server table when clicked. The page load event load rows from that table for the user to view, but for some reason it is not loading the most recently added record when the page is reloaded from the command button click. When the page is initially loaded it does display all records. It is like it is executing the p... |
|
| Command Line aurguments in VB.NET (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I've been looking but apparently the method is avoiding me. I'm trying to get command line parameters in VB.net I tried using the "command" varaible in a small routine but the compiler tells me that Command is "private" Is there any easy way to simply get the command line parameters? What am I missing? Basically I'm trying to create a CEDelete program similar to the CECopy Public Sub Button1 Click... |
|
| COMPACT FRAMEWORK HELP! (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I've made a compact framework program. It will invoke some web service methods. The program can be run perfectly in PocketPC.NET. But it can NOT be run in PC. When it invokes web service methods, error will occur. Can you help me ? Thanks! The error message : See the end of this message for details on invoking just in time (JIT) debugging instead of this dialog box. ************** Exception Text *... |
|
| compact framework tabcontrol problem (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Call me a newbie... hopefully this will be an easy answer for you experienced coders. I have a simple tabcontrol with 3 tab pages. my problem is that I use the "selected Index changed" event, when I select a tab at runtime the panel that I associate with each tab page will not be visible. The only panel that I can get to display is the initial one I created. Each additional one will not be visible... |
|
| Comparing datareader result to a string (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I'm a newbie to VB.NET and ASP.NET (as you'll see by my code). However, I'm not able to get a simple process to work. I'm trying to retrieve a record and then check to see if the 'accountstat' column of the DB is set to 'inactive'. I can't, however, get it to compare correctly. Here's the code: Sub Sign In(s As Object, e As EventArgs) If IsValid Then Dim conPubs As SqlConnection Dim cmdSelectRecor... |
|
| comparing datatypes (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I want to loop through the web controls on a web form and depending on whether it is a textbox, checkbox etc perform an action. I first tried a case statement: Dim Cols As String() {"vorName", "nachName", "sacked", "employeeID"} Dim I As Integer For I 0 To 1 Select case E.Item.FindControl("edit " & Cols(I)).getType() Case System.Web.UI.WebControls.TextBox ' perform action I found out that case... |
|
| Compilation fail error (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi folks! Look at the code: using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace LstView { /// summary /// Summary description for Form1. /// /summary public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.ListView listView1; private System.Windows.Forms.ColumnHeader ch1; private S... |
|
| Component Object Model (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I need help... somebody please explain to me what is this COM and how and where to create a COM class... Posted Via Usenet.com Premium Usenet Newsgroup Services ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** http://www.usenet.com |
|