Code & controls shared between projects
Hi! I have two custom .NET applications where a form in one of them has very similar functionality to a form in the other one. (The common stuff: the majority of controls in those forms, plus all the...
View ArticlePersisting property grid collections with default values
I have a treeview that I want to come with certain collections. I'm having trouble getting my collections to persist, I suspect because they have default values. Am I correct? Anything I can do? What...
View ArticleImagelist & Toolstrip image quality degrading
Hi, I have an imagelist & toolstrip on my form, I've added 2 images to the imagelist for use in a listview (small icon) and have several buttons on my toolstrip with an assigned image (imported...
View ArticleTextBox input specifications C#
Using textBox_TextChanged Handler, I am trying to check the Price a end user enters to see if ends in .97. If it ends in .97 then it will set another textBox value to 1. Scenario is that commissions...
View Articlehow obtaining the min and max of a two-dimensional array
i have two-dimensional arrayvar arr = new int[3, 2] {{1,2}, {3, 4}, {5, 6}};i want to get the max of [1,3,5] = 5& max of [2,4,6] = 6
View ArticleHow to convert C in C++
I've written a program in win32 console application C++, the language I used is C. Now i want to convert this console working program to windows form application, i guess at least it should be written...
View ArticleMake a Alarm In CLR/Windows Forms
hi i star making a alarm in my form its work well but i need the alarm work witch files check all the files in the day and tourn on when is the time.and also when the form its open and check the files...
View ArticleDataRepeater and DateTimePicker
I am have a datarepeater control on my form. It is attached to a MySQL table with a column for Entry Date. I have a datetimepicker that defaults to current timestamp. The table column is set default of...
View ArticleCombobox does not revert to NULL when text is deleted.
Not sure whether it is a flaw in .NET or not, but: If a user empties a combo box (i.e. wants to blank out the value) the selected value does not revert to null, Instead it keeps the last valid selected...
View ArticleHow to Block only child window in Mdi Form Application.
Hi, every body.everyone known that window.alert method in a web page will block all windows in microsoft IE, following screen capture show this caserecently, i find a Web Browser Has a different...
View ArticleSome issue with WebBrowser Navigate folder and IShellFolderView object
Hello everyone.I use webbrowser control to browse file systems,and make some foldler item selected and so on...anything looks like well, following is my some some. Shell32.ShellFolderView _view;...
View Articlequestion about capslock
hi, im using visual studio 2010, and im making a windows form application. my question is how can i make a timer that will start and stop depends on the capslock status, it's like it will start when...
View ArticleDataRepeater Control
Guys,I am trying to drag and drop items in my data repeater control (VS2010), For some reason mouse events are not raised in the ItemTemplate section of the repeater.Can someone show me how to drag and...
View Articleshow control in custom container in winform
hi every body, i want a c# windows application control which i can add custom control or c# control like textbox,checkbox to it and then i want implement pagination for container,this container must be...
View ArticleHow to add items to a listview with tile view from bottom to top?
Hi, very new to C# so please be simple!I have a listview created with tile view. How do I add items to the listview from bottom to top, left to right? (or top to bottom, either will do)The size of the...
View ArticleFailed to connect Domain Network
HiI am using WIN 7 Professional operating system. And added my PC to domain APN.comFew days working fine and able to access all service from APN.com domain.Now faced a problem throws an error as below....
View ArticleEdit Embedded Chart in Worksheet Template
Setting:Language - C#Library - OfficeOpenXml (DocumentFormat.OpenXML)Microsoft Office 2010Hi guys,I'm developing a project that deals with YTD reports. The application uses workbook templates that are...
View ArticleProject database problem
Hi,I am using Visual Basic 2010 Express Edition and I have a database attached to my project "aDatabase.mdf". When I am inserting data into it from a form that I created, no data can be found being...
View ArticleHow to get values from a dynamical TextBox?
Hello all, I am a beginner and I have a big problem. I searched alot but I still did not get it working. I make a dynamical Textbox and want to save its value into a file, but it does not find the...
View ArticleTabPages.Insert Bug?
Is anyone else out there having problems inserting TabPages? I thought it might be a problem in my main project, so I created a new WinForms test project, dropped a tabcontrol on the form, and added a...
View Article