FileDialog filter makes response slow
When I add a simple filter to a openFileDialog, it can take several seconds to respond following the selection of a single file.Here is the code:openFileDialog1.Filter = "Runtime parameters...
View ArticleOverride default MDI behavoir
Hi. I am creating an application (primarily in C#), with MDI child windows. What I would like to do, is to override the default behavior that makes a newly createad child form maximized if the topmost...
View ArticleNeed help converting old .Net exe to project and .net 4.0
I have been tasked with recovering an old winforms project for which the project files are lost. I have the database, and the app is still in use.I used Telerik's JustDecompile to look into the exe. I...
View Articleraise event asyncronously on the same thread
I am using vb.net 3.5 formsI need to raise an event ascynronously from the UI thread to the UI thread. I need it to behave like a button click, timer tick or backgroundworker completed eventI neet the...
View Articlecounting number of times a record appear in vb.net datagridview column
hii have datagridview on my form which is filled with data from an sql database. part of my datagridview is shown below:patientID Name Gender Age 1 kofi...
View ArticleGDI+ and Multithreading
Does anyone know the guts of GDI+ enough to know why certain independent GDI+ operations are unable to execute in parallel, such as: Thread1Graphics.FillRectangle Thread2Graphics.FillRectangle The...
View Article"Directory name is invalid" when install driver
Hi all,I try install google ADB driver from device manager, but I find in some computer the device manager will show ""Directory name is invalid"" and installation is failed. (The driver works fine in...
View ArticleTrying to pass data object between 2 forms using constructor in C#
I'm trying to pass the string 'IDdateOfBirth' from the class 'ApplicationForm' to 'IDForm' and insert it into a richtextBox but my constructor doesn't seem to be passing it as it still says 'IDdob...
View Articlehow to implement group chat in windows form application?
i need to get chat option between users when users click on group chat button and also show who are online in windows form application? please help me out sir...
View ArticleMultiple shortcut keys
I'm using this technique to register global hotkeysI'm using CTRL+T for my application but I also want:CTRL+NCTRL+OCTRL+SCTRL+FCTRL+PCTRL+HCTRL+JF1F12Each for different things, how do I do multiple...
View ArticleThe label 'Count' has already been declared. Label names must be unique...
Dear Friends,Im inserting multiple values from a screen on button click event, but im getting below error multiple times.. The label 'Count' has already been declared. Label names must be unique within...
View ArticleWin 8 Pro Key
How do I go about activating my copy of Win 8 Pro x64? Where do I find my Key?Link?Thanks,
View ArticleBackground thread crashes the entire application?
I'm making a call to the MODI DLL (Ms Office Document Imaging) for purposes of OCR. My concern is with corrupt images. The call was crashing my WinForms app so I tried putting it on a thread, hoping...
View ArticleC# PictureBox image toggle help required.....
Hi,I am a complete novice on C# and i'm trying to learn as i go but i'm running into a problem.Background:I have an Arduino outputting a '1' & '0' every 2 seconds over the serial bus. I have a form...
View ArticleUsing Arrays with Classes
Hi, I have the following code that will search through Active Directory and return users to a DataTable.string[] rowArrary = new string[userProperties.Length]; foreach (SearchResult searchResult in...
View ArticleWebBrowser control not rendering some controls for larger DPI
Hi all,I am having an issue with a webBrowser control that I am using in one of my programs. I am using a WebBrowser control to load a web page from my application (it is an outlook add-in - I do not...
View ArticleHexCalcChar
How would I get the button stand on top of other buttons when it is clicked on. I have a form with a button for every character on the computer when I click on a button it gets big but stands behind...
View ArticleVSTO Word addin , doesn't show winform form.
I have a vsto Word addin with one form. The problema is that it only show the Windows when I'm debuging, but after install my addin if hit hte button, the form doesn't appear.I suspect that is...
View ArticleQuaternions and WPF rotation
Hello awesome people, long story short. I have an 9-axis IMU that output quaternions and I would like to display that rotation on a 3D cube in WPF(C#). Any good websites for that?
View ArticleCopyFromScreen not capturing entire desktop on Windows 8
I am developing an application for Windows 7 and thinking about migrating to Windows 8. The problem is that when using CopyFromScreen for my screen capture operation, I'm noticing it does not capture...
View Article