-
- Dropdown List
by U_T_A
- 14 Replies
- Last post
by SuryaManoj
- Is there a way to make a Dropdown List typing enabled in a web application. Thank you in advance
-
- How do I Print a ListBox
by GrahamY
- 4 Replies
- Last post
by GrahamY
- I have a query that populates a list box, and I want a quick and easy way to print that list box.
Later I shall have to figure out how to use the Crystal Reports tool and produce a proper report, but for now a simple solution is all that is required.
Thanks
-
- RichTextBox.SelectionColor Property
by Pavel Nechai
- 4 Replies
- Last post
by Pavel Nechai
- If text is selected within the control, the selected text and any text entered after the text selection will have the value of this property applied to it. richTextBox1.AppendText("Hello"); richTextBox1.Select(0,5); richTextBox1.SelectionColor = Color.FromKnownColor(KnownColor.Red); richTextBox1.AppendText("Hello"); Problem: two words "HelloHello" are displayed in red
-
- eventhandler question
by v3ks
- 6 Replies
- Last post
by v3ks
- Hi everyone, I am relatively new to OO programming, and in particular to event handling. I understand the concept, but I would like to know if I can write my own class that has its own handler which (for simplicity) every X msec the handler fires and writes a simple line to a text file I've done some reading and I noticed that I have a few options with the timers. I would like to use the StopWatc
-
- TaskPane Problem!!!
by Lug Vélez Schmitz
- 3 Replies
- Last post
by Tim Rachel
- Hi everyone... I've downloaded a sample of TaskPane from de MSDN Controls Download section, the sample works perfectly, I've added the TaskPane library to my C# 2k5 project and !! sorprise!! in desing time an error message has appeared.. the error says "Code generation for property 'CaptionBlend' failed. Error was: ''BlendFillTypeConverter' is unable to convert 'Microsoft.Samples.Windows.Form
-
- draw line between two labels
by soniya1082
- 20 Replies
- Last post
by soniya1082
- Hello friends
I want to draw a line between two labels by mouse.when labels moves line should remain attach with it. i tried this but could not get it. please help me.... i wrote code in mouse move up n down event .
regards
soniya .
-
- Connection Strings in Machine.Config and Table Adapter?
by Martin Smith
- 5 Replies
- Last post
by moh hassan
- Note this question was originally asked by some one else on the ADO forum (not me). However I want to know how to do this as well and he saved me typing the problem! Any ideas
I have added a DataSet to my project and then dragged one of the Data Connections from the Server Explorer and dropped it on the DataSet Designer. This gives me a schema to work with.
My problem is tha
-
- Reg assembly
by Salvatore Di Fazio
- 2 Replies
- Last post
by Salvatore Di Fazio
- Hi, anybody knows how can I register some my assemblies during the installation Tnx
-
- How to print my DataGridView
by spree
- 14 Replies
- Last post
by ke1
- Hey all :)
How do I print my DataGridView
-
- problem with calling datagridview from other form
by Vasquez21
- 5 Replies
- Last post
by boban.s
- Hello. I have problem with calling datagridview from other form. In my Form1 I have create instance of this Form1:
Code Snippet
public static readonly Form1 instance = new Form1(); public static Form1 Instance { get { return instance; } } And also I have a method like this:
Code Snippet
public void Odswiez() { MessageBox.Show("here I am"); this.DS_otwor
-
- Windows Installer Error 1001. Could not find a part of the path
by PRISM-AY
- 14 Replies
- Last post
by PRISM
- Hello,
I have a project that contains one C++ DLL and several C# assemblies one of which is a CCW. The CCW has an installer class to register/unregister the respective TLB file.
I also have an installer DLL that registers/unregisters two COM DLLs during the install/uninstall process.
My setup package has the RemovePreviousVersions set to True. Everything works perfectly when I
-
- Combo Box freezing the application
by Tyrael117
- 5 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I am making an application that uses a database in C#. I make the tables, and I have one that has the Name of the product, and the other that is the category of the product. I use a data source and everything works. But when drag the "Product" table from the data sources window and make the Name and Category combo boxes and make them read from the data source and run the application, I c
-
- Window class name is not valid
by ag1206
- 14 Replies
- Last post
by jca_john
- When I create a new WindowsApplication project, add any control to the main form and run the project - I get the following exception on Application.Run(new Form1()); I am using VS 2005 beta2.050215-4400. This haven't happened until now. What went wrong Any help will be appreciated Gabriel The exception data follows: System.ComponentModel.Win32Exception was unhandled Message="Window class
-
- is it normal that linkLabel control reacts extremely slowly
by rtaiss
- 3 Replies
- Last post
by ahmedilyas
- I tried the LinkLabel solution and it is so slow. I followed the msdn example for LinkLabel here:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.linklabel.aspx
i get the target page 30 seconds after I click on msn link in that example. Is that normal To let you know my Internet connection is really fast. Thanks if any advices.
-
- Crystal Report Problem in C#
by acadiau
- 14 Replies
- Last post
by acadiau
- Hi everyone,
I have a question about viewing the crystal report. In the development env, the program should be ok. I tried to deploy into other PC and run the program. It alway ask me for the password and the database is my development database, not production database. How can I make it dynamic mapping for the database name in C# program anyone know how to do it I tried
ReportDocument.setD
-
- Captured event not called in custom control
by Olivier J.
- 2 Replies
- Last post
by Olivier J.
- Hello,
Does anyone know why my validation code is never called in my custom TextBox
public class MyTextBox : TextBox , IValue < string > {
protected override void OnValidated( EventArgs e)
{
base .OnValidated(e);
... // My validation code.
}
...
-- Olivier
-
- Web Services VS 2005 Calling to Populate DropDownList
by Sam Fowler
- 4 Replies
- Last post
by ahmedilyas
- I am working with visual basic, web service, and VS 2005. Im trying to populate a drop down list with a web service. How do I do this
Thanks,
Sam
-
- datagridview master-details error
by IanDigby
- 0 Replies
- Last post
by IanDigby
- I set up two DataGridView controls on a form, in Master-Details configuration, following t he procedure outlined in the VS 2005 help topic: " How to: Create a Master/Detail Form Using Two Windows Forms DataGridView Controls".
The BindingSource of the 'master' grid is hooked to a dataset derived from a standard SQL server 2000 data table. The BindingSource of the 'details' grid has as
-
- Updating mulitple tables on the same form
by aabundez
- 5 Replies
- Last post
by Mathew1972
- I've got a form with textboxes and comboboxes for Instruments and InstrumentDetails. My dataset has these tables with a data relation/FK constraint which I consider one-to-one (One detailID to One InstrumentID) The child table's ID is set as the primary key, with no
auto-incrementing. I've tried setting the datarelation to Relation Only
and Relation+FK Constraint. I've successfully made updates
-
- DialogResult
by Mik
- 5 Replies
- Last post
by Mik
- How can I check which button has been clicked in a Dialog window
I tried ToString(), but it returns "Cancel" no matter which button has been clicked (there are two buttons, "Cancel" and "OK").
The code I am working on is not mine so perhaps there's something I don't know, maybe I should set some property of a Button to "OK" or something and it would wo
-
- problem with Combo Boxes, automation error
by Delilah
- 0 Replies
- Last post
by Delilah
- Hi, I am new here and I'm facing a problem with the combo boxes. I need to finish an assigment (it is not based on real data) and I have to design a form that includes 3 combo boxes, all of which are primary keys of the rest of the tables. the problem I face is that when I try to insert a combo box and then follow the wizard I receive the following message: "Automation Error. It is not possi
-
- How to get multiple selected values and items from listbox ?
by bmann225
- 14 Replies
- Last post
by Ashraf Gawdat
- Hi people, how do i extract out the selected items and values from a multiple selected enabled listbox through C# code
-
- How can output file name include product version number?
by hbilan
- 0 Replies
- Last post
by hbilan
- Hi
I've searched for this option in this forum without success.
Please advice how one can set the output file name to include product version number.
Many Thanks
Ilan
-
- "unknown error -1" while installing my windows service
by shiveta
- 5 Replies
- Last post
by shiveta
- Hello,
I am getting "unknown error -1" and "Could not find file C:\Program Files\xxx\programSetup.InstallState" while installing my windows service.
Weird thing is I am getting this error only one machine, Ive tested in other machines and it's working fine.
I have tried it by means of setup project and also with installutil.exe.
Thanks,
Raquel
-
- PropertyChangedEventHandler not firing automatically.
by Yeshia
- 6 Replies
- Last post
by Rong-Chun Zhang - MSFT
- I have a UserControl which has a Label which I bind to using the following code:
b.DataBindings.Add( new Binding ( "FrontMaterial" , BoxObject.ScrapBoxMaterials, "FrontCommodityName" , true , DataSourceUpdateMode .OnPropertyChanged));
I would Like to have the PropertyChangedEventHandler fire automatically but it never gets fired. I am testing it by just ch