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

Designer elements just vanished?

I was working on a project that I've been working on for months now and I decided I would play with adding a background to the main form window. After doing so and adjusting the background slightly...

View Article


Remove Rows from TableLayoutPanel

Hi there, I'm desperetely trying to create a method which would delete all rows (which i add through another), but it doesn't seem to work: Init Paths Method: private void InitPaths() { int c = 1; int...

View Article


Printofile/GetFormImage quality

I have a VB application that generates some drawings (lineshapes and picture boxes). During runtime I would like the user to be able to save whatever is on the form (scrollable) to a PDF file or Image...

View Article

change formatting of selected rows/columns

We are pasting data from microsoft word file to DataGridView column and saving into database but data format is not storing in the grid like bold,color,font type (italic etc) & size.We are using...

View Article

How to show a progress bar when datatable binds to datagridview datasource

I am using a stored procedure to grab data from a database then using a datatable to bind to my datagridview's DataSource.For example:            Dim dt = New DataTable            cmd = New...

View Article


textbox

If i typed 20 lines of data in textbox. while it getting saved into database it should split into 2 lines and get saved in column.

View Article

UAC registry query on windows 8

Hi Forum,Upto Win7, when we used  to disable UAC through control panel , below registry got changed to 0.Location: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\SystemKey:...

View Article

Upgrade from windows 8 single language to windows 8 blue

can i upgrade my windows 8 single language to windows 8 blue free? If i can then can u plz provide me he link so for upgradtion.

View Article


how to send myreader?

I have problem which I am not sure how to resolve. I am using "Loader" in my application. What I am doing is I am calling form, in which I am showing loading message, and I am running there some...

View Article


cascading of combobox in datagridview in winform

need help!! cascading of combo box in grid view,the code below is working perfect but i want cascading combo boxes to get the value from sql table and do selection according to that not the value I've...

View Article

windows 8 rtm camera on winform

I can detect the voice and camera through Microsoft expression encoder sdk but i cannot see the cam. I want to see webcam in winform for windows 8 tablets. I dont want to use metro application.

View Article

Image may be NSFW.
Clik here to view.

MessageBox does not disappear after user dismisses it

Hi,I have a message box that shows a warning to the user when they click some command button. My problem is that after the user clicks "Yes" (he is sure he wants to performs this action), the following...

View Article

How to get FlowLayoutPanel to re-WrapContents now, please?

FlowLayoutPanel's WrapContents behavior is mostly working well for us... whenever it wraps, it does the right thing. The problem is when it doesn't re-compute its wrapping... We have its FlowDirection...

View Article


Drag Drop pictures, index and file name VB

HiI want to create a window form that allows the user after an open file dialog has been used to populate a window form with the picture index, picture (can be as a small tile) and file name (no...

View Article

Scrolling ListBox via mouse clicks pauses timeSetEvent timer/callback

Found this in our C app but was able to replicate it in a simple C# WinForms app for demo purposes. We set up a timer using the multi-media timer timeSetEvent in order to have the UI drawing...

View Article


Change the color of checkBox within a checkListBox once it is checked

Hi,I have several checkBoxes in my checkListBox and I want to change the color of every checkBox whenever it is checked.Can anybody help me please?Thanks in advance.

View Article

Image may be NSFW.
Clik here to view.

Sql Compact Edition 4.0 - New Records not showing up in datagridview after...

I have a really weird problem here so bear with me. I have a C#.net application that I've built. I'm in the process of testing. Data gets inserted just fine into the database, however, the new record...

View Article


Image may be NSFW.
Clik here to view.

How to position ContextMenuStrip

I can't seem to figure out how to position my ContextMenuStrip below my dataGridViewCell. When I click the dataGridViewComboBoxCell I want my ContextMenuStrip to show right below the cell. Here's what...

View Article

Unknown connection option error

I'm trying to learn VB and have written a program to choose a restaurant. I'm using Microsoft Visual Basic 2010 Express and the DB is SQL Server Compact 3.5.  the program is a Windows Form application....

View Article

Image may be NSFW.
Clik here to view.

RichTextBox control formatting issue

I have an extended RichTextBox control which is working properly in Windows 7. It is loosing formatting if I run the same on Windows 8. Please find the images I had for Windows 7 and Windows 8.RTF is...

View Article
Browsing all 12583 articles
Browse latest View live


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