automatically Log off User Page
Hi, I'm using VS2010 i'm looking for a solution how to automatically log of users after 3 mins , here is my code but somehow it won't work , can you help me out ? thanks See my Code:...
View ArticleWhat's next for C# and .NET?
Hi C# Experts,Seeking expertize on what's next for C# and .NET? Is .NET moving to the cloud? If so, then my Windows 7 and 8.1 are factory installed and how to go about Windows Azure with respect to...
View ArticleWindows service freeze
Hi I am using C# .NET 3.5 to develop my windows service. It is customized task scheduler. I have code to write log to text file for every threading.timer event fired. I have problem that, my windows...
View ArticleCreate a word document on the fly using a pre-defined template
Is it possible to acomplish without the tools for office or the openxml libraries?I want to fill in a pre-defined template from values I receive from a service. For example I want to have an order...
View ArticleMVC CurrentCulture WebService
Hello,I'm debugging a MVC web application which calls an external WebService method.When I set a breakpoint on the MVC app, the CurrentCulture is nl-BE. But when I break at the WebService method the...
View ArticleBinary deserialzation of collection items
I am trying to deserialise an ISerializable class which contains a collection (of ISerializable elements). I'm loading the collection with: System.Runtime.Serialization.SerializationInfo.GetValue in...
View ArticleSignedXml and Oracle Service Bus comapatibility
Hi,I`m sending a digitally signed xml file to the other system via web service. Signed xml file is generated by using NET 4.0 SignedXml class. The response from the web service is:"The digital...
View ArticleHow to detect the codepage/encoding of a file?
Hello all,I have some text files in japanese (codepage 932 - SHIFT-JIS), I would like to detect this code page pro grammatically by C#.I have tried to use the StreamReader but it detects wrong codepage...
View Articledatabining a listview
Using .net 4 is it possible to bind a datatable to listview columns?
View ArticleHow to read the data from Serial port?
I connected my port to the modem. The modem is giving data continuously. I can open unused port and send data through c#.Net. But not able to read received data from the modem. The port access is...
View ArticleOutput of the following
Hi All,The following code segmentclass sample { public int value = 0; } class Program { static void Main(string[] args) { int val1 = 0; int val2 = val1; val2 = 123; sample s = new sample(); sample s1 =...
View ArticleHow to show aspnet webserver log entries on the client while the client is...
Hi All,I'm working on a windows application in c#.It accesses a web service for database related operations. Heavily dependent on it.The web service is an asp.net web application . It has a log file in...
View Articleprogressbar for filestream.write
Good day allI want to write a byte array (byte[]) to a file.I get these bytes from a sql query(linq statement).I would like to track the progress of this write process trough a progress bar.Here is my...
View ArticleHow to do reflecting?
Hello all:I wanna fetch all the structures and class names……ect for a dll, so I coded like this:publicvoid Test() { AppDomain.CurrentDomain.ReflectionOnlyAssemblyResolve +=...
View ArticleNesting Command in MySql Database at c#.net
HI i m developing Customer Contact Application based on c# winform mysql database.I have trouble in accessing mysqlcommand in windows application. can u help me? solve my issue...Code is :...
View ArticleSquare Root Character
How do you print the square root symbol as a character in C#?Tried the following code and it does not print the square root symbol.string test = "Square root = " + (char)0x221A;
View ArticleImage Converter
Hi, I'm building a program in C# that's convert's any image file to JPG, PNG, Icon or Bitmap. But if I convert a file to Icon and I want to use this file in my VS project it won't read the file and...
View ArticleI want code in c#.net to convert an wmf or emf file to an svg file
Mainly i want to convert bunch of images residing into one folder having extension of .emf to an .svg extension.There should not be any effect onto image content. What is there in .emf, it should be...
View ArticleRegex simple expression
I am trying to read through a text file to extract Oil product prices.Ex : Mazout colore no1 1.0515 1.0425 0.0000 0.0000 1.0425 0.0521 0.1040 1.1986 Jet Fuel A1 9.9999 10.0599 0.0400 0.0300 10.1299...
View Article