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

FolderBrowserDialog does not show network drives on Windows 8

Hi,On Windows 8 when we use FolderBrowserDialog, the network drives are not displayed. It works fine if we run the same program on Windows 7. Do you know if it's a Windows 8 restriction?Thanks.Olivier

View Article


Group Box and Panels Issue

I have 5 group boxes (or 5 panels) either one creates the same problem.  All of the groupboxes are the same size.I am stacking the group boxes on top of each other.  I am using the visible = true/false...

View Article


How to set focus in textbox after few characters in windows forms c#?

Hello,I have multiple textboxes on a form and enter data into it manually and from buttons which I have designed on same form.The problem is when I want to add value into textbox after some characters...

View Article

Image may be NSFW.
Clik here to view.

CheckedListBox - checkboxes not drawing on load

When I load my form the check boxes on a CheckedListBox don't draw (only on the computer that the app should run on)Moving the form slightly seems to cause them to draw.    Me.Location= New...

View Article

How can I show a Messagebox on top of my worker-threaded splash screen?

Hi,My Windows Forms app shows a splash screen that is created on a worker thread in program.cs. Before showing the MainForm in it, I need to do a lot of stuff that includes showing error messages by...

View Article


How to show WPF Window from WINFORM's button?

Hi,I have 2 Project, 1) WPF Application 2) Window Form Application.Here is the thing I wan to accomplish:-> when a button in Window Form(2) is pressed, the WPF Window from (1) will pop out.I cant...

View Article

Image may be NSFW.
Clik here to view.

Non printable characters are not displayed under windows7

When there are non-printable characters in text, those can be viewed under XP but not under Windows 7. I have sameple c# program on skydrive to show this issue. When you run this program on XP...

View Article

How can i convert xls to pdf using C#?

 Hi all, In my project, one task is assigned to me. that is, Convert xls to pdf using c# coding...How can i do that? i'm not getting any idea. Already i did conversions like xls to xml, xls to csv......

View Article


How to export from DatagridView to Excel Sheet in C# Windows Forms

Hi,I am developing an application that loads a spreasheet to a datagrid, i then add a column (with data) dynamically in the datagrid. How can I take the data in the whole datagrid and display it in a...

View Article


How to export GridView data to excel in asp.net in C# :

How to export GridView data to excel in asp.net in C#  http://qutubhaider.blogspot.in/2013/08/how-to-export-gridview-data-to-excel-in.html

View Article

Image may be NSFW.
Clik here to view.

change context menu strip render

hey!i'm working on a small app project in c# & i want to create a custom context menu strip , what i want to do is transforme this :to something like this :by changing the border style & the...

View Article

C++ Program for Extracting data from windows logs.

Hi ,We have a way to save windows event logs in 4 formats (txt,xml,evtx,csv). How can i achieve the same with the help of a C++ program. Which dll we might have to include ? or what system calls we may...

View Article

clear datagridview

if there are records shown in a data gridview i want to remove them not from database only from datagrieview. on button click event whats wrong with code            foreach (DataGridViewCell cell in...

View Article


Hide duplicates in a combo box

Hi , I'm developing a GUI which has a datagrid , the data grid contains a list of client information      Client Name , Client ID , Fund NameA client can have many funds so although I have DISTINCT...

View Article

Image may be NSFW.
Clik here to view.

IE open an empty tab when open more then 4 files

I have a data grid view with links to XML files and the user can open them in IE. I also supported multi line select.The function to open the XML files is:string pathXMLfile = ""; foreach...

View Article


Catching SelectedIndexChanged event from ListBox in UserControl added at run...

Hello. I have a standard listbox inside standard usercontrol. Data source of listbox is a collection of class with 2 fields created for Display and Member values. I add instance of this control at run...

View Article

c# print specific text with underline

I want to print some text like this. This is how i want to print the text. the code i am using isprivatevoid button3_Click(object sender,EventArgs e){ stringToPrint ="This is how i want to print the...

View Article


TabControl Load Page

Hi, I'm wanting to run some code after a page is loaded in a tab control.I can run the code when the tab for the page is selected uing this.Private Sub TabPage2_Enter(sender As Object, e As EventArgs)...

View Article

Updating a Form After Settings Change

Hi,I have two main forms in my project. One is the main GUI and the other is a settings/options form (opened using Tools -> Options on a ToolStrip). The options form contains a few settings, such as...

View Article

Can WebBrowser control use tooltip?

Hello,It looks like even though I set tooltip for webbrowser control, it doesn't show up.Well, obviously, I may use html tag to show up some tooltip(like title tag)..however, this is not something I am...

View Article
Browsing all 12583 articles
Browse latest View live


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