How can I use a program in Embedded C in C#?
Hi all! I am making a C# Windows Form Application and want to be able to use some code from Embedded C that talks to my microcontroller in order to send commands through my microcontroller. My...
View ArticleError "A reference to 'mscorlib.dll' could not be added"
I cant add mscorbil.dll 2.0 nor 2.4
View ArticleGroup UDL not supported - please in plain layman's terms what does this mean!?
Hi - Help I am not computer literate and don't understand the "jargon" - but if anyone can enlighten me I would be grateful. I have Windows 8.1 and have to sign in with my hotmail account before I can...
View ArticleBeginning of sidescroller game
Hi, since this is my very first time trying to make yet simple but useable sidescroller I'd like to ask some questions and hopefully gather ideas to make a good engine that can change the position of...
View ArticleReading file from external USB HDD is slow
Hi, I am reading a file (over 10 GB in size) in raw. I use FileStream in C# .NET to read the file. During course of reading the file, there are multiple seeks and reads done. The irony is that when...
View ArticleXML - Create node
Hello, so, a program, and I'm having trouble when it comes to adding nodes to an Xml file. I use this code: if (doc.SelectSingleNode("min_mta_version") == null && hasUpdatedMeta) { outputLog("...
View ArticleInterop Issue with PInvoke
I am trying to integrate with a legacy C++ DLL from C# using PInvoke in a console app (and eventually porting it to Web API). When I make the call to the DLL, it crashes with the following...
View ArticleUnable to click the link to register Visual Studio 2012 Express for Web
As the title suggests, I am unable to click the link to register Visual Studio 2012 Express for Web. The link is there but clicking it does nothing. Is there a link to the registration page? Googling...
View ArticleHow to detect peaks in C#
Hi guys,Suppose Ihave two vectorsX (time) andY (amplitude) and they producea similarsignalto thechart below:Could someoneshow mean algorithmtodeterminethese maximumvaluesof the two peaks,based on...
View ArticlePrint PDF from Windows Service
I am trying to print pdf files from a windows service, but I couldn't find the documents getting printed. and no error was thrown. Not sure what is happening. Same piece of code works fine when I ran...
View ArticleVisual Studio 2008 Script Issue using SSIS - Script works, open script file,...
I am totally confused !I have an SSIS project that uses VS 2008 and have a script written in VC#.The project works fine, but i want to add an second script output field.I had...
View ArticleC# visual studio 2010 Dice program
i want to create an application in C# that rolls a die 60,000,000 times and displays 1's,2's,3's,4's,5's,6's but im not how to start it.
View ArticleGeneric quick sort algorithm
Hi,Ive wrote some code to sort an array. I want to convert my method so that it sorts Books. (A class i've wrote)Hope somebody can help static public void SelectionSort(int[] a) { for...
View ArticleCatch Block
Can a catch block have multiple statements.likecatch(Exception message){connection.close();throw message;}
View ArticleSortedList with a Generic Value
Hi there,I want to use the SortedList<> as aTyped lookup for some classed i have. all the classes inherit from ObjectTable<T> where T is the type of a business object.ObjectTable<>...
View ArticleHow can I solve "no elements" to update tables Using DataGridView
(Using DataGridView)I tried to make update button after select name of customer ,then,the form of Insert Customers appears with his details to make changes. The form of insert customer its the same...
View ArticleC# virtual mustoverride methods.
I have a class.This class is self-consistent, can be instantiated and works as it should.This class can be inherited to create extensions but when a descendant inherits from the class they MUST...
View Article(C# WPF)How could I hide a control (ex. a textbox) and display it again
I searched on the Internet.It's really strange, I've tried textbox1.visibility=visibility.hidden. And I got this:Property or indexer 'System.Windows.UIElement.IsVisible' cannot be assigned to -- it is...
View ArticleWH_MOUSE_LL Hook event timing mystery
I have set a WH_MOUSE_LL Low Level Mouse Hook to intercept wheel movements. It's generally working fine, but I am getting odd results when timing the ticks or ms between each HookCallback. This is what...
View Article