Cancel procedure called by right mouse click event with right mouse click event
Hello:The procedure below runs when I click the right button on my mouse. The procedure runs fine, it places a with border around my button. What I want to accomplish is when the user clicks the right...
View ArticleDisposing the resources or threads of a Class Library that is being used by a...
Good Day, I'd like to ask as to how i'll be able to terminate my thread if my application using the class library is closed and the thread runs from the Class Library?
View ArticleHow to save the text of richtextbox into rich text format c#?
I am using itext# to convert rich text box text into pdf but it doesn't show formatting applied on the text as i recently came to know that i should first convert the text into rtf format and then try...
View ArticleIgnore duplicate items in the lisview
Hi, I use an input-form for entering data into a listview. I can open multiple input-forms by selecting them in the listview and press a button called bbEdtNote. But input-forms with the same name in...
View ArticleFlow charting diagram in vb.net (basic visio type of program) Create a drawing
I have a program that I wrote that allows user to create a process flow Station AA DebugA ReworkStation BB DebugB ReworkStation CC ReworkStation DD DebugD ReworkWhat I want to do is allow them to...
View ArticleHaving Trouble Using C# yield Equivalent in VB.
I have spent hours finding solution on the INTERNET but still no result. Could someone kindly give me the VB equivalent of The following Code without using the Yield keyword since VB does not have it...
View ArticleImage cannot be added to the ImageList
I'm writing an application in C# 2.0 that will index several thousand icons and add them to a DataTable (for quick searching) and ListView control. When I test it at home on my XP machine it works...
View ArticleOwner-draw ComboBox - Event subscribtion and raising point
Hello,I was implementing an owner-draw ComboBox, which should render long items multiline. I'm using MeasureItem and DrawItem the following way (important lines marked with comments):class...
View ArticleChange background in all forms with a button click
I made 2 forms and Form2 has buttons for background images. How can I, when I press that button set background on all forms. Because when I did some coding : this.BackgroundImage = new...
View ArticleInvalidOperationException when invoking Form.Close
Hello everybody. I have a progress form in my application and some times I get the following exception.System.InvalidOperationException:Invoke or BeginInvoke cannot be called on a control until the...
View Articlesave datagridview into excel in c sharp
hi,i try to save data grid view into excel and it work fine in my PC that have office 2010 , but its don't work in lower version of office, how can add reference that worked with all version of...
View Articletutorials
Hi,im new to windows application. i want to do an inventory system in C#. can any one help me to get a good tutorials.Thanks in advanceAgaile
View ArticleVisual Studio 2012 Express: Building a SQL query based on multiple Listbox...
First I want to say Hello to all the great minds and the great thinkers in the world and Thank you in advance for any assistance you can provide. I appreciate being able to see farther standing on the...
View ArticleWindows Application Tool bar Flickering issue
I have a Windows application written in VB.net. In one of the screen forms , I have a Tool bar which contains a collection of buttons.Once the form as per the functionality the image of the various...
View ArticleiWave Systems launched Pico ITX SBC on Freescale’s i.MX6 Board
iWave's new i.MX6 Dual Lite/Solo based Pico ITX SBC (Single Board Computer) integrates all standard interfaces into a single board with ultra-compact yet highly integrated platform that can be utilized...
View ArticleAdd Connection String at runtime(external config) dont show till application...
Hi all,I need to provide an internal tool where part of it is the ability to setup connection strings at run time.I have created an app.Config and mapped to an external config file...
View ArticleHow can I change the Custom toolbar name in the Add-In tab?
Hi, My application is an add-in to the MS excel, and it has a name with "custom toolbar". How can I change the custom toolbar name to any other name. I am not using any Ribbon class / Ribbon XML. It...
View ArticleWrong errorlevel [batch script]
Hello I have a weird problem...I have a batch script which is installing some software silently... and after every installation it check an error code... well it detect that something goes wrong, but...
View ArticleOwner Draw Only Certain Tabs in TabControl
I have a TabControl that contains 6 TabPages by default. When the user clicks buttons I add an additional TabPage, but I want to customize the look of these added TabPages, but preserve the default...
View ArticleProgress bar during a process c#
I really don't know how to make a progress bar that is animated only during a process! I did a sender email dialog and when I press "Send" button I want the progress bar to begin and to be completely...
View Article