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

IE 10 won't work after being downgraded

Hi,I'm using windows 7 32 bit system, recently I'm trying to downgrade my IE 10 to IE 9 or 8.Cause i can't find the upgrade feature in the Control Panel, I followed the instruction I found online,...

View Article


Which is the best way to display xl sheet in window forms

Hi,Can any one suggest me what is the best method to show a Excel sheet in windows form .That can load 2007 to 2013 Excel files. If any it should show merge and comment cells..Hidden cells optional....

View Article


Help! "Only one usage of each socket address (protocol/network address/port)...

I'm currenctly building a port listener and analytic reporter. The user can specify a port to listen to, and the program will analyse traffic through the port in question. By default, the standard is...

View Article

Install Desktop Experience programmatically

Is it possible to install the Desktop Experience programmatically in C# on Server 2008?

View Article

PhysicalDisk perfmon counters versus LogicalDisk counters

Hi, We have a Physical disk which is partitioned into 4 drives,D,E,F,J.We are using Windows server 2003. I am monitoring individual logical disk idle time and physical disk idle time. These are a day's...

View Article


Fix tab order on form with many pages and many panels

I have a form that has 32 pages (don't go there, it is a configuration form and seldom used).  On every page of the tab control there are panels and inside the panels are controls.  The problem is,...

View Article

Visual C#

I would like to update my access file from the child form, and in the parent form I would like to see all the changes.  For example, in the child form it would update my employee table, and in my...

View Article

Problem in comparing and highlighting selected text in RichTextBoxes

I am working on a c# add-in project and i want to compare two richtextboxes and highlight the differences.but my code will highlight the whole content of the richtextbox. But I want to highlight only...

View Article


Image may be NSFW.
Clik here to view.

Draw 2 Circle and connects circles at the circumference of the circle

Hello experts Please HelpI have a Problem I am Drawing 2 Circle Using C# Graphics . I want to add a Line Between them How do i do that My code Is Below protected override void OnPaint(PaintEventArgs e)...

View Article


How to force particular program open with my program ?

hii made a cool C# program that can open *.sdf  files.how to force any *.sdf file that will open with my program ?example:if i press double click on any sdf file my program will open and open this sdf...

View Article

Webbrowser mshtml.dll crash ends my application

Hi,On some xp sp3 machines (fully updated) the webbrowser navigate method crashes my entire application.I use a single instance of the webbrowser controlHow can i catch this error and avoid application...

View Article

Property VIew Details of ListView. Display the grid

Hi, How I candisplaythe linesof aListView.WhenItry to put Détails to the property  View but onlyappearsGridView.I didthesettingsintoolsto always display theGridLinesbut I can notlook theGrid.How i can...

View Article

What can cause "Error Creating Window Handle" on Control.CreateHandle()?

What can cause an exception stating "Error Creating Window Handle"? I get this exception all the time: System.ComponentModel.Win32Exception: Error creating window handle.at...

View Article


Text File Destination VB

I've created a program and i think I've exported it properly to run by itself. I run it, and it creates a text file to save data into. I've defined a filename, but not a destination, and while creating...

View Article

setting region of a user control that has a graphicspath with varying outline...

I have a user control1 hosting user control2. User Control2 outline is drawn with different Pen width.I need to set the region of user control1 so that the user control2 shape is maintained...

View Article


"The requested resource is in use" when calling WebBrowser.Navigate

I'm writing an application that sequentially loads several web pages into a web browser control, but on subsequent loads, I'm seeing the following error:System.Runtime.InteropServices.COMException was...

View Article

Copy Text to clipboard

Dear Friends,In my Web browser application using VB2010, I have a TextBox1, a ComboBox1 and a WebBrowser1 controls.When I select (highlight) a text to copy to clipboard, whether on the web browser or...

View Article


How to obtain a string[,] or int[,] from a file with integer values

I have a file with array of values as    0   0   0   0   1   1   1   1   0   0   0   0   1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0      0   0   0   1   1   1   1   1   0   1   1...

View Article

Exporting DataTable to Excell file using OLEDB connection ?

Hi all,Im trying to export my datatable to an excel.xlsx file. It doesnt seem like my dataset is getting any data so it wont copy to the excell file. I was wondering if there is a better way of doing...

View Article

How to show " select item " for combo box if nothing is selected?

Hi all,i trying to show  "select item" within my combo box when nothing selected or these is no user input from the dropdown box. i tried it within an "if else" statement but had no success its seems...

View Article
Browsing all 12583 articles
Browse latest View live


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