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

how to show display memeber of datagridviewcombobox from textbox?

Hi,I am developing an accounting software with vocher entry as Master Detail. using vb.net and mysql as shown below. As you see there are two datagrid combo box 1 for 'Debit/Credit'(Built in the Grid)...

View Article


Reading AppData Path for Current User in Remote Machine

Hi,When I am logged in a remote machine, I can read the AppData path of the current user by reading remote registry. But if other user is logged in into that remote machine, remote registry returns...

View Article


Form Leave Data Capture

I'm working on a C++ .net app.I need to detect when a user leaves a form so I can capture changes that were made. I tried using the Leave event to perform the data capture. This works if the user...

View Article

Why is NMHDR.code always 0 for Virtual ListView messages on Win7 x64

I have the following C# code on Win7 64bit, Visual Studio 2008. The class is to implement a virtual ListView.        protectedoverridevoid WndProc(ref Message m)        {              bool bHandled...

View Article

appropriate resources for the specified culture?

Hi all; My WinForms app is throwing the following exception. Please keep in mind that this is one of the projects that I've included into a new solution. (IOW: the project is shared between two...

View Article


How to catch template items in c#

all i want is to close the child window, when its overlay is cliked, edited template and named the overlay "childOverlay", but getting no way to catch that overlay in c#, any suggestions??

View Article

Adding SortedDictionary values

I'm trying to compute the Chi-Square values for a list of keywords.It is strange that the chi-square values (sorted in alphabetical order of the keywords) are cumulative. I can't find where the problem...

View Article

Viewing Visio Shapes within a windows forms application

Hi,Task: i would like to view a visio document in my windows forms application on any control, i dont like to open the visio application itself.Environment: i am using c#, .net 4, visual studio 2010....

View Article


How to detect the request being sent inside the WebBrowser control

Hi,I have added a WebBrowser control inside my Windows Forms application. I'm trying to achieve a functionality where I can show to the user the request that is sent by the browser when he performs an...

View Article


c# windows forms

It's a button runs a graphical function that shows things with prespecified speed (specified by scrollbar value). How can I change the speed when the function is running??

View Article

how to format string by number

hii have label in my WinForm that contain text.i need that if the text is name - Will remain as it isbut if it number - i need it on number format.for example:AAA = AAA DDD = DDD 1233 = 1,233 10233 =...

View Article

Update XML element value or attribute value

Hello,I have this Xml document and i just want to know how to update the element 'name' value based on target id:<sites>  <domain id="US1.COM">    <site id="s1">            <target...

View Article

Detecting the visibility of a panel for manual refreshing

Hi forums,I have a form with multiple tabs.  Each tab has a custom control that needs to be resized manually.  Right now, I have a static event that lives in the parent form that fires a resized event...

View Article


Image on top of transparent form

I use the following image in a PictureBox on a simple Windows Form:http://www.iconarchive.com/show/refresh-cl-icons-by-tpdkdesign.net/Network-Remote-Connexion-icon.htmlI want to give the impression...

View Article

How to have an image in any of the subitem of listview control in c#

I am having trouble with ListView component in view.details mode. I want to have any of its subitems of ListViewItem to have an image. Is this possible? Thanks in advance.

View Article


How to extend satellite assemblies for Localization purposes?

            Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("ar-sa");            Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("ar-sa");...

View Article

winforms auto scaling in vb.net

how to implement winforms auto scaling in vb.net?

View Article


delete records automatically after 30 days

i am working on gym management project. i want code logic to delete due fee date records exactly after 30 days from dute date

View Article

Drag&Drop without freezing in C#

I'm newbie in C#. I tried to use background worker for drag and drop files to a listView, but I don't knowwhat to write in DoWork. as I saied before, I'm a newbie and try to make it without background...

View Article

Adding progress bar to status bar causes other panels to go black

I have an application, where I have added a progress bar to the status bar. I started to notice, that when I launch the application and at the same time activate some other window, covering the area...

View Article
Browsing all 12583 articles
Browse latest View live


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