Quantcast
Browsing all 12583 articles
Browse latest View live

C# VScrollBar stop responding suddenly while clicking the up/down button...

My Form has a Panel which has an inner panel. I have a VScrollBar inside the parent panel, which scrolls the inner panel. Everything works fine. But if I keep on clicking the up/down zip of VSCrollBar,...

View Article


devexpress grid

hie i am using a devexpress grid,when i am trying to store a a value in database it gets saved but it doesnot display on my grid after saving can you please help me.Thank You.

View Article


Serialize / desirialize a Winforms treeview with Objects

I have a Windforms treeview with several different custom objects in the Tag property of the treeview nodes. What is the best and efficient way to serialize treeview in a file and to deserialize it...

View Article

Strange behavior changing Font of ContextMenuStrip...

Hi All!I found a strange behavior when changing Font of a ContextMenuStrip.Actually a change the font of my ContextMenuStrip to force to have fixed font size independantly of Dpi of the system.I know...

View Article

smtp setting get removed from config at build

Hi I was hoping someone could assist me with this I have a an application that has smtp setting in the config file but each time the application is rebuilt the compiler strips out the system.net node...

View Article


Image may be NSFW.
Clik here to view.

Security Advisory 2896666 - Microsoft Fix it solution "Disable the TIFF Codec"

Hi AllIts regarding the Security Advisory 2896666. I have applied the fix explained in the advisory i.e. did a registry entry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Gdiplus and created DWORD...

View Article

ContextMenuStrip not working for ListBox control on Windows Forms app running...

Hello,I've been mostly successful porting my company's desktop app (WinForms, C#) to our new Surface Pro tablet, but have not been able to get a ContextMenuStrip to appear with a finger or pen touch...

View Article

Localizing the shortcut keys

Hi,I am trying to localize the shortcut keys to French from English. I have specified my shortcut keys in a xml file which will be read through the code.For e.g. I have a shortcut specified (Alt +...

View Article


Does it possible to create MS Chart control in Visual Studio 2010

Dear Sir,            Does it possible to create MS chart control in visual studio 2010, and if it's not possible,  then there is any other solution to do this in visual studio 2010.ThanksShyamsunder...

View Article


Image may be NSFW.
Clik here to view.

Child window minimize within the parent window

Hi,My child window should minimize within the parent window when clicking minimize button, LikeAny code or Tutorial...?

View Article

Change the top left icon on a XNA C# program

Hello everybody,I need some help for changing the top left icon with code for XNA C#.Please help me!

View Article

WinForm - Title Bar

Hi,I wanted the form to remain sizable but didnt want the title bar.... so i made form.text as an empty string and controlbox to false inorder to remove the titlebar....but the problem now is, when i...

View Article

Create New bitmap from Background image

Hi,I have found a piece of code that loads a single image and creates a new, resized bitmap to put it as a the Form1 background. The reason I don't simply use the stretch property is, this code...

View Article


Datagridview

Good day, I am developing a music player, just that I am having a problem inserting data into datagrid, as I am trying to put the names of the music in a column called "name" and address the same, in a...

View Article

datagridview column type

I am populating a datagridview control in windows form using c#. The datagridview is poulated and the first column is Currency.Question: Now I would like this column to be set to have autofilter...

View Article


University Work - Random Picture Boxes - Please Help

Hi there I am new to C# so need a bit of assistance if possible. I am trying to create a Whack a Mole style game, where I want a few of 12 picture boxes to appear randomly, stay for a set amount of...

View Article

How to Make Picture Boxes appear randomly for a set amount of time

Hi thereI am new to C# so need a bit of assistance if possible. I am trying to create a Whack a Mole style game, where I want a few of 12 picture boxes to appear randomly, stay for a set amount of time...

View Article


VB.Net Get Mapped Drive Folders

hi gurus, i found this code to list the mapped drives.Dim drive As System.IO.DriveInfo        For Each drive In System.IO.DriveInfo.GetDrives()            If drive.DriveType = IO.DriveType.Network Then...

View Article

C# open a new form, and close a form...

Well... i want to do this: open a form and close the form that is open...Example:Form_P f = new Form_P();f.Show();this.Close();But, my program close.. why?

View Article

DPI-aware only works in Release mode and not in Debug?

Hi all,I've been using the code in the link below to make my C# windows form program(s) dpi-aware . I noticed before that it didn't work in Debug mode but it didn't bother me until now. How can I make...

View Article
Browsing all 12583 articles
Browse latest View live