Console Application
Hi guys. I'm pretty new to C#, and i'm learning about arrays. I'm just making a basic application that outputs the array data, but when the data is done outputing, the console will close. Code:using...
View ArticleVisual Studio Express 2013 on Windows 8.1 Core
I want to know what I can do and wont be able to do if I install Visual Studio Express 2013 on Windows 8.1 Core as opposed to installing it on Windows 8.1 Professional. Can somebody give me a...
View ArticleSmall regex
Hello everyone. I will start to learn Regex very soon. But until that day, can someone write regex for small problem.<img alt="0" src="http://static.hak.hr/images/gas/segment-0.png"> This is part...
View ArticleIssue while converting old Russian string to new in c#
Hi,I am facing the problem while displaying the old Russian characters.I have the old system, where Russian characters "мешалка 1" was defined. When i copied same to notepad in Same machine or windows...
View Articleasmx web serive life cycle
Hi, I am trying to intercept a web service call using a httpmodule. The httpmodule is getting called but the web method does not. I tried using the BeginRequest, PreRequestHandlerExecute and...
View Articleset size for variable length datatype
Hi, I am working on sending parameters to a procedure and do some operations based on the output returned from the procedure. I have a common class that handles adding parameters and calling the...
View ArticleEntity Framework MVP Pattern problem
Hi, I'm currently developing a software using the MVP pattern and I need to ask the common practice regarding my concerns. This is my scenario:I understand that the View must not know about the Model....
View Articlehow to convert htmlDocument.cookie to System.Net.Cookie
the string value of the HtmlDocument.cookie cookie is something like{3mDELTA=0/2; 3mReca=; F199=V1-005824-201402212230; PPAGE=entityGetAPage.3MPRTNAREDR.HTM; RTLB1=XaUUT4p/=;...
View ArticleProblem with order TabControl
Hello, I've a problem with TabControl. I'mhiddenby defaultTabpages, only after click on some button.Example: In collection TC, i've defined few tapages: 0.AddUser 1.RemoveUser 2.ViewUser 3.Some, and...
View ArticleRead Excel sheet
Hi, I want to read two excel workbooks and compare the contents inside.. I want to copy the common date in those two workbooks. What should I do? I'm using C# as code behind.
View ArticleContinue to get numbers until a certain string is entered?
Hello everyone. So, i'm just trying to make a simple console application so that anytime you enter a number, it'll enter it into the array, but when you enter "done" it will load & output all of...
View ArticleGraphic of a data
First of all the data I want it to be represented is a two dimentional matrix. For instance distance versus time, force vs current etc. And I wanna use c# for my software that actually measures a...
View ArticlePrinting the pdf file using process.start print opens the pdf file
Hi,I write the following code to print the pdf file.----------------------------------------------------------- var printerSettings = new PrinterSettings();...
View ArticlePlease explain it!
Hi,What is purpose of input ,f ? What is ,f doing? decimal f = decimal.Parse(Console.ReadLine()); new Task((obj) => { for (int i = 0; i <...
View ArticleWhy when im running the program the IF statement is not working ?
I have this simple method with IF inside that check it will not send the same string/line more then once.It's working when my program is running but once i close the program and run the program over...
View ArticleProblem with exception
Hi, I've already set up AccessDatabaseEngine on the server, but I still get this. why?Server Error in '/App12' Application. The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local...
View ArticlespeechLib Warnings
Good Day I am Building my add-in but when build it where r many warnings could u plz help me ? Warning1 Processing COM reference "SpeechLib" from path "C:\Windows\System32\Speech\Common\sapi.dll". At...
View ArticleMissing Assembly Reference to using System.Windows.DataGrid
I'm using C# 2010 Express to do some testing before moving MS Access applications to Visual StudioWhen I reference a datagridview in my codeDataGridView1.Rows.Add();I get a Namespace error,...
View ArticleC# static Data Access Layer
Hola,This about C# Data Access Layer. For example, cosider the following 2 code snippets one using static class DataAccessLayer and the other non-static class DataAccessLayer.What are the pros and cons...
View ArticleWindows service to run an .exe file
I have a exe file (generated from a console application) which I need to run on a daily basis; once everyday. this exe is pulling data from a sharepoint list and putting it in an excel. How can I...
View Article