identifying COM0COM Virtual COM Port programmatically
Good afternoon, Gurus.Is there some way that I can open a serial port and inspect one or more Properties / Methods of that port to determine if it's a Virtual COM Port or a genuine, honest-to-Goodness...
View Articlecheckbox
Hi,I want to know how I can use check or unchecked state of a checkbox in a conditional sub routine in C#.for example if checkbox1 state is checked then x=1 else if unchecked x=0.TNX...
View Articlechange a char in a string
Hi,Does any body know how I can change a char in a string?for example "123456" to "12m456"TNX...
View ArticleNeed to create a dump file and debug it in C#
I need to create a dump file of a given process through my C# application and I also need to analyse the information in the dump file using my application(i.e: retrieve information off the dump file...
View ArticleASCII Hexadecimal Encoding?
Hi,I've reading the programming manual for Zebra ZPL2 commands (barcode printer). I'm trying to download a PNG graphic to the printer. The manual states that the image data must be in "ASCII...
View Articlebluetooth connection lost
Hi, I have an app that is connected to various bluetooth devices (the communication is driven by virtual com ports), in some cases I loose the connection with a device and in this case the device...
View ArticleIf given a declaration in C# how do I know what the variable is?
For example I have the declaration public static int ppp;the variable ppp would it be an instance variable, class variable, a constant, or something else?
View Articlewhy am I getting this: Warning 1 Could not copy...
I created a test wpf app based on a sample I found on the net -- mine was created in VS2012 .Net 4.5 -- the sample app was created in VS2010 -- .Net 4.0. I created a library project within the main...
View ArticleNeed help with understanding which modifiers to use with which variables in C #?
I am declaring an instance variable but I want a modifier that will restricts its use to the methods of the class in which it is declared. Which modifier would I use?Also would a local variable store a...
View Articlecheckboxlist
Hi,In my application asp.net I have one checkboxlist with 3 uncheck items .uncheck tomuncheck nickuncheck john for saving in database .check any of them click on submitbutton it saves in...
View Articlewhat is the use ISynchronizeInvoke in c#
i like to know about the usage of ISynchronizeInvoke . please tell me when & where to use it. please make me understand the usage of ISynchronizeInvoke through a small sample code. thanks
View Articledynamic code
how do I add code during runtime ?so I have a set of Nodes and I want to add one during run time. That part i can do. But some node( not all) will have a timer. how do I add times during runtime as...
View ArticleType that supports int and long
I have a base class that has an ID property of type long. This class forms the entity for data retrieved from the database.In the db some tables have Id columns of type Bigint which corresponds to long...
View ArticleHelp - Text To Speech -[ NULL Object Error]
Hello Everybody !I have a question in text-to-speech.I have downloaded this example at link http://www.codeproject.com/Articles/182881/Text-to-Speechor...
View ArticleForm as a .cs
I have a sample project from the OPC foundation and it does not use a window application form. it has some kind of Form.cs that look like a window application form but is not. I know because i can hit...
View ArticleXml-Linq Illegal characters in path
I have a xml file in C:\Program Files\IIS Express\resources\siteLink\category\subscription\registry.registry.xmlI used the File.CreateDirectory Method then supply the url...
View ArticleC# Listbox Ownerdraw Problem
I have an ownerdraw ListBox and I'm defining my own DrawItem method. I'm giving the selected item a different color, so when the DrawItem event occurs I'm doing: if (listbox.GetSelected(e.Index) { //...
View ArticleHow to load and save the item in a combobox to the application settings-file?
Hi,How to load and save the selected item in a combobox to the application settings-file?Peter
View Articlegiven string ="how are you" as i want to get "you are how" please give me...
given string ="how are you" as i want to get "you are how" please give me logic in c sharp programmingjitendra
View ArticleReading and writing text files, I need performance advice.
Hello all,I should start off by saying that I am very much a newbie, an with that disclaimer out of the way...I have a program I have written that takes a .PIM file (really a .txt file) and splits it...
View Article