How to parse combined byteArray data in TCP Socket Server
I am using a socket client to send data to a socketServer :At socket Client : string strUser = "[Photo][User] + "\n" ; where \n is LF (Line feed) is the seperator byte[] Ar_user =...
View ArticleHow to Use TabIndex with Programmatically Enabled and Disabled Controls
I have a handful of TextBoxes within a Form, call them TB1-5. I programmatically disable TB3 and TB4 (while leaving them visible) until and unless the user enters particular values in TB2, in which...
View ArticleHandling default windows messageboxes
Hi,I have one SaveAS dialog used for creation of two files withe different extensions. In File name box I enter only file name, lats say "list", and in Save as type box there is only one option to...
View ArticleSave .odt file As .txt file using C# in windows forms.
Hi, I am developing windows application using c#.net ,here I want to do the functionality like converting ".odt file" to ".txt file" through C#. The .odt file contains information about list...
View ArticleModem and SIM info
HiIm using USB Modem with SIM Card inserted in it. All i want to know isFor Modem1. IMEI Number 2. Manufacturer3. Modem Model4. Firmware5. Port Settingsfor SIM1. Own Number2. Msg Center number3. Signal...
View ArticleHow to use spelling and grammar check in my C# textbox, in .Net 4.5?
How to use spelling and grammar check in my C# textbox, in .Net 4.5? i want to know if this is possible. To check for spelling and grannar in my textbox. I am working on .NEt 4.5. I have looked into...
View ArticleSelecting a specific iteration of a list and an element of that.
I created a class which contains different variables to create an employee. So names, dates of birth and hourly salary etc. I then created a list of this class so each list item is an object. I have a...
View Articlezooming in and out an image centralizing the mouse pointer using mouse wheel...
How can i zoom in and out an image centralizing the mouse pointer in C#? Suggest your code please.
View ArticleHow to Create Custom Timer Control for Multiple Textboxes?
Hi All,I am trying to create my own timer control that can be used for changing the backcolor of multiple textboxes. I want to pass the txtbx to the timer when the textChanged event detects the...
View ArticleSUPPRESS EXCEL SPLASH SCREEN
Hi,I am using Process.Start to to open an excel file and dock it to a panel. This works fine, however, my users have an issue with the splash screen that pops up when excel starts. Any way to hide or...
View ArticleAdding root node to an existing TreeView C#
Guys i am having a problem adding root node in a Treeview. Code is running nice but i want to add one Parent root as "My Root". Currently there is no Parent root displaying. I have the code given...
View ArticleToolStripDropDown odd form paint behavior / bug
Hi there, I've got a problem while trying to build a custom popup using ToolStripDropDown and ToolStripControlHost. For some reason, when the dropdown is displayed, it is repainting the background of...
View ArticleName Value Collection View
Hi - is there a simple control which displays rows (non-editable) of key-value pairs? Basically I just want to display a grid, which has two columns. In the first column is a name, and in the second...
View ArticleProgressPercentage method for Timer_tick
I need to put a progressive bar on a gigantic method, and i'm having a lot of problems because i have not found a way to count the number of steps os the method. The principal reason is the quantity of...
View ArticleHelp with a project. Using a database and Windows Forms then ability to...
Hi there First of all I'm new here and new to developing windows program's. I've built an alarm system in which I have an EEPROM chip that stores relevant ASCII data that the system uses to show any...
View ArticleData Validation before BindingNavigator moves to next record
This is quite a simple problem, yet I'm surprised there's no real answers to it on the net. So I thought i might ask here.I have a data entry form with BindingNavigator controls, prev, next, add,...
View Articlesource code
I have a String = " my name is anurag..." i want to break this string into "int length=10" 10 characters and Check that NO Blank space after 5 character and No half word is Print,if any half word...
View ArticleAxShockwaveFlash1
I wantto stopthecurrentfile,andthenI runanother file soasnottobook aplaceinthememory Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click...
View ArticleToolStripTextBox+ToolStripTextBoxControl Static event hook not releasing
So,As the subjects suggests I am noticing a problem with the ToolStripTextBox. The Class, through .Net Reflector, is shown to contain a private class ToolStripTextBoxControl which is a wrapper for the...
View Articleadding a list to combo box
hello,I have 3 separate lists that are for days in a month 1-30, 1-31, and 1-29. i'm trying to get my combo box populate the list that goes with the month that is selected from a previous combo box. i...
View Article