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

list box tooltip?

Hi.Is it possible on a WinForm C# application to have a tooltip appear under the mouse cursor when you hover over an item in a listbox?I am using .NET 2.0

View Article


system.windows.form.tooltip.settolltip causing problems

HelloWe have an add in in outlook.in the transcription page we are able to play and pause .wav fileswhile playing a .wav file and dragging it;the pause icon disappearsand the slider does not progress...

View Article


Custom Scrollbars in Visual Studio Windows Forms C#

Hello Everyone,Issue: Creating a custom vertical and horizontal scroll bar with no top and bottom arrows and with different colors,width and height.Developing platform: Visual Studio Windows Forms...

View Article

Object Reference not set to an instance of an object DataGridView

Hello Experts,In VS2010 I have C# project with DataGridView bind to datasource showing 4 columns but some times i get this weird error "Object Reference not set to an instance of object" and this is...

View Article

Setting Line-spacing / Font stretch

Hi,I'm using the ..NET 2.0 Framework and I am trying to draw a string onto my control with a pre-defined line spacing. I looked at the TextRenderer.DrawText() and Graphics.DrawString() functions but...

View Article


Help: Problems with design in Databindings Visual Studio 2012

Hello, I need your help please...well i'm doing a system in visual studio 2012, and i have a problem when I use the databindings...this is my code:   Imports System.Data Imports System.Data.SqlClient...

View Article

wrapped MFC control reflection

Hello, I'm trying to use a custom MFC control (derived from CEdit) on a .net Windows Form but the message handlers (ON_CONTROL_REFLECTION) for EN_KILLFOCUS and EN_SETFOCUS are never called. The only...

View Article

Creating a gui for a windows service

I've been asked to convert a windows application into a windows service but retain an interactive gui. The application is a multi-threaded application that does web calls and db calls.Are there any...

View Article


Crystal report loads slowly with huge data. Can we make crystal report...

Hi, I have visual studio .net 2002 professional edition installed on my computer with crystal report version 9.1. An application is generated using the above tools, the problem is crystal report loads...

View Article


TreeView and Tab Control

Hi,I am using Visual Studio 2010 vb,I am trying to use the treeview and tabcontrol to select usercontrols to display in the window.Here is my function to select the usercontrols:Public Sub...

View Article

How to add images to tree node c#

i am populating my tree node in loop and i want to add custom (+/-) images to every node. also i want that when user click on any node then i will change that node (+/-) image on fly and later set...

View Article

round numbers question

hii have some round numbers question,1)  how to take only 2 numbers after the dot ?    1.23456  ==>  1.232)  4.79    ==>  4.8 3)  7.998  ==>  8 4)  1.937  ==>  1.9thanks,

View Article

replacing combobox with checkedlistbox for multiple search

hello there,i am working on a c# project. backend sql 2008. There is a search button earlier which takes the booth no (column in sql table) from a combobox. Now my client want that i use checkedlist...

View Article


Peculiar Crash Error

I have a windows form with a textbox, and my pushbutton event takes the value of the textbox and plugs it into my SQL string.  Which will then connects to SQL Server and pulls data into an excel...

View Article

Image may be NSFW.
Clik here to view.

Dragging a file into a RichTextBox - want only the path to the file, not the...

Hi.I have a rich text box that I want to allow drag and drop from Windows Explorer, and that part works.  Sort of.  When I drag a file into the text box I get two bits of info - one is the actual file...

View Article


urgent pls help !! Javascript in IE not working in ICA sessions

Our users are running windows application in a citrix, within the application we use IE by web browser control in to access a site that use JavaScript during execution. When I try to run the site in...

View Article

reverse string without using any C# function

hii want to reverse string just likeinput is "My Name is Khan"output is "Khan is Name My"my function ispublic sring reverse(){string str=" my name is khan";string str1=string.empty;string[]...

View Article


Several charts

How to synchronize two or more charts (not chart area)? Necessary to make the scroll bar first chart could manage change another chart. Thank you!

View Article

Image may be NSFW.
Clik here to view.

Draw Transparent Image

I know this question has been asked, but this one is different.  I'm making an animated splash screen for my program and the splash screen images that are for the animation are transparent.  I the...

View Article

Multiple image thumbnail viewer

I am trying to create a simple winform application in c# that can load multiple images from a file dialog into the application screen. I am using ListView control to contain those images as picture...

View Article
Browsing all 12583 articles
Browse latest View live


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