C# Soundex reducing adjacent pairs
Hi there ,I am new to programming and I was wondering if there was a way to reduce adjacent pairs in an arrayint[] numbers = {1,1,1,1,1,1,1,1,1,1,1,1 2,2,2,2,2,2, 3,3, 4, 5, 4, 5}; into...
View ArticleAccess to Message Queuing system is denied.
Ho Ho Ho ... Happy Holidays, Gurus ... and perhaps you can help me with this problem.I have a little app which is the Tip of the Spear for a larger app to come. The app involves moving messages...
View ArticleIDynamicMetaObjectProvider.GetMetaObject is not always called
I have a weird behavior of class that implements IDynamicMetaObjectProvider interface. I posted complete code for the class that causes a problem at...
View ArticleTo get list of some property's values from specific class
Hello every one , I have a method that accepts a name of the property in some classand return the list of the values of specified property from that class , from inner list that contains instances of...
View ArticleProblem in fraction calculator
Hello would someone please help me with my program, I'm stuck all day with this thing. The program runs, but I think the problem is a logical error. The fraction 1/4 + 2 1/2 should be equal to 2 3/4...
View ArticleImplementation of SQL Table Simulation in WPF/C#
I need to implement simulation of Table in SQL , but in WPF/C#I have 2 dll in the first one there is class OrderItem , which have 2 ctorsand properties:public int OrderID{get;set;}public int...
View Articlecreate c# app without .net framework dependency
Hi I am new to Dot net and i have created a WPF application which i want to compile without having dependency on framework. Can i do it? or is there any way to install framework along with the app?\m/
View ArticleWhen we used anonymous method?
Hi,When we used anonymous method? and when we used named method?Can you give me one example ?Thanks
View ArticleWhy the SelectedIndex of my ComboBox auto decreases?
HiI have a ComboBox in a Form, it works normally until I performed another UART function. After I performed the UART tx/rx function, every time I change the selection of the ComboBox, it automatically...
View ArticleHow do i scan for pixels using the distance and the list of points?
This is the first code i tried:public static List<PointF> cloudalert(Bitmap bmp, float kilometers) { float distance = kilometers / (float)1.09; List<PointF> clouds = Load(); bmp =...
View ArticleScript Error: an object reference is required to access non-static member"...
Hello i am having a problem with my script. I am using unity game engine and programming an auto updater in C#. I keep getting this error saying "An object Reference is required to access a non-static...
View Articlehandling touch events, code sample needed
Hello to all developers.I am writing an app that would overlay above game window. This app should pass mouse clicks and movement to game window. Also the app should get all touch inputs and let me...
View ArticleHow to check error data that will be upload and roll back transaction?
Hi, I have a button import to upload csv file data into sql server.How can I check the error if there are one of the row cannot commit? It will throw the exception. But how to know which row data have...
View Articlepaypal - is that free to implement on customer's website?
1) paypal - is that free to implement on customer's website?? How much it will cost me as a website developer.2) How to implement payment methods like payment through * credit card * debit card and*...
View ArticleHow to send characters ?
I want to know if there is anyway to send characters like sending keys in visual C#. Any code that can be used to create onscreen keyboard.. But the characters I want to send is not English letters. So...
View ArticleSQL Queries from 2 ComboBox determining third combobox
I have 3 comboBox.. and i wanted a code for the thirdcombobox , something like "SELECT companyName FROM table where mainCategory = firstcombobox and subcategory = secondcombobox" , how do i do the sql...
View ArticleHow to handle C# AppDomain.UnhandledException
I have read these two pages from msdn: 1, 2 So I constructed this simple Web Forms app:public partial class Form1 : Form { public Form1() { InitializeComponent(); new Thread(new...
View ArticleC# Console application, getting input without displaying it
I want to receive input of a single char from the user without having the inputted character actually appear on the screen.Right now I use this:pick = '0'; pickint = 0; picked = false; while (!picked)...
View ArticleWindows Phone 7.1 shake gesture
HI, How can I use " Shake gesture " on windows Phone 7.1, to navigate to an other pages randomly ?
View ArticleCalculate Hours
Hi,Below code works for calculate hours between start time and end time.But i want to subtract lunch ,BF,Dinner minutes from Total hours. DateTime dFrom; DateTime dTo; // DateTime val1, val2, val3;...
View Article