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

Software Development Network >> Windows Forms

Windows Forms

New Question

Basic WinForms question
How can I make update version for application which was signed with certificate now expired?
Gradient backgrounds.
how to change background color when image selected in listview
Why does ATL contorl receive WM_DESTROY mesage when it's loaded from a form in MDI App?
Where can Custom Designer catches the Exception of Control
change Color of dataGridView line
Hi!!!!how can i create 3*3 ...means 3 rows n 3 columns of textbox dynamicallly for taking the input of matrices
Problem Publishing to the Web
problem in axwebbrowser.navigate()

Top Answerers

Kinlan
JeroGrav
Ori'
jturpin
Indigo Cowboy
CarlosHouse
marrigre
progames25
bes7252
MrZap
Netzlab GmbH
Only Title

Answer Questions

  • JPC16 Help please with richTextControl

    hi im using c#, I have 2 richTextBoxes box1 & box2 if I go: box1.Rtf.ToString(); i get a string like: {\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} {\colortbl ;\red255\green0\blue0;} \viewkind4\uc1\pard\cf1\f0\fs36 Hello, this is a test\cf0\fs17\par } how do i append this text to box2 kepping the textes font and size ect Thanks. I tried box2.AppendText(theString) but it appends the code of the text, not the text. Sorry, i should of said, the string is going to be sent over a socket, so on receiving side i'm going to have to add the text. It's ok i got it. box1.copy b ...Show All

  • jiggs ToolStripProgressBar and Cross-thread Calls !

    Hello, I have a problem with updating the progress bar's value. The problem appears in the following code void sexyDownloader_FileDownloadProgress(object sender, CodeProject.Downloader.DownloadEventArgs e) { this.toolStripProgressBarFileDownload.Value = e.PercentDone; } I have a file downloader class running on a backgroundWorker - another thread - that notifies the form of the file progress. I get an InvalidOperationException for Cross-thread calls that try to change the value on Windows Forms Controls. I know that for most controls this check can be disabled using Control.CheckForIllegalCrossThreadCalls = false; However, that's not the case with ToolStripProgressBar. How can I solve this problem ...Show All

  • Craig G Encrypted .msi file results in installation failure

    Why is this Is it a bug If I unencrypt the .msi file, the installation proceeds normally, otherwise I get failure message 2755. Looking in the installation log, I was able to find a "failed to open stream" error which may be at the root of this. Thank you, Stefan. However, this raises another issue: When I search on msdn using the keywords "installer encrypted msi", as I did when trying to research this problem, the kb page you reference does not come up as a hit. Is the KB excluded from searches by default This is a known problem, see http://support.microsoft.com/ kbid=834549 ...Show All

  • p4Pratik Many to Many Relationship Viewers?

    I'm looking for a control (or a way to link multiple controls) to graphically and logically display table data with a many-to-many relationship with another table. Here's what I am thinking: Have a datagridview (listview, etc) on the left side of the form. Have a second datagridview (listview, etc) on the right side of the form. Display the entire table contents of each of your two tables in their respective grid controls. Now draw lines from rows in the control on the left to rows in the control on the right. Remember those test questions in school where you had to draw lines from terms on the left to definitions on the right That's what I want to see (except now have multiple lines eminating from the rows). I can't find any third party ...Show All

  • BrettColeman Print Windows Forms using a scanned Image

    Good day. I have a Windows Form in C# 2005 that I want to print. I have a receipt(delivery Form) that i would like to fill in some values and print it out with the form. I have scanned the form into a jpg file, then I tried to set the background Image property of the winform to the image. However, the image appears very large, it won't display the exact size of the image which is about 5.5 w X 7.5 h inches . I also set the backgroundimage layout, setting it stretch and zoom will make the image quite smaller. And what command do i use to print the form. Also, there are some other forms and receipts that needs direct printing with winforms without using Crystal Reports. How Can i solve this kind of problem.. Any help would be greatly appre ...Show All

  • Aleksandr Tokarev Repositioning Graphic Objects

    Hi, Background: I am sending four collections of simple graphic objects(lines,rectangles..polygons) to a printer (to represent four different scale views of a building). The paper size is initially A4, but may be required to be multiple A4 or A3 if the graphic objects do not fit. This is referred to as the page number/size escalation process. I am using the various graphic class transformation functions and it works well. So far, I don't draw the images to screen prior to printing. The challenge is optimally fit the four collections on the page so that more pages are only needed if every effort has been exhausted to fit the images at any particular level in the page escalation hierarchy. I could just assign a static po ...Show All

  • jmill how to change the color of control bar in vb.net

    Hi to all In my vb.net Application I have to change the color of control bar in vb.net ie, I want change the control bar color (Win -Blue) to other color How can i do this Plz send me a solution. Thanx in advance. Control bar Not a ToolStrip, that isn't blue. Please explain exactly what GUI element you're talking about. ...Show All

  • Loki70 How can I make update version for application which was signed with certificate now expired?

    If I change expired code signing certificate to new one and publish updated application, client will fail to launch. And code signing fails if I try to use expired certificate. How can I make update version for application signed with old certificate We asked Verisign whether it’s possible to renew certificate keeping key pair, and their answer was “It's impossible.” What is the Microsoft’s recommended way to update ClickOnce application after certificate renewal * Sign with old certificate. * Make user reinstall application. * Other. I'm so glad we could help. If your certificate has expired you need to renew the certificate from Certificate authority like V ...Show All

  • Pure Krome I Want To Create A Simple VB.Net Application,That Connects to a SQL Server and handle's account does enyone know a good tutor..

    I Want To Create A Simple VB.Net Application,That Connects to a SQL Server and handle's account does Any one know a good tutorial I do not know of any good tutorials available. You can use the smo user class for most of what you want to do. Maybe this article on list users will help to get you started ...Show All

  • Chandra_SQL How do I copy a file to specific folder??

    In my application I have used an openFileDialog. And user can select picture file from his/her hard disk. I want to copy this file to Resourse folder of my application. Does anybody know how can i do that pls help.... thank you very much, It has solved my problem since the File.Copy support the relative path, you can use this feature to specify where the Resources directory is, i.e. up 2 levels of the Current Directory where the exe locates. Here is a sample code may help you OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDialog1.RestoreDirectory = true; if (openFileDialog1.ShowDialog() == DialogResult.OK) { string filepath = ...Show All

  • rternier sample code for programmincally install the "correct version" of .net framework?

    Hi, I wrote a very simple window form app, all it has is a label and couple buttons. When I send to exe file to another machine, it pops the famous error message: The application failed to initialize properly (0xc0000135). Click on OK to terminiate the application. Then I learned, the target machine needs to have .net framework install and the version of the framework must match where my app was built. My question: Does anyone have sample code for my program to determine if the target machine has the correct version of .net framework installed, and if not then my program would automatically download from msdn and install for user...etc etc etc Or if there are better ways to handle it (such maybe using the deploy option from vs. ...Show All

  • dakerson WYSIWYG Web Editor

    Hi All I'm looking to create an application which enables the user to create PHP/MySQL (and eventually ASP/MSSQL) driven websites with just a few simple steps. Part of the application will obviously be some kind of WYSIWYG Editor for the look and feel of the website. I know there are already quite a few open-source HTML editors out there, but I need to customise this quite a bit, and I also feel it would be a good exercise for me to improve my programming skills if I program it myself. What I need is someone to tell me roughly how to start off and what steps to take. I'm not asking for detailed descriptions of every little step (and I'm sure most of you out there don't have the time to give them). I'm assuming to write the c ...Show All

  • nharendt Dataset Designer: "Unable to find connection MyConn (MySettings)1 for object 'MySettings'"

    Everything was working well yesterday, but today when attempting to open and preview one of the queries of a tableadapter in my application's most crucial dataset, generates this error: "Operation failed." "Unable to find connection 'MyConn (MySettings)1' for object 'MySettings'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded. .' I've searched these forums, newsgroups, google and come across a few examples of where the dataset designer has inserted additional connection lines within the xsd. However, this doesn't appear to have happened here. If I get the latest stable build in its entirety from SourceSafe, I sti ...Show All

  • Dave Waterworth Passing values from one form to datagrid placed on diff form....

    Hi rohan, i hope i understood the need,. Both datagrids should basically display the same values, i suggest pass the binding source,( if the case ) as parameter to the second form  or set your dgv's ds to the same source as the first one. will that do if so..  something that works. form1 and form2 both have a dgv.  form2 only has a dgv , no code to set it at all. _ most code generated by drag n drop, some definitions missing in this example,. but will give u the idea. okay Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .AmountTypesTableAdapter.Fill( Me .CostingDataSet.AmountTypes) Me . ...Show All

  • Anarchy Clear both bound and unbound data in a datagridview

    hi, How to clear both bound and unbound data in a datagridview I try to set the datasource as null, all data is cleared off, but the unbound data's columns are not being cleared. I want the datagridview to be totally empty/blank. Thank you in advance for the help. thanks for the answer, i managed to clear off the bound, but the unbound can't be cleared off. the datagridview contains both bound and unbound...the datagridview codes as follow: Dim mySelectQuery As String = "SELECT * FROM dbo.test" Dim myCommand As New SqlCommand(mySelectQuery, myConnection) Dim da As New SqlDataAdapter(myCommand) Dim ds As New DataSet(mySelectQuery) da.Fill(ds) Me.DataGridView2.DataSourc ...Show All

242526272829303132333435363738394041

©2008 Software Development Network

powered by phorum