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

Software Development Network >> Windows Forms

Windows Forms

New Question

Windows Calculator
custom settings in app.config
Is this a bug?
Updating mulitple tables on the same form
Free Visual C# Web Browser by Tpshimo Soft.
app.application Publish file
ListView gridline rendering issue
How to display property sheet by passing args
I can't set the column width.....
Disappearing Addhandler??

Top Answerers

rbnijp
Jan Kučera
Shaantu
Asif Hameed
David_JS
mackenzie 2480
ron nash
sarika
B.Huard
Alan Phipps
sitemap
Only Title

Answer Questions

  • progames25 Converting .Config files to .Deploy files using Mage.exe at command line

    How can i generate .deploy files using Mage.exe at commandline. I am facing problems with .Config files download at client systems, as IE do not allow to download .Config files for security reasons. If i do it manually, ie. using DOS ren command, it throws errors. Thanks. I'm not sure you understand, and I know the documentation isn't clear, but if you are going to append the .deploy extension you must ensure two things. All files in the deployment package apart from the two manifests (deployment and application manifest) must have the .deploy extension appended. You must set a flag (mapFileExtensions="true") in the deployment manifest indicating the .deploy extension is used. However, the manifests must be crea ...Show All

  • schmittde Hyperlink from email to open .net program

    I am looking for a good way to have a hyperlink from an email to open a program. I'm creating a "Helpdesk" application where users would receive tickets via email. I would like to put a hyperlink in the email that when they would click, it would open my helpdesk application and go to that ticket, or if the helpdesk program is already open, it would go to the running instance and open that ticket. Any suggestions Thank you, that helps for opening the program with the link. Are there any tricks to have a running instance handle the request Dave You can have the protocol handler actually be nothing more than a shim that either a) opens your main app b) sen ...Show All

  • Paul Deen Biringing a run-time created textBox in front of a treeView

    On my form I have a treeView having a contextMenuStrip. When I click an item on my contextMenuStrip I am creating a textBox with this code: TextBox entryBox = new TextBox (); entryBox.Left = ClickedX+200; entryBox.Top = ClickedY+100; entryBox.Visible = true ; Controls.Add(entryBox); and my TextBox creates just fine. But the thing is that when the coordinates of the textBox intersect with my treeView my textBox hides behind the treeView and I can not see the textBox; partially or fully. I have tried to write entryBox.BringtoFront(); but unfortunately still no change!!! How can I make my yexyBox appear above of all objects Regards. Add this code: entryBox.Name = "entryBox" ; ...Show All

  • Maartin Windows forms with database

    How to populate data from database to windows forms and save as xml file with TABLE's AUTONUMBER as the file name. you can fill a dataset with data from the database using a DataAdapter for your connection (SQL or OleDb) and then save the data using the dataset WriteXml() method. There are many examples on these forums on filling a dataset from a database query   it would also help if you specified what language you are using to develop with as well as the framework version Hi Thank you very much. I have started this project but in VB(visual studio 2005) but struck in the following 1.Created a combobox and it is displaying one field from the lookup table. But I want combobox to display two field (ex: ID, Descripti ...Show All

  • Terry Smith DataGrid expand/collapse button rectangle

    Hi, I have to write an application which expands or collapse the row of the datagrid. My application gets the datagrid object reference, row index and action(expand/collapse) as the input information. I cannot call any datagrid public members of the datagrid directly , but I have a utility which mouse clicks on the screen if point is provided.So now I need a way to find the rectangle region for the + button on the DataGrid control. I tried using the AccessibilityObject of the DataGrid object to get it as the child but it doesn't come as the child of it. Is there any way to get the expand button rectangle. I am thinking of looking for the relative location of the + symbol on the RowHeader, and use that info to calculate the + symbo ...Show All

  • Kartit Create a single instance of a Dataset to share across forms

    Paul Ballard MVP answered a posting on how to share Dataset across forms. He gave a great and simple solution but I wanted to extend it. When using the GUI it tries to create a new instance of the dataset. So the first thing I want is it to load the instance into the shared variable so any calls to currentDS would use the current instance. I did this by modifing the constructor call. The next issue I ran into (this is the one I’m having problems with) is when the auto generated code tries to create a new DS. Example: I create a new form and I drag a datasource Datagridview to the new form. The code creates a new instance. Any ideas how to modify the typed dataset to check for any instances and if found use them inst ...Show All

  • hommer Delay Processing ListView based on a Timer.

    Hi all, I am after a best method approach to solve this, but my problem is that I have a ListView that contains Items based on a location. I have a Location object that is basically a Tree Hierarchy. On the Form I have nudge buttons (left and right) so that the user can move from location to location on the same level. But, when the user selects a nudge button several times very fast, then the ListView Control will get populated for each press of the nudge button. So if the user pressed the nudge button 10 times within 2 seconds, the ListView Control would populate itself 10 times. What I want is a slight delay on each key press so that it determines another key press straight after a keypress then wont process the first keypress, but only ...Show All

  • Lili Gao Vertical Alignment of Text in a TextBox

    http://img208.imageshack.us/img208/4003/untitledzo6.jpg TextBox.TextAlign takes type System.Windows.Forms.HorizontalAlignment, while Label.TextAlign takes type System.Drawing.ContentAlignment. If you click on that picture link you can see, when using BorderStyle.FixedSingle, the TextBox text looks completely terrible when compared to the Label using ContentAlignment.MiddleCenter. Does anyone know of a way to make it so that the text in a TextBox is vertically aligned I can't find an owner draw and I can't find a vertical alignment property, but I can't believe we'd be left with such an awful looking control. You can use the Label's Padding.Top property to get it to line up with the TextBox. I ne ...Show All

  • Merie Cockrum Generate barCode

    Hi, I want to generate a barcode image (with vb.net) and print it with crystal report or with report in visual studio 2005 windows application project Can any one help me in this issue previously thanks. Hi, Thanks for the answer but, I have a problem with the barcode generated by the Barcoding font , the problem is the barcode reader can not read this barcode. Is there any way or may be another fonts to generate a barcode and a barcode reader can read it normally If it is possible please tell me with some details Previously thanks All you have to do is set the font of the label to the barcoding font included in my example. Then set the text. Your label will show the barcode Dim ...Show All

  • krishnapp making a form unmovable

    I have a main form with a panel, where I put another forms inside, the problem is that the user can move the form inside the panel. How can I make the form unmovable Thanks in advance. The recommended method of overriding mouse operations (like move by clicking caption or sizing) on a window is to intercept the WM_NCHITTEST message and have the operation reinterpreted. For example, if you want to have a caption bar on your window but you don't want the user to be able to move it, you could implement something like: protected override void WndProc ( ref Message m ) { const int WM_NCHITTEST = 0x0084; const int HTBORDER = 18; const int HTCAPTION = 2; if ( ...Show All

  • MagedSalah OnHandleCreated, IsHandleCreated: some threading issue makes me crazy :(

    I'm getting smth strange. I am overriding OnHandleCreated method on my Form, and as usual Window Handle is already created i can happily access it from the OnHandleCreated method body. but if start a new thread right away, i can not access the Window  Handle from there - at least "IsHandleCreated" returns false and Form.Invoke methods throws an exception if called from this new thread "private IntPtr handle;" is not declares as volatile, so maybe what i am getting is a threading memory synchronization issue how do flush thread caches i've tried executing some "locked" section - in Java this would reload all the data from the main memory copy, but this did not help :( what i hate about my problem - it is 50% repro ...Show All

  • Wilk06 Listview different in Vista and XP

    Hello I'm trying to display a Listview with the two first column added displayed in Tile view. nametest in my example would be the item header displayed in the default black, and coltest grey as is the default. 4 columns are added in formdesign. -------------------------------- lvTreeViewTest.Groups.Add(New ListViewGroup("my grp", HorizontalAlignment.Left)) lvTreeViewTest.View = View.Tile Dim LItem As New ListViewItem LItem.Text = "person1" LItem.SubItems.Add("msgtest") LItem.SubItems.Add("msgtest2") LItem.SubItems.Add("msgtest3") LItem.ImageIndex = 0 LItem.Group = lvTreeViewTest.Groups(0) lvTreeViewTest.Items.A ...Show All

  • MSP.Saami Forms in different dlls needs to communicate

    hi, I am fairly new to Visual Studio (2005, c++) and I have a large application that needs to be ported to this plattform. Most of the application we need to rewrite from scratch (as it contains very bad code). But since this application is large, I need to devide it into several dlls (assemblies) and I also need to put forms in the dlls. I have tried to search the Internet for this, but I can't find out how the forms can communicate with eachother! Do you understand my problem Well, I have three dlls; A,B and C. In each dll I have one form AF, BF and CF. AF is a mdiparent and BF and CF are childs. This works and I can show them and operate with them, but I cant get BF and CF to send data to eachother. I tried to u ...Show All

  • INTPnerd Multiple Controls that have the same databind

    Two parts: Simple and Complex I would bind one of the comboboxes to the datatable and one to a dataview created from the table You will need 2 have 2 separate copies of the data. In your example, you are binding all of your comboboxes to the same bindingsource. Since the bindingsource wraps the currencymanager, you are telling it to keep all controls at the same position. You can get around this by creating multiple bindingsources, even if they have the same datasource. Tony ...Show All

  • JosepMola Icons in TreeView disappear in WinXP

    I uses icons in a TreeView. When the program runs in Windows 2003, it looks fine; but the icons disappear when the same program runs in windows xp. The program is built in Whidbey Beta2. In Beta1, this problem does not exist. Please remove all images from your ImageList and then re-add them in Whidbey Beta2 and then compile your application. There are serialization differences between Beta1 and Beta2 so just a recompile won't solve this. thanks, mark Program Manager Microsoft This post is provided "as-is" Thank you Mark, How can I open a bug I never did that before. Thanks! If You have Application.EnableVisualStyles() in code remove it. It has helped me For more details look this: http://ru ...Show All

93949596979899012345678910

©2008 Software Development Network

powered by phorum