Quantcast
Browsing all 12583 articles
Browse latest View live

Multiple Button presses / clicks - C# winforms - reentry

My question is about how to stop multiple button clicks / presses. If a button has a click event which results in a lot of processing, it's possible that the user can click the button more than once...

View Article


Deployment of C# Windows Forms Project

Hi,I have developed an application using Visual Studio 2008, .Net Framework 3.5 in my Windows 7 machine. I have not used any ClickOnce installation application. In the application I retrieve and save...

View Article


Windows 7 Error ( Welcome Screen Flashing ) 32bit

eI have problem in my laptop ,I downloaded an os skin pack ,then It asked me for reboot , I just choosed reboot and when the welcome screen came , it says Please Wait ,and after 5 sec ,it starts...

View Article

Flicker using doublebuffer

I created a UserControl which contains a Panel.I created an eventhandler for this Panel's Paint event. In this handler I draw a grid for the background and the a line which links to squares the user...

View Article

Host Windows Form user control in asp.net web page as activex control

We are currently using a 3rd party sdk which provides a windows form user control to display some live feeds from camera. The client requirement is to build a asp.net webpage to display this feed. From...

View Article


Host Windows Form user control in asp.net web page as activex control

We are currently using a 3rd party sdk which provides a windows form user control to display some live feeds from camera. The client requirement is to build a asp.net webpage to display this feed. From...

View Article

Timer event, button click event - both should not conflict

in a win form, i have used a timer control in order to check DB status say every 5 min, but in the same form a grid is available with buttons to do some process here in above scenario, the 2nd said...

View Article

C# How to get object name?

GuysIn the following code snippet, how to get the name of the object (declared in Main method)  in Print mehtod?Code Snippet:using  System;class Program{ staticvoid Main(string[] args){ Automobile car...

View Article


XSD.exe process StandardError and StandardOutput are both empty, but error...

So I am trying to run xsd.exe as a process within my code but there seems to be some issue. I have it set up like:System.Diagnostics.Process pProcess = new System.Diagnostics.Process();...

View Article


Calling button click Events in classes other than the form class

I have a program that I need the click events for buttons in another class other than than the form class.  I have all my code below (which I just realized I posted earlier in the wrong MSDN forum)How...

View Article

I am getting undefined network as well as no network Access in Windows 7 for...

I was having Widows 7 OS on my laptop.  Both LAN adapter and Wireless adapters were working great! However, only one used to work at a time. I used to disable the other when a need one. I also...

View Article

how to delete duplicate records from SQLDB

Hi,I want to retrieve original records from SQLDB.If there is any duplicate records, how to erase duplicate or avoid selecting duplicate records?.Thank U! 

View Article

where can i find windowsclient.net website videos ?

where can i find windowsclient.net website videos ?

View Article


button reference in one routine

Hello.  I have a form with 5 buttons on it.  Setting up a routine in which all 5 buttons will be inside it rather than 5 separate ones.  I've assigned a tag to each button and are attempting to do the...

View Article

Collecting trough WMI from Win32_PerfRawData_PerfDisk_PhysicalDisk Class,...

Hey i read from WMI to Get the IOPS for a Disk.but when i get the info i don't understand how to read it , the Numbers are to big.For Example this is a sample code:ManagementScope oMs = new...

View Article


(Newbiw)How to make a ListBox that changes values of another ListBox by...

2 Questions: 1.How to make a Listbox with Couple values without using any External DataBase? 2.when i Take the ListBox1 and select First Value i want it to update automaticly the ListBox2 with Option...

View Article

Visual C#, need help on non repeating numbers and sorting richtextbox numbers.

I am new to Visual C# and I am trying to sort a RichTextBox and generate non repeating numbers. Please help.  (I am using Visual C# 2010)My code is as follows...using System; using...

View Article


ListView checks items upon selection of multipe rows via second column

Steps to reproduce: 1. Create C# Windows Application project2. Add ListView control to the main form3. Change ListView to 'Details'4. Add few (>3) items to the ListView5. Add 2 column headers to the...

View Article

How do I show a new MDI child form without losing focus?

I have an application in which the main form has some controls placed on it and it is a MDI parent.  I want to create and show a new MDI child window without the focus changing from the parent window's...

View Article

Getting events from hosted applications

Hi,I am working on an application where I need to host some other applications like "notepad" into my host application. So far everything is going good. but, one more thing I am more interested in is...

View Article
Browsing all 12583 articles
Browse latest View live