Questions tagged as '.net'

0
answers

WCF Service Host - Service does not register port if it does not execute VS as Administrator

Hello, when trying to run a WebService of type ServiceLibrary. WCF Service Host gives me the following bad news:   PleasetrychangingtheHTTPportto8733orrunningtheAdministrator.  System.ServiceModel.AddressAccessDeniedException:HTTPcouldnot  r...
asked by 06.06.2016 / 16:10
0
answers

How to use UpdateProgress with EnablePartialRendering = false?

I have a page where I need to populate two dropdownlist, but it does not load the UpdateProgress if EnablePartialRendering is set to false. If it is true, the UpdateProgress is loaded, but the second DDL is not.     
asked by 26.05.2016 / 19:18
1
answer

Checking a batch DataTable (IDs) in the database

I have a small desktop application (Windows Forms - .NET 2.0 - C #) in which I only use it to perform a check on a particular hourly path and, if this check finds any .txt file in this path, it is an import of this file was performed. However...
asked by 31.03.2016 / 17:19
3
answers

Array with no size limit

ClsPessoa[] Pessoa = new ClsPessoa[10]; I'm new to C # and would like some help. How can I declare an array of a class as in the example, without inserting a size limit.     
asked by 11.10.2015 / 20:48
2
answers

How to get a snippet of a string?

I have a string like this: ~/Areas/Teste/Views/home/index.cshtml I only need the word next to ~/Areas/ , in the case Teste (remembering that word may vary in size). How do I?     
asked by 09.10.2014 / 15:56
1
answer

ClickOnce does not receive last update

I have an application in WinForms, published on my app server. When I try to install the latest version ex. 1.1 by ClickOnce, the client machine installs version 1.0, which in this case is the version currently installed on the client machine...
asked by 24.02.2016 / 15:17
1
answer

Crystal Reports Displaying Strings

I'm starting in CR and I'm having a hard time generating a report in Visual Studio 2008's Crystal Reports. It's not displaying the values in my database table. The datasource I'm using in the report is the Dataset of the application, that is,...
asked by 18.03.2016 / 21:10
1
answer

Error inserting image loop in report pdf reports.dll .net

I have a while that will repeat 3 times an insertion of a barcode however I am using lib reports.dll to create the pdf report. This lib accepts only images saved in some directory (as far as I know), but at the moment I'm going to insert the ima...
asked by 03.03.2016 / 13:49
3
answers

How to search for a file in all folders

How to create an application that performs a full search on a folder or disk looking for a file that neither in the image I've already tried to use Directory.GetFiles and Directory.GetDirectory But when it arrives at a folder...
asked by 16.07.2015 / 21:56
1
answer

The type or namespace name 'AjaxControlToolkit' could not be found in the global namespace (are you missing an assembly reference?

I have a problem when publishing or compiling the project, the following error appears:    The type or namespace name 'AjaxControlToolkit' could not be found in   the global namespace (are you missing an assembly reference? Does anyone kn...
asked by 15.01.2016 / 21:28