Quantcast
Channel: Windows Forms General forum
Browsing all 12583 articles
Browse latest View live

Datagrid auto add rows and calculate Visual Basic

Dear friends and VB Master,Please help me, I'm newbie at visual basic .net. I have a problem to calculate round robin schedule that I'm implemented it at datagridview. I have a data in dgv like...

View Article


picturebox üzerine buton sürüklemek

Arkadaşlar,runtime'da picturebox üzerine buton sürüklüyorum.Butonun etrafında küçük kutucuklar var resize yapmak için.butonu picturebox üzerine sürükleyince kutucuklar kayboluyorekran...

View Article


System booting takes 40 mins

Good Morning ! I am having problem with my system. when booting my windows , nearly it takes 30 mins to 40 mins to work. i mean Normally desktop screen appears i can't hit any icon on the desktop or...

View Article

button dragging to picturebox

Hi,i created picturebox and resizable and draggable button at runtime.I dragging button into picturebox but disappear around rectangles of button.I bringtofront button and sendtoback picturebox but...

View Article

How to set a default value for a Combo Box?

I’m creating a Combobox dynamicly at run time, however, I don’t’ know how to set the default selected value for it!!? Thanks.Dim MyComboBox As New ComboBoxMyComboBox.Name =...

View Article


Microsoft Windows Image Acquisition Library v2.0 - Duplex

I have a ScanShell 800DXN, I'm trying to use VB.net to scan both sides of a license at the same time. I'm using WIA which I can get to work with one side, if I set property 3096 to 0 (for all pages)...

View Article

Serious Problems with RichTextBox using RICHEDIT50W for HyperLinks.

It seems there are serious problems with RichTextBox that uses  RICHEDIT50Wfor some RTF files ( eg. http//:<cite>www.poppelawfirm.com/library/Wadlingotn%20v%20Rolshouse.rtf)  </cite>that...

View Article

MainWindowHandle is zero!

I am developing a Windows Form application using Visual Basic 2010.  What I am trying to achieve is to open an application and have the application's Window displayed in a Form or in another container...

View Article


Cannot Access a disposed object System.Net.Sockets.NetworkStream

 FtpWebRequest req = (FtpWebRequest)WebRequest.Create(new Uri(FTPManifestFile));            req.Credentials = new NetworkCredential(uID, pswrd);            //req.Timeout = Timeout.Infinite;...

View Article


Middleware for winform client and MYSQL server

Hi Guys! I have a Winforms Application which is supposed to act as a client, and the server runs linux OS. The client needs to perform basic operations on a MYSQL database. Now, I have been successful...

View Article

Save form and all that is in it

friends, I have a form with two combo boxes. These boxes have a list of names. After selecting a few names I would like to keep this form with this selection, so that when you open the form, I see the...

View Article

How 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 Article

Mapping Datagridview with dataTable.

~What i am doing.#I am retrieving data from excel file and storing it in dataTable.#this dataTable is then mapped with dataGridview for display.#To the visible Datagrid i add an extra column ( ex...

View Article


Setting default values in bound controls on a form

How do you set default values for bound fields in windows forms?  There are times when specifying the default value in the underlying dataset is insufficient. The fields are bound to a binding source...

View Article

How to timeout a button_click event

Hi everyone,I wish to create a situation whereby I can timeout a button click event thus:  private void btnInitialise_Click(object sender, EventArgs e)        {            writeData();        }I want...

View Article


An option to rescalling the GUI size

Hi All,I’m working on Visual Studio 2010 C#I need to give an option to the User to change the Form size i.e. the User could drag the form to other sizes than their default sizes.Is there a function...

View Article

ListView

Hi All,How do I disable and enable the doubleClick of an item in the ListView?Example:  Under certain menu choices, users are allowed to doubleClick on any single item listed in ListView, which bring...

View Article


Print PDF files from a directory.

Hi, I want to write an application that  1.) Runs in the background and checks a particular directory.  Should I create a windows service or a console application or something else? What is the best...

View Article

Font causes GDI leak in custom control

I have created a custom control like below.publicpartialclassTextBoxEx:TextBox{publicTextBoxEx(){InitializeComponent();Font=Utility.normalFont;}protectedoverridevoidOnPaint(PaintEventArgs...

View Article

ListView not updating white copying files in different thread

The Listview updates at the end if I have copy running in main thread, but it does not update at all if running in different thread:public void btnPaste_Click(object sender, EventArgs e) { Thread t =...

View Article
Browsing all 12583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>