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

C# context menu entry via Setup project View/ Registry Entry

I have added registry entries for context menu using VS setup and deployment project. It adds menus in right click context menu but when I click menu item it is showing "this file does not have a...

View Article


ListBox: fast\quick\instant selection while typing - how to use more than...

Hello dear community,I have a simple problem. In my UI I use a ListBox. This ListBox contains more than 100 elements. The content ist sorted.Now I want to select one entry. To find the right one, I...

View Article


C# controls

Hi,I'm relatively new to C# having mainly mucked around in VB.Net but am striking a very unusual problem which is confusing the living daylights out of me.I decided as both a learning exercise and...

View Article

مشكلة في/ Windows 8

 تحية طيبةاشتريت نسخة (Windows 8).وبعد تنصيبها ظهرت العديد من المشاكل كنها:١.عدم التوافق مع نسخة الوورد ٢٠١٠. ٢.عدم التوافق مع (Key Board) بالرغم من اختياري الصحيح للغة وهي الانكليزية العالمية .٣....

View Article

dynamically load menustrip as per user permission

hi to all, i have an menustrip in the form MAIN i want to load menustripitems as per the user permission given in the tbluser database table which load during form load event in datagridviewPublic Sub...

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

Clear All TextBox On Form

hii have 21 textbox on my form and i clear all with this codeTextbox1.text="";Textbox2.text="";..TextBox21.text="";but this way very long , how can i do this with less code's?

View Article

add registry for all types of files

How to add a registry for all types of files using C# .net 2010

View Article


Webbrowser mshtml.dll crash ends my application

Hi,On some xp sp3 machines (fully updated) the webbrowser navigate method crashes my entire application.I use a single instance of the webbrowser controlHow can i catch this error and avoid application...

View Article


"has stopped working"

Hi.My app (.exe) that runs on the client's computer crashed as soon as it is executed, showing a message from Windows with the name of my app and " has stopped working" and then it offers (actually...

View Article

How to get keystroke from form without delay

I am creating a small game that requires keystrokes. As you may know a form gets keystrokes like a textbox does. When you hold down a key it pauses for a while before continuing. Is there a way I can...

View Article

Drawing icons and changing north orientation of a panel. Visual Basic

I have great confusion over something that may be sooooo simple.  I want to interact with a panel in a windows form.  I already have my mouse move event transferring the pixel coordinates to a label...

View Article

How to avoid change in control location and size after changing the DPI?

Hi Everyone,I have a custom control which has some child controls which are inheriting from control class only.at 96 Dpi everything works fine. but when i change to 120 Dpi the location and size of the...

View Article


combobox selection problem by various user preferences

I'm developing a program in vb.net that uses a form with comboboxes.   I would like for the user to have several options for selecting items in the combobox. 1.  The user drops down the combobox and...

View Article

How do you disable focus of a control....

 I am trying to make a simple program which has:2 TextBoxes             (inputs to program)1  RichTextBox        (output of program)The user enters data into the 2 textboxes, the program then processes...

View Article


no exception when hitting try catch?

I have a code which is all about editing files it does a lot of functions involving opening ,reading and writing .My problem is that i have a try catch on all of them but some times my code hits the...

View Article

Selecting drop down box value programmatically

HiI am using a html element to get a drop down element , I want to select a particular value programmatically, how can I do that?document.getElementById("DrpDwn").setAttribute("value","some value");...

View Article


searchindexer error

zAppName : SearchIndexer.exe szAppVer : 7.0.6001.16503szModName : msvcrt.dll szModVer : 7.0.2600.5512 offset : 00036fa

View Article

Is Time based redirection in windows forms applicatons Possible?

Hi,Is there any way to do time based redirection in c#.net windows forms? Winforms there is no concept of State management.How do i achieve that? What is my requirement is, I am doing MDI forms...

View Article

Track changes for the two different text lines in Win c# application.

Hi,Thanks for taking your time to read my query.I need to have a tool or mechanisem which works similar to the Track Changes in MS word. If I pass the two text lines, it should show me the difference...

View Article
Browsing all 12583 articles
Browse latest View live


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