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

update database from datagridview

I am using the following code to update a database from a datagridview but I need to be able to use a different connection string but with the same code, how would I do this ? see code...

View Article


SSRS 2008R2 : How we can use a checkbox as a parameter ?

Hi,I am new in SSRS world. Is it possible to use a check box as parameters? e.g. Suppose There are 3 parameter in my reports. 1st one is Site, 2nd one is  Component and Third one is a Check box (name...

View Article


Monitor Memory, CPU utilization

Hi,  I want to monitor memory, cpu utilization while running a specific module in the application. Is that we can track using c# code, to get a average memory and cpu utilization for a specific...

View Article

Save combobox.SelectedIndex in Properties.Settings.Default... for future...

Hello,the goal is to save the combobox-index into PropertiesSettings  to keep the settings for future sessions.That is working properly. Let's say the chosen index is 2.When reloading the form, the...

View Article

Calling Store Pocedure

Hello..I just want to ask and clarify if still MVC4 can use stored procedure? without creating EF, EDMX, Linq Objects.. just plain stored procedure like the previous development procedure in web forms...

View Article


100% Disk Usage in Windows 8

I have switched over to Windows 8 64 bit and everything was working great. When I booted up my laptop I noticed it was running terribly slow. When I opened task manager I saw that disk usage was at...

View Article

Windows 7 Hangs

We have a .net app. While navigating the screens  Win7 hangs.  The details of the hang is given belowhttp://stackoverflow.com/questions/12145436/the-system-hangs-while-navigating-to-wpf-screenI...

View Article

How to set delay without freezing/locking GUI

I am working on a program that i already written in Python. But now i'm trying to make same program in c#. Problem isdelay. Thread.sleep() freezes GUI, same thing in python.  But i found solution in...

View Article


Image may be NSFW.
Clik here to view.

Populating Combobox's List with multiple elements of a tuple from a database...

Dear Friends,I have a scenario wherein I need to fill the List of ComboBox (so that autocompletesource shows up) like that in the screenshot.This was done in access. All the elements that make up a row...

View Article


Which DataGridView Cell was clicked if I share a ContextMenuStrip with more...

I want to share a ContextMenuStrip between two DataGridViews - i.e. DataGridView.ContextMenuStrip = whateverIn the ToolStripMenuItem.Click handler I can determine the associated DataGridView by using...

View Article

Implementing Icomparer (or trying to)

I need to be able to Remove from a Generic List and so must implement an Icomparer.  (I guess today there is a Linq solution to this but I have yet to learn anything about Linq.) My problem is that in...

View Article

Is there a way to determine if a control is 'view-able' on a form?

I have a bunch of controls located in a splitcontainer panel. Is there an "out of box" way to determine when a control is pushed out of view due to re-sizing of a split container?

View Article

Dynamic Filling of TextBox AutoComplete not working

View Article


how to get the server date time in C# windows application

i have 3 systems connected in netwok and i have made 1 systems as server and i hav to get dat servers date and time how to get it and im using vs 2008 windows application..... pls help

View Article

How to make report from spooled text file?

I need to create WinForms application that reads spooled text file and prints reports (invoice) in PDF or on paper.I was thinking to use reportviewer control and .rdlc report.My biggest problem is that...

View Article


Why Wampserver not work on windows 8

I am using 64 bit windows 8 operating system. Wampserver is installed on my laptop but I am unable to use this. When I start localhost then localhost page opens:But when i click on phpmyadmin I get 403...

View Article

A generic error occurred in GDI+.

In Windows 2003 server 64 bit with Citrix running our 2.0 winform application, we are getting gdi+ error. It happens after locking/unlocking a citrix session, then the error occurs. I'd like some...

View Article


How do i make a radoibutton glow when i mouse over another item?

I want a radio button to make the same glow when i hover over a label like it does when i hover over the raido button itself or its .Text 

View Article

Using Generic List (Of T) .Contains and .Remove - I got it working but I'm...

I've had an "interesting" couple or hours trying to use Generic List (Of T) .Contains and .Remove.  I'll spare you the details but for a while I thought I'd need two additonal Classes and three...

View Article

Why this code doesn't execute?

So, i was trying to make a delay in my program without freezing the GUI, and i got the answer, but now i got another problem.. Why doesn't this code execute well? private void activate_b_Click(object...

View Article
Browsing all 12583 articles
Browse latest View live


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