Software Development Network Logo
  • Visual FoxPro
  • Windows Forms
  • IE Development
  • VS Team System
  • Visual C++
  • Windows Vista
  • Smart Devicet
  • Visual Studio
  • Microsoft ISV
  • Audio and Video
  • Visual Basic
  • SharePoint Products
  • Visual C#
  • .NET Development
  • SQL Server

Software Development Network >> Windows Forms

Windows Forms

New Question

TextBox back ground gradiant
DataGridView Sorting ????
Prerequisites??
Designer for developing report templates
Designer support for a multi-panel user control
Urgent... Stuck in iimplementation Custom Save File Dialog
Thread Pools
Why does ATL contorl receive WM_DESTROY mesage when it's loaded from a form in MDI App?
Links in a FormsApp and controlling the browser
Vista

Top Answerers

DavidR100
Nimble
is98
Jeds
Dennis327
Heinz09
Mitch5713
Rodel E. Dagumampan
Bagles1
Tatworth
sitemap
Only Title

Answer Questions

  • Sean Connolly Get the parent Control object...

    I have a non-visual class like (avalible in the toolbox) public class MyClass: Component { public MyClass() {...} } In this class I have some asyncronus external events that needs to be syncronized with the "main - gui - thread" that consumes events from "MyClass"... Before I made a "toolbox" component of "MyClass" I hade a constructor like public class MyClass: Component { public MyClass(Control parent) {...} } This way I had the "parent" object to sync with... But using MyClass as a component in the "toolbox" forces me to have a constructor without any parameters... I need to get hold of the parents "Control - object" inside of "MyClass". How ca ...Show All

  • JesseD70 Problem with DataForm Wizard

    I am using VS.NET 2003 and trying to create a data form using DataForm wizard. In the wizard when I select a table from the database and and click Next, I see the following error "Object reference not set to an instance of an object." What could be possible cause. Please help Did you ever get an answer ...Show All

  • PaulSw How to load XML objects into custom .Net classes?

    Hi all, Hoping someone can point me in the right direction here. I'm writing a VB.Net 2.0 WinForms admin app to allow users to do maintenance on an Oracle database behind another very large app. To keep the size of the admin app down and to avoid a maintenance nightmare when the tables (about 70 of them) change I am trying to write it so it's totally automated. I already have code to read the schema of each table to get the columns and then I have a form that adds an appropriate custom control for each table column. This works very well but I need it to be advanced enough to hide some columns, make sure others are entered, validate some others, etc, etc. So my idea is to have an XML file (see XML below) containing the tables and colum ...Show All

  • Dan Ferguson Removing Componets (exp Checkboxes )

    If I wanted to lets say... have a few checkboxes right... and I wanted to remove the ones that are checked... how do I do that Like.. remove the checkbox right along with its value. Ok... thanx I will try it out and post back the results.... thanx bro Apologies, it was the naming that confused me "theControls" looks very much like "this.Controls". As I said though, it could be done in one loop. Do you need such a big font It's as rude as all caps. hey James Curran , thanx for the information.. It was pretty informative... now.. I can use your recommendations.. and to remove it I can some some of the example codes above correct I mean.. looking at the code that I added. Also can anyone point ...Show All

  • DaniP Setting the DataGridView columns

    Hi friends, I have many datagrids in my application. So wat i want to do is to have a common grid which takes care of setting all the styles and the required columns and their widths,dynamically. I have taken a separate class which takes care of the styles,but i want to have a generic method in that class that sets the column names and their widths respetively.How do i approach this problem . Any links would be of great help. Thanx in advance, subhanet Its not clear to me what you are aiming for. I suppose that you can create your own class of data grid inheriting from the DataGrid class (unless the class is sealed), and then set the properties you want in the class's contructor. But that ...Show All

  • hazz Insert Statement fails , but works in MS access

    Hi, can someone help> This insert statement in my code does not work, the error message i get is 'Error in the Insert Into', but if I copy and paste the insert statement and run it inside of Microsoft Access Database it works. So I'm kind of lost on how make this work....Can anyone help Below is my code. Public Function NewErrorRecord( ByVal ErrorDect() As Object ) As Boolean Try Module_Type,ErrorID,Error_Descr,Module,LineNum,Filename InsertErrRec = "INSERT INTO Error_Tracking (Error_ID,Module_ID,Error_Descr,Module,LineNum,Filename) " _ & "VALUES('" + ErrorDect(0).ToString + "','" + ErrorDect(1).ToString + "','" + ErrorDect(2).ToString + "','" + ErrorDe ...Show All

  • Pierre-François FORAZ Win32.SetParent problems

    Hi All, I am using Win32.Setparent in my application. Because of that my default application behaviour is getting changed. Does anybody have any idea what to do after calling win32.setparent......................to get original setting of the form I am using windows XP. bhavu wrote: Yes Andrew ,I am making my form appear on another form................. because of this my original form is not coming in center of the screen even though I had specified startposition=centerscreen...... What exactly are you doing in the code Yes Andrew ,I am making my form appear on another form................. because of this my original form is not coming in center of the screen even though I had specified ...Show All

  • johnny_no1_boy Dynamic Combobox - refresh list items on the fly

    I have a main form where the user selects a customer from a drop down box. On this form is also a button that opens another form as a dialog that allows the user to enter a new customer. The user clicks "Save" on the new customer dialog and the customer is saved to the database and the main form becomes active again. I can't figure out how to update the combobox so that it displays this new customer in the list. The combobox is bound to a datasource. I know the code to create and save a new customer is working since the change is reflected in the database. The new customer also appears in the combobox BUT only after I close and run the application again. // if a new customer was added to the database/dataset refresh ...Show All

  • Larry Smith Controls which resize themselves !

    Hi all ! I use Visual Studio .NET 2005 SP1 (+ Updates for Vista) on Windows Vista. I have a strange problem in a WinForm application. In a UserControl, which inherit another UserControl (simply contains a SplitterPanel), I’ve added controls (most of them are TextBox with the property Anchors set to Left and Right) to Panel2. All theses controls fits in the UserControl and when I resize it, all the controls have the correct behavior. My problem occurs when I compile the solution. After a sucesseful compilation, if I re-open (of may refresh itself) the Form Designer, all my controls are out of the UserControl! Does someone have seen that before Any ideas Thanks for your help! ...Show All

  • Daniel Coleman VB.NET 2k5 Java applet in webbrowser

    hi all, I am relatively new to vb.net 2k5 and i have a pretty annoying problem. I want to display a java applet by putting the <applet></applet> tags into the documenttext of a webbrowser. But the webbrowser only shows me a white screen. When i load this same code on my local machine, it runs fine in Internet Explorer. I can also load a java applet with documenttext if it is already embedded into an online webpage (which means that i have java installed correctly). I have no idea what the problem might be.....some people told me it SHOULD be possible to load <applet> in documenttext. Maybe i need some extra html codes Thank you very much, Tai Umm, make it a javascript function that does a document.w ...Show All

  • dejan djenic TableAdapter and Commandtext... Help please.

    Dear, I have a Typed DataSet in which the instructions exist INSERT, UPDATE and DELETE for my table using a TableAdapter. I would like to know like me access the instructions existent DML in this TableAdapter, as for instance: string temp = ((SqlDataAdapter)ProductsTableAdapter). InsertCommand.CommandText; How do I make that Thanks! Alessandro. Thank you, but I believe that you didn't understand. I have a typed dataset where I have a DataTable and a TableAdapter. I want to access referring InsertCommand TableAdapter, example: ProductsTableAdapter adp = new ProductsTableAdapter (); adp.InsertCommand.CommandText Alessandro. Tks! I will try to simplify. Like me I do access the object SqlDataAdapter thro ...Show All

  • kennm Unnecessary Horizontal Scrollbars Appearing

    I have a UserControl that contains a TableLayoutPanel . The TableLayoutPanel is set to Dock.Fill and AutoScroll = true . Scenario: The parent container of the UserControl is not tall enough to contain the UserControl. Expected : Vertical Scroll bars should appear. Horizontal scroll-bars should not appear. What is happening : Both Vertical and Horizontal scroll-bars are appearing. It seems that what is happening is that the Vertical bars appear first. The UserControl (set to Dock.Fill) now does not have enough horizontal room to display itself, so the horizontal scroll is appearing. However, I would think that after the Vertical scroll appears, the UserControl should re-fill itself within its parent, and only after this, calculate whether ...Show All

  • Jessica Alba New whitepapers for building DataGridView custom cells and columns

    Hi all, We just posted two new whitepapers about building custom cells and columns for the DataGridView control: Building a custom RadioButton cell and column for the DataGridView control ( Source and Sample Code ) Building a custom NumericUpDown cell and column for the DataGridView control ( Source and Sample Code ) The docs, source code and sample code are under http://www.windowsforms.net/WhidbeyFeatures/default.aspx PageID=2&ItemID=13&Cat=Controls&tabindex=5 Enjoy! -Regis Microsoft Windows Forms team This post is provided "as-is" Hi, Also is it possible to display a local image in to textboxCell along with the data recevied from a database, fo ...Show All

  • shibin ListView Help

    Hello All, I need a little help with my listview. I have a list view with 5 columns that are being filled by 5 variables. I also have a while loop that updates the variables continuously and I want to update the listview at the same interval.... I know i can use : listView.Items.Clear(); (then re-add the item) listView.Items.Add(..) however i causes a severe flicker and will not allow the user to highlight a row... I have tried to use Update and Refresh, however this doesn't seem to update the row with the updated variables... Any Ideas Thanks, Andrew The only thing is that the program is used to download files, so its going to need to be constantly updated with the download speed, completed %, etc.... ...Show All

  • xlordt Scrolling textbox

    I'm using Windows Forms 2.0 (Visual Stduio 2005) and cannot get characters within the textbox to scroll. I need displays coming out because it is a batch process and need to allow operators of the app to view the messages. I have the following code which I want to basically have show up in the window like so: line1 line 2 etc. <code> TextBox1.Text = ControlChars.CrLf & "Retrieving Search Definitions along with their respective Search Criteria." 'do some processing TextBox1.Text = ControlChars.CrLf & "Retrieved Search Definitions along with their respective Search Criteria." </code> I have the above type of code in several places in my app. Every time the textbox gets ass ...Show All

89909192939495969798990123456

©2008 Software Development Network

powered by phorum