How to determine which programatically created Button has been pressed
I think I've confused myself with this code !!!I am creating Buttons down my Form that are incrementally numbered using the following code.At the moment this is all I have, and the MessageBox will be...
View ArticleWhat's the best way to design a WinForm to access complex data?
Hello,I originally designed a VSTO add-in for Word for a friend of mine. It would create Word documents based on data from an Access database. All the data "stuff" (entering, editing, queries,etc.)...
View ArticleHow to add many pictureboxes in a list from a form in c#
I need help. I want to add 200 of picturebox in a list in c#.This i s the code i used but no working. Says that out of arrange. List<PictureBox> imagini = new List<PictureBox>();...
View ArticleHelp with Task Scheduler Managed Wrapper
Hi, i have created a form in VS2012 with textboxes to enter starttime (as 00:00) , user, office and a datetimepicker to set a startdateof the scheduled task.I am using the Task Scheduler Managed...
View ArticleWhich technology should I use?
Hi, I have a business requirement. I would like to know which technology should I use that gives the minimum cost. It's for a burger chain. Requirement: 1. Create forms that has the available options...
View ArticleNeed handler for USB detection
I need a "handler to detect USB device plug-in event". Or, is there a way to perform certain actions (open a link in browser") when USB device is plugged in?
View ArticleIssue with copying PDF in a Webbrowser
God Morning,I am trying to select all and copy a PDF i have opened in a webbrowser docked in a form in my application. I keep getting the error message "NullReferenceException was unhandled object...
View ArticleClosing a Metro app from Windows Form.
Hi! I opened Xbox Music App from click on picture box using following code: private void pictureBox2_Click(object sender, EventArgs e) { SendKeys.Send("^{ESC}"); SendKeys.Send("Music");...
View ArticleProblems refreshing datagridview
Hi,I have a datagridview which is bound to an xml dataset. The datagridview has a KeyDown event method which calls another method to delete the selected row from the dataset using linq. The same delete...
View ArticleRight click on tree node
Sir, i want when user right click on tree node then there should be two option, first one is to add another child node and second is to delete that node , how can i do this in c#. thank you
View Articlei am devoloping a samll desktop app.it needs to get a recipt.From billing...
this code in feepanel else if (comboBox1.SelectedItem.ToString() == "Annuval Fee") { con.Open(); string query = "insert into annualfeetable values('" +...
View ArticleHOW TO BUNDLE THE PREREQUISITES WITH THE SETUP FILE ...?
Hi,I have developed a C# Winform Application with Visual Studio 2010 Ultimate and SQL Server 2008 Standard Edition. My App Can Perform CRUD operations. Now I need to Build a Setup File for my App.Well,...
View Articlefirst tab key press is refreshing form
I'm having a weird repaint problem on one of my dialog forms. The form is borderless and shown in a "lightbox" style, centered on parent form, with a partial-tranparency around the border. EDIT: this...
View ArticleCropping an Image with Resizable Rectangle tool
Hello, I am creating a windows application, displaying an image in picturebox, i have a button crop on my form, when user clicks it i want a rectangle tool to be displayed on image to crop the image...
View ArticleHow to embed Windows Explorer or OpenFileDialog in my WinForm?
Hi,Short story: how do I embed a Windows Explorer or FileOpenDialog onto a winform?Background: I am writing a task management application using Windows Forms in C#. I want to have a "import task...
View Articleshow a Datagridview in the form
Hi allI'm trying to get data from sql server then to fil it in a datagridview, but no result is displayed after excuting the code.here is my code:dim strSourceTbl AsString dimstrSourceColumns...
View ArticleWierd Form and Icon problem
Win 7 Ultimate & VS2012.I have a strange icon problem We got a process in C# from http://www.codeproject.com/Articles/21202/Reparse-Points-in-Vista an converted it to VB. This problem is described...
View Articleimage resizing
suppose i hv window application , in which i asked user to upload a picture , when he upload picture then i want to add another feature to resize that picture so only that part of picture is shown. for...
View ArticleWierd Form and Icon problem
Win 7 Ultimate & VS2012.I have a strange icon problem We got a process in C# from http://www.codeproject.com/Articles/21202/Reparse-Points-in-Vista and converted it to VB. This problem is described...
View ArticleCombobox selection
I'm basically working on something that has 10 combo boxes with multiple drop down choices to pick from. Im pretty new to coding so bare with me as i try to explain my goal. Basically i put items in...
View Article