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

Software Development Network >> Windows Forms

Windows Forms

New Question

Closing forms in Control validation events...
Use which platform to develop GUI?
DataBound ComboBox
Problem to automatically update the DataGridView?
Refresh C# windows application form
Multi language help please
howto span one record in two rows
MDI Forms
how can i change the source code of a webpage with webbrowser control??
insertion event handler

Top Answerers

Christina Tabet
johndog
Sébastien Nunes
TigerPhoenix
GoingGreyFast
Kaveh Shahbazian
migeold
SQLirrel
Khurram01
Skypie
sitemap
Only Title

Answer Questions

  • Sarath. WebBrowser control and html document(simple question)

    Hey, I added a .html document into my project. But How do you make it so that my web browser control "webbrowser1" will show the document, I named it "New_Tab.html" Thanks :) K, so there are no errors, but it dose not show it... this is the code for the new tab button clciked: private void newtabbutton_Click( object sender, EventArgs e) { Create_a_new_tab(); //URLtextbox.Text = thiswebpage.Document.Title; this .webBrowser1.Navigate( "file:///" + Application .StartupPath + "/New_tab.html" ); } And this is the code in Create_a_new_tab(); : private void Create_a_new_tab() { if (current_tab_count == 10) return ; ...Show All

  • Swarna datagridview datetimepicker without time format problem

    i am using that c# code for datagridview datetimepicker from this link http://msdn2.microsoft.com/en-us/netframework/system.windows.forms.idatagridvieweditingcontrol.aspx but i do not want to print time in date, i want only print the date like "07/02/2007". how can i do that on this code. thanks Hello oceansis I seriously did not quite understand the code which u quoted ,but i know how to print only the date but not the time I will write the code and then explain it to you Dim a As Date Response.Write(Left(a.ToString, 9)) as u can see ,i first declared an variable a as Date and when displaying the date, i made use of response.write and our very own left function in VB to use it ...Show All

  • PricklyPear SignTool: Hangs and fails

    We're attempting to use an MSBuild project to sign the application and deployment manifests for our applications. I'm in the later stages of development and moved it to a server to test how we invisaged it to be deployed, but have come across yet another undocumented ambiguous error. Error MSB3482: SignTool reported an error 'The parameter is incorrect. C:\Program Files\ApplicationName\Project.xml(12, 5) On my development machine - where it works - it's running under my user account. On the server we tried to use a local account, then a domain account, both failed. If I use my user account it works. I've added our publisher certificate to the personal store of every user we've attempted to run it as. What happens is MSBuild gets to the Sig ...Show All

  • ArunSingh ClickOnce and proxies

    This year my company needed to release a bit of software that interacted with a government service, and as last year we had to change it so many times during its lifetime we decided that ClickOnce would be perfect for deployment, as it is quick and simple for the user and has automatic updates. However, we have run into problems with a few customers where they have proxy servers set up (usually isa). In this situation ClickOnce doesn't activate, and you have to edit the file machine.config on the users computer and add the section <system.net><defaultProxy><proxy usesystemdefault="true"/></defaultProxy></system.net>. My question is this: How is a user, or even an IT department, ever supposed to find ...Show All

  • Novelle Rollup Datagrid

    I'm trying to replicate some functionality of the grid used in MS Project for a custom task tracking app. In the grid you have the option to create a "rollup" item complete with the "+" & "-" boxes similar to a treeview. Creating this treeview-like ability is my problem. Does anyone know how to replicate this functionality with the DGV Or if there is an existing product out there Thanks. hey.... check this out: http://www.codeproject.com/cs/miscctrl/OutlookGrid.asp Enjoy! here is an article for datagridview combin with treeview, hope it help you http://blogs.msdn.com/markrideout/archive/2006/01/08/510700.aspx Best Regards! ...Show All

  • enric vives DataGridView Record Number

    Dear All, I wanted that myDataGridView Show Record Number at left most side, how to achieve this funcationality. 1 india 2 china 3 america 4 canada hrubesh wrote: http://srdo.org/httpdocs/question/gridNumbers.JPG Not Found The requested document was not found on this server. I want that myDataGridView be that like (see following snapshot)   http://srdo.org/question/gridNumbers.JPG   No its not what i wanted i like this shortcut. i add an unbound column to my grid and in cellformatting, i lookup for the index of the row as in the source(table). Private Sub DataGridView1_CellFormatting( ByVal sender As Object , ByVal e As Syste ...Show All

  • Andeezle TableAdapter SQL

    Hello everyone, I had a question with regard to the new VS 2005 TableAdapters. They allow you to build "canned" SQL Queries and remane them FillBy1 or whatever. I also see that you can pass in parameters. So you push a button to run the query. I don't want to do that. I want to pass a complete, already built, Query to the TableAdapter and have it run it. We generate a complete SQL query using a sophisticated search engine. I want to be able to get to the CommandText property and put in my own SQL, but I don't seem to be able to bring up and use that property. It is literally a showstopper for us if we can't put in our own SQL. I have exhausted documentation and spent a lot of time searching the Web and I don't see this d ...Show All

  • m_3ryan DataGridView: Select Rows and retrieve the values of the cells

    Language: VB.NET 2005 Framework: 2.0 Database: SQL Server Express 2005 I have a DataGridView that is populated with data from a SQL Server DB. I need to allow the user to select Rows of interest and then the values of some of the cells on the selected Rows needs to be retrieved for Math calculations. I can retrieve values from cells I just need to know how to get VB to notice that a Row has been selected and only retrieve the vallues on the selected Rows. How to retrieve Values from a DataGridView - May Help Someone OutPut = DataGridViewName.Item(columnIndex As Integer, rowIndex As Integer).Value.ToString txtOut.Text = grdCboTest.Item(3,0).Value.ToString Thanks in advance for any help, Mike ...Show All

  • Fiddel ListBox drag and drop

    Hi, I'm trying to implement the drag and drop event on a ListBox. What I want to do is to drag an item to another location within the same ListBox and drop it there. I'm wondering if there is a way to display a dotted line at the index the item is dragged into at DragEnter, like many windows applications do. Thanks. Thanks a lot for your reply, but the link is a bit different from what I'm looking for. I'm wondering if it's possible to display a dotted line between items in the ListBox so that you know exactly where you are moving the item to. Possibly http://www.codeproject.com/cs/miscctrl/dragdroplistviewreorder1.asp is an example of what you want. If you over-r ...Show All

  • Tylerk ClickOnce ISV Mode

    Hi All, I've only been looking at ClickOnce for a very short time and so this question may be way too early. In any case: Is there a way ClickOnce can be used to distribute ShrinkWrapped Software. My question is specifically around building the bootstrap executable. Can we manage all of the following requirements: a) There are some redistributables that need to be set up and cannot just do an XCopy and so must be part of the Prerequisites. b) We dont want each customer hitting the Vendor's download area c) We dont want to host the downloads on our own site d) We only want to bundle all of the prerequisites with our deployment media (cd etc.) e) We want to let the customer choose a suitable distribution mode - CD/Network Share/ ...Show All

  • RMS Bitmap Images

    Hi there! I am making images out of data arrays, and then displaying them in a form inside a picture box. The thing is, the display seems to be interpolating between pixel values in order to smooth out the image, to make it look better I guess. But I actually want a purely pixelated image, so that each pixel looks like a square block of a single colour (gray scale actually). I havent been able to find any setting or methods in the bitmap class to change the interpolation method, so if anyone can help me out that'd be great! Thanks a lot Joe InterpolationMode Sorry I'm to busy right now to fire up a test project... Yeah thats right about the little floating window showing a zoom around the mouse poi ...Show All

  • ando1111 Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0'

    I have created a new test project and when I add a reference to my application project I get the following error message: Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0' What can cause this Chris Holland Anyone got a better answer for this The direct reference works, but does anyone know why I think it is something to do with different ClickOnce certificates on each project, but I haven't worked it out completely. I have a Solution that has many Projects in it, and only one of the Projects requires a direct link - the other Projects work fine with a Project-to-Project link. It might be something with build order too. For some reason I'm now getting the dredded: Error 6 Could not find file ...Show All

  • Wolvenshade forecolor for datetimepicker

    Hi i am new to VB.net windows application how to set forecolor for textbox portion of the datetimepicker . Is that always black Thanks in advance Naren again this is for the rest of the control, its under "CalanderForeColor" hi thanks for your reply. actually i want set blue color as forecolor for datetimepicker but i dont see forecolor property for datetimepicker in design mode the only thing I have seen is setting the forecolor for the rest of the control but not the actual textbox/dropdown box proportion part of it. ...Show All

  • luzippu How to change data type of datacolum after data is filled?

    I am using .NET 2.0. I have a tab splitted file and I convert it into a datatable after parsing it. But I don't know about the datatype of any datacolumn of datatable at the time of file parsing. Therefore by default the datatype of each datacolumn is string. After parsing, I bind this datatable to datagridview. Now when the user tries to sort a column of datagridview that has numeric or datetime values only, datagridview sorts it as string rather than numeric or datetime. I have observed that if I change the datatype of the datacolumn of datatable to int or datatime according to its contents then it is sorted correctly. So how can I change the datatype of datacolum after the data has been loaded in the datatable Any other way ...Show All

  • oyvindk datagridview combobox column

    I have a datagridview with 3 columns checkbox, textbox and combobox. I want to add a row with checkbox checked,some text in textbox and combobox first item selected I write this : this ->dataGrid->Rows->Add( true , "fdgdfg" ,0); but i receive error in combobox Thank you does anyone can help me. I've no problem if you write in c# or basic. each combobox has 3 items (the same). So i want to add a row with the first item selected in combobox. what i'm trying to write i think in c# is: dataGrid.Rows.Add(true,"text",0); This is what I am looing for: What should the code look like: Dim dgvc As DataG ...Show All

89909192939495969798990123456

©2008 Software Development Network

powered by phorum