-
- Change Property
by Cornel Gav
- 6 Replies
- Last post
by Nayan Paregi
- In my application I have over 200 text boxes. I'm in the situation of modifying a property for all textboxes(BackColor). Can I do this dynamically when the application stars
-
- Passing Data Between Forms
by omid talebi
- 7 Replies
- Last post
by yj2000
- i have tow form (FirstForm & SecondForm).
my FirstForm open SecondForm (ShowDialog). i want that when my SecondForm closing send data to FirstForm
tankYou
-
- Moving UI events to a seperate class
by skifreak
- 5 Replies
- Last post
by nobugz
- I would like to move all the UI events to a seperate class. I have created the class but not real sure how to access them from the calling class.
For example, I would like to move all of these types of events (and them some)
private void txtComments_Enter( object sender, EventArgs e)
private void rbSelection_CheckedChanged( object sender, EventArgs e)
When I just co
-
- Where is DataRowCollection in a Typed DataSet?
by Job Lot
- 4 Replies
- Last post
by In Love With Dotnet
- I have created a new typed dataset using data source configuration wizard. Does the designer generate any typed collection of data row object or the only way is to access the untyped collection exposed by Rows property of the data table.
I came across an article http://msdn2.microsoft.com/en-us/library/w2wcdz8t(vs.80).aspx that mentions creating typed dataset for Customers table in No
-
- Is it pssoble to use a VS.net wizard at runtim?
by R.A
- 1 Replies
- Last post
by Gavin Jin - MSFT
- Is it pssoble to use a VS.net wizard at runtim For example I want to use "TableAdapter Configuration Wizard" at runtime to generate Dataset.
-
- Change DataGrid Cell text color
by Cornel Gav
- 1 Replies
- Last post
by Guang-Ming Bian - MSFT
- I have a DataGridView control and a search text box. What I want is that if a cell contains the text to search... to color only the found text from the datagrid cell, not all the cell text color (something like a markup text color) Is it possible
-
- How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser
by WilfridB
- 14 Replies
- Last post
by CEisen
- At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from
-
- Horizontal tabs (buttons) on left side
by jzirbes573175
- 9 Replies
- Last post
by Mick Doherty
- I am trying to use a Tab Control with Tabs (or Buttons) on the left side and I would like to have horizontal buttons but I cannot find a way to do this. Is it possible
jzirbes
-
- Select line in RichTextBox
by cygnusx
- 3 Replies
- Last post
by wirol
- How to select line in a RichTextBox i mean like item in ListBox control.
-
- Knight Rider Like Wait Screen
by Citco
- 6 Replies
- Last post
by tattoo
- I have a windows application that does things, like logs into a website, does some work with the file system, etc. This all happens once you type in a login / password. I would like the user to have a "please wait" screen with say a progress bar that works similar to the one that is shown during the Windows install. Moves back and forth, or moves across and starts new again so the user h
-
- Type.GetType returning null
by trisonics
- 11 Replies
- Last post
by trisonics
- I have a windows forms project in VS 2003 which I migrated to VS 2005 after migration I found out that the following code does not work after migration
strModName = "FX.FORM.UI.REPORT.FRMRPT,FX.FORM.UI.REPORT";
Form objCurrFrm = (Form) Activator.CreateInstance(Type.GetType(strModName));
this is becaue Type.GetType is returning null.
I tried using the Assembly.Get
-
- Numbering In Rich text Box
by AmrishDeep
- 3 Replies
- Last post
by Gavin Jin - MSFT
- Hi All, In Visual Studio 2005 Rich Text Box, is there a method to make the selection of Type Numbered List, right now i am able to make the selection bulleted by rchtxtTypeText.SelectionBullet == true Also can justify alignment be done
-
- Threading + WebBrowser = InvalidCastException?
by zort15
- 4 Replies
- Last post
by zort15
- I'm working on an application with multiple WebBrowser controls. It was going great until I tried to use a seperate thread to create the browser controls and load the pages in advance so they would be ready by the time the user needed them. As far as I can tell, the caching thread is working fine, and it sucessfully stores them in a List object. When I try to access them from the main thread to di
-
- how to link forms?
by peterlee2003
- 7 Replies
- Last post
by Jay Vora
- suppose i create two new forms (form1 & form2)
how can i use form2 to control control (e.g. to diable form1 menuitems)
thx
VB.NET
-
- Need help with windows application and DLL
by Palak Naik
- 4 Replies
- Last post
by Palak Naik
- I have created a form in DLL which have the list view. This is how I am displaying the view in the form
private static List<Feature> InitializeLicenseData() { List<Feature> features = new List<Feature>(); for (int appID = 1; appID < 6; appID++) { Random r = new Random(DateTime.Now.Millisecond); for (int feature = 1, numfeat = r.Next(4,
-
- Visual Studio abnormal shutdown when drop control on form
by chanmy8
- 2 Replies
- Last post
by Gavin Jin - MSFT
- Hi, I am using third party framework to build my application. The framework come with a derived label inherit from System.Windows.Forms. It works fine. However, I created my own derived label class inherit from the framework's label. When I drop my label on form, Visual Studio IDE would shutdown abnornal. No error/warning prompted. My derived label class is simple as below: Public Class myLabel &n
-
- Reorder of Row
by billb59
- 5 Replies
- Last post
by billb59
-
I'm really trying to simply move rows in a datagridview around and having no luck at all...
-
- Close Form containing subforms which can cancel in Closing event
by Maik Wiege
- 1 Replies
- Last post
by Larry Charlton
- Hello!
My program contains forms that contain subforms. Simple example: my MainForm has two Forms as member variables, one is a main menu and one shows the content. If I now want to close the MainForm, e.g. by clicking on the X of the application, the Closing event of the MainForm is fired. In that Closing event I have to close both subforms, by calling menuForm.Close() and contentForm.Close().
-
- Click-Once cannot detect .NET 3.0
by levere
- 4 Replies
- Last post
by rlevere
- Any ideas what could cause this The client machine has .NET 3.0 and can run other .NET 3.0 applications just not any Click-Once applications. .NET 3.0 has been uninstalled and re-installed (more than once) but the problem persists. Anyone else experience this
-
- View images in a Image List - List View
by JosepMola
- 7 Replies
- Last post
by JosepMola
- Hi, I've a folder in my disc with images, and I'd like to see all the images in my application. I'm using a List View with an Image List, it seems to work, but it takes a lot of time to charge all images in the view. What can I do I think it can works more faster My code: public void CargarImagenesEnVista() { ImageList IL_Imagenes = new ImageList(); IL_Imagenes.ColorDepth = Syst
-
- passing data and form.showdialog() doesnt show--need help
by rookie_rockie
- 11 Replies
- Last post
by OmegaMan
- hi basically i have 2 forms, eg form1 and form6 form1 would pass a value to the form6, however it does not work. byright form6 should show, however it does not show. the codes just compiled fine,and there's no exception at runtime. ---------------------------- form1: SocketClient clientSocket = new SocketClient(); // some codes status = hit "QUERYHIT" : ""; if (hit
-
- Graphics Performance Problem: onPaint
by CrackerJack
- 6 Replies
- Last post
by CrackerJack
- Hello there! I am writing an application that displays a Cartesian grid by drawing out the background/axes/lines in a picture box. I have another picturebox that is a child of the first one and i made the background transparent so as to see the grid. When the user moves the mouse over the grid, a line from the origin to the pointer location is drawn and a circled centered at the origin and normal
-
- providing Skin(theme) option in Window form application
by hammad&#64;isf.com.pk
- 3 Replies
- Last post
by Daniel Rieck
- Hiz to all
I want to provide an option to user to change the theme of application in runtime like user can select "XP theme" or any other custom theme while using window XP,2k or 98.is there any way to add this option in my application please help
thanx in advance
Regards
Hammad
-
- DataGridView "posting" edits on new row
by michaelloveusa
- 10 Replies
- Last post
by michaelloveusa
- Hi there.
I have seen many posts about how to get edits on a new row to "post" to the data table when leaving the DataGridView control, but I have not got any of them to work correctly. I also have not seen a suggested standard way to solve this problem.
The problem I am trying to solve:
I have a DataGridView that the user can add rows to. When a user enters data on
-
- Auto-selected contents of textbox during form transition
by Greg Beresnev
- 5 Replies
- Last post
by Greg Beresnev
- hi, I have an application with two forms. Form2 contains a simple System.Windows.Forms.TextBox, which is read-only, multi-line, has word-wrap disabled and it's text is set in the form constructor to "Hello world" (this.textBox1.Text = "Hello world";). Form1 has a button, which, upon being pressed, creates an instance of Form2, hides current form and makes this new instance visi