how to save all controls in from in xml at runtime
i have form with many controls i want to save all this controls like name , location, text, in xml file to load this controls from this xml file when open anothere from to add this controls to the...
View ArticleProperty Grid Custom Tab Focus.
Hi all, I'm using a custom designer and a collection of custom controls, some properties of my control use an attribute to be displayed in a custom tab of my property grid.I would like to be able to...
View ArticleWhat's the state of the art for VSync with GDI+ / Windows Forms?
It appears that there is still no trivial way to sync to vertical refresh for GDI+ animation in windows forms. Why not? In my mind, this is such a fundamental service to be provided by an OS. Why is...
View ArticleSplit container - make a panel dissapear
I have a split container on one of my forms, which I use for two different grid controls. Sometimes when I open this form, I want one of the grids to dissapear. Now this is easy enough by using the...
View ArticleWebBrowser displaying a Vimeo video - can I get the start/stop play events?
Hi;If I have the WebBrowser control displaying a video (from vimeo.com), is there any way to get an event when the user starts/stops the video?thanks - daveWho will win The Windward International...
View ArticleWebBrowser control - how can I get error messages?
thanks - daveWho will win The Windward International Collegiate Programming Championships?
View ArticleLightSwitch: Sorted Data with Optional Parameters
I created a query called SortedLocations that sorts by the Id field. I then created a query with optional parameters that allows the user to filter by a different (y or n) field, and used...
View ArticleListbox - SelectedIndex fails on multiple adds to datasource
Okay,So, i have a derived class from BindingList<T> which adds some functionality, but then also adds a "AddRange" method which is not originally on the class. This method simply loops through...
View ArticleDataGridView intermittent error... "No rows can be added..."
I have an unbound datagridview that is created by the form designer. I populate it using a subroutine that does a .rows clear and then a series of .rows.add Later in the form I use same subroutine to...
View ArticlePropertyGrid.ExpandAllGridItems not working when property tab changes
Hey all, So I am currently working with the PropertyGrid, and am frequently changing the object being displayed. I wish to keep all properties expanded whenever we switch to a new object, and usually...
View ArticleVerify my account so I can post a screen shot
When will you be able to verify my account so I can make an actual post with all the relevant infomation?
View ArticleWindows 8 user: deleted IE10
I use windows 8...I went in to 'My computer', searched internet explorer, and put everything I could into the recycle bin, then emptied the recycle bin. (Reason being: my IE10 desktop version was...
View ArticlePARTITON AUTOMATICALLY CHANGS INTO RAW FORMAT FROM NTFS AFTER SOMEDAYS
i have following computer specifications. CPU 3.2GHZ Pentium(R) D CPU RAM 2GB INTEL BOARD 945G EXPRESS. HARD DRIVE 1.5TB PARTITIONS C TO I OS= WINDOWS XP PRO...
View ArticleHow to remove manual control formating
Hi Guyz,Need guidelines in a scenario. I have almost 130 forms in my desktop based application, initially I format each form and control manually but now I have complete skin that I want to apply on my...
View ArticleOData or Entity Framework for windows forms with sql azure
Hi,now I am using MS Lightswitch to build my applications, but I would like to build an application with winforms to create more complex screens etc.I would like to use sql azure to store my data,...
View Articleusb disabling
i tried this to disable usb port Microsoft.Win32.Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR", "Start", 4, Microsoft.Win32.RegistryValueKind.DWord); but the problem...
View ArticleApp.Config or Windows Registry?
Hi,I would like to ask which way you prefer t store variable which could be available for read/write? do you prefer to store in App.Config or Windows Registry is still best to use?Thanks,Jassim
View ArticleVisual Studio 2010, Calling a Form without any click event: batch file
Hi AllI have multiple forms, Form 1, Form2, Form3.Form1 > Has 2 buttons, On Button 1 click event I am running a batch file, on Button2 click event I am calling Form2 and running a batch file.Now...
View ArticleMay I download Windows 8 Pro from a torrent?
Hello MSDN CommunityI own Windows XP Pro for 32bit processors, however I installed it on my PC with a 64bit processor.I purchased the Windows 8 Pro with the upgrade assistant and the promo code,...
View ArticleConverting canvas with background to bitmap image - fails to show background...
I have a problem converting a canvas to a bitmap image in a C#/WPF app. Basically I have a canvas and the background of the canvas is a diagram of a piece of machinery. There are several coloured...
View Article