Bind User Control inside a GridView
Hi guys;I'm trying to bind a property of one User Control but it doesn't work. The User Control is inside a GridView.//Just an example<asp:GridView ID="gvTraining" runat="server"...
View ArticleWatermark adding
Hello! I'm currently working on a school project, in which I need to add a watermark to every photo that is being uploaded to the site, and save a new copy of it (while keeping the original one). I...
View ArticleProtect App.Config file or Encrypt
Hi Now i am new to this App.config file ... whenever i install the Project exe on other machine it stores the App.config file in the program files with respective folder and we can open and see the...
View ArticleDrag and drop the button in c#
I wann to move the button from one place to another place within the form anywhere.But,i cannot able to move by using my code
View ArticleChechkboxlist - c#
Hi All,Iam a newbie into this field and i was assigned with some weird task, iam using a checkboxlist in windows applicartion and chechbox should be checked/unchecked only if i click on the checkbox...
View Articlehi
i want to do this.. open a form 2 and close the current form then what i do pls...?? Form2 d = new Form2(); d.Show(); this.Close();
View ArticleC# Drag,Drop new label
Hi, I have a dilemma.In the Code I am creating a new label every time the button is clicked. (Windows Form Application)I would like to know how I can drag and drop this label around the form. Then...
View ArticleGet (Print) the screen below the form
It seems that this problem is likely that i'm making a glass window on windows XP.I've used this code Public Function GetScreen(ByVal frm As Form) As Bitmap Dim hwNd As Long Dim targetDC As Long Dim...
View ArticleSingle instance and passing arguments
I am trying to create a single instance WinForms application where if a new instance is attempted to be launched (such as double clicking on an associated file type), I pass the new instance's command...
View ArticleHow to control a default HscrollBar of panel with autoscroll is false in C#?
I want to know how panel Hscrollbars work with the panel's autuscroll property is false.I need sample code to study.Thank you very much!
View ArticleHow to add Items to listview in another form by clicking a button in primary...
Hi! I have two forms. form1 and form2. Form 1 has a button which when clicked, should add an item in listview of form2. eg. If I click on button "Soup" then listview in form2 should b populated with...
View ArticleClosing a form by animation.?
Hello guys! I can successfully animate and open my form using AnimateWindowFlags. Along with BLEND and SLIDE effect. My problem is that I cannot figure out a way to close the forms in same fashion. I...
View ArticleResizing Listview?? (this is different)
Guys, I have docked my listview to the top of the form.I want to assign a drag of the listview so as to resize it during runtime. eg. It will b like, After opening the form, the user can drag the...
View Articlewinforms buttons, shading and images
Hi,I am putting a button on a form and I want to have an image in the button. I can do that. But I've noticed that the lower half of the button is shaded and I want to get rid of that. (The image is...
View ArticleHow to forcefully stop a BackgroundWorker thread in MVP Pattern
Hi,I have seen some threads related to the issue I am facing now in my Windows Application. But I haven't found a perfect solution yet.Can someone please help me out on this. I have a Background Worker...
View Articlecreating instances of an existing groupbox in windows forms
Hi, I have a groupbox (groupbox4) on a form with textboxes inside. I want to create instances of this groupbox at runtime and place them on the form. How do i achieve this in vb.net without having...
View ArticleHow to attach a file in vb 2010 and make others to download with a save...
Hi!I would like to make a windows program. I want the users to upload (word, excel or any picture) file (just like in the web interface "FileUpload"), and fill some textbox. After they click on save,...
View ArticleIn a RichTextBox when I highlight a string the previously highlighted string...
I hope someone here can help me, I've been struggling with this for many hours.I have two RichTextBoxes. In both cases I need to highlight text which is already in the RTB. (So I can't use Append.)In...
View Articlehow to sort the issue of multiple window form getting displayed when I am...
What is the source code for step by step moving from one window form to another window form.
View Article