Running a Windows Service as 'LocalService' rather than 'LocalSystem'
Hello Windows Service Gurus.I would like to run a Windows Service as 'LocalService' rather than as the higher-privileged 'LocalSystem', and IBELIEVE I have configured the service as such. But the...
View ArticleConsuming MSMQ at a faster speed using asp.net C# console application
I currently have a console application that has this algorithmConsume from MSMQ using PeekGet message out from MSMQ , do sql insert statementif insert is successful, get message out from MSMQ using...
View ArticlePerforming query on a table, return value is null
I know this is a long shot but i have been trying to debug this issue for the night and yet i couldn't find what is wrong with it.I am wondering maybe someone is able to spot what i might have screwed...
View ArticleC# components (for beginners)
I'm starting learning C#, but im struggling to get to grips with certain terms and their definitions. Where could i learn about the different things in C# i.e. namespace, class, object, method etc....
View ArticleWebBrowser Problem
I'm Working with a WebBrowser control and my problem is when I try to go to the other page, I receive this message "The current compatibility setting is not supported. Disable Compatibility View before...
View ArticleEncryption in C# and decryption in Java script.
Hello,I would like to have AES encryption in C# and decryption in Java script. Is it possible?I am trying Encryption by using AES managed class and decryption by using CryptoJS.AES. But could not...
View Articleparsing html
hi actually have this for parsing my html: public string GetPage() { string Url = ConfigurationSettings.AppSettings["Url"].ToString(); try {...
View ArticleC# How to return a List
Hi the code below shown this method from another class in C#. May I know how do I return a List<string> to the other class so that the order class could access the data? public static string...
View ArticleWindows Scheduled Task is not able to kick start a console application that...
Hi All,I am pretty much in a dilemma situation now.I had created a console application with c#, it is using a Process object to start another third party program.When I run the console application that...
View ArticleGetting HTML-code from a source using javascript
Hi,I need to analyze a source (webpage(-s)). To be able to do this I need search the HTML-code for specific HTML-tags. I use a webbrowser object. After installing the object and using the specific...
View ArticleOverriding base class constructor
abstractclassabsclass { publicabsclass(stringarg) { } } publicclassmyclass:absclass { publicmyclass():base("Hello World") { } }When...
View ArticleLogparser and execution speed
Hi,I have c# service application which parse exchange message tracking logs. I'm confused about application speed. 10MB file logparser processedapproximately in 2 minutes. When I execute identical...
View ArticleMSMQ receive() performs incredibly slow
It seems that messages arrive 100 times much faster to my message queue than I could consume it.I tried threads but it wont work in the requirement of shutdown.Thought of writing my own message queue...
View ArticleServer/Client application - testing system
Hi, Last year I created an examination program (program that lets you create tests, run them, evaluate results) as my study work. This year I intend to create a server application for that program....
View ArticleArralist duplicate finder help...
This is what I have : int[] OutNumbers = new int[] List<int> TempNumbers = new List<int>(); if (!OutNumbers.Intersect(TempNumbers).Any()) { Do something when find a...
View ArticleMoving Dead Letter Messages in MSMQ back into private queue
How to write this using a C# Console Application program?
View ArticleRetrieve Results from List C#
Hi i've added 2 string on the other form addIP.Add("1"); addIP.Add("2");public static List<string> retrieveAllIP() { var t = new List<string>(); foreach...
View Articlebetter software design
I wanted to create two classes one for customer and one for repair shop.At first I created a class customer. that includes customer information.Then I created another class which has employee data...
View ArticleServer/Client
hey ppl I have just a Simple Server/Client application but the messages are not passing correctly plz help me , Codes are given belowServer static void Main(string[] args) { IPAddress ipaddr...
View ArticleHow can i use Rtf Document Constructor library to insert table of any number...
Please help me if someone knows about this library a bit then tell me that can we insert table into rich text box with it?
View Article