Questions tagged as '.net'

1
answer

Visual Studio 2010 Outline Extension

I know there are extensions to Visual Studio 2010 that display outline specific to each environment: C #, css / javscritp, and HMTL? Are there any solutions in a single extension? Or do I have to set up and install multiple extensions for the...
asked by 24.11.2014 / 21:13
1
answer

Starting the Windows Media Player component in fullscreen

When the Windows Media Player application is opened (Windows Forms) I always have to press the fullscreen button to maximize the video that is running and I would like it to start fullscreen.     
asked by 10.02.2015 / 05:06
1
answer

Insert tab when printing

I have a code to print each variable of a List . I'm trying to insert a tab in these variables. Take a look at my code that appears in the event printPage : int charactersOnPage = 0; int linesPerPage = 0; var Fonte = new Font("Ari...
asked by 09.11.2014 / 03:03
1
answer

Add values present in a List

I'll explain what I want to do. I have this List : public static List<Cliente> Clientes = new List<Cliente>(); public class Cliente { public string Nome { get; set; } public List<ProdutoComprado> Produtos { ge...
asked by 07.11.2014 / 17:28
1
answer

WCF Service Reference generates empty file

I'm having trouble referencing WCF services in Visual Studio. It does not generate any reference to the service classes to reference, the Reference.vb file is almost empty: '--------------------------------------------------------------...
asked by 26.01.2015 / 19:41
2
answers

Problems with types and conversions when filling a page

This is the error: An exception of type 'System.InvalidCastException' occurred in App_Web_fjskumyk.dll but was not handled in user code Additional information: Não é possível converter um objeto do tipo 'System.Collections.Generic.List'1[<...
asked by 23.09.2014 / 15:55
1
answer

Error saving list of MVC objects C #

According to the post Edit list of objects with form POST in MVC C # I was able to make my application show the values. But trying to save the data gives the error: The operation failed: The relationship could not be changed because one or m...
asked by 27.08.2014 / 20:34
1
answer

How to add groups and items in an ObjectListView?

Good afternoon, people. I will rephrase the question and try to express myself better ... I'm using 'BrightIdeasSoftware.ObjectListView', it's not the traditional ListView from Microsoft - Visual Studio it's much more complete For learn m...
asked by 08.09.2014 / 00:33
1
answer

How to "call" an ASP.NET page without using IIS?

I need to get through the programming, the result of processing a page in ASP.NET, but I can not use IIS. Pseudocode that I need: processePagina("c:\caminho\para\meu\aspx\index.aspx", "url.ficticia?param1=valor1.....") This co...
asked by 06.09.2014 / 15:42
2
answers

Create Database with FluentNHibernate

Is it possible through FluentNHibernate to create the database just as tables are created? I have the following class: public class Helper : IRepositorioHelper { private static ISessionFactory _sessionFactory; private static ISessionF...
asked by 16.09.2014 / 04:24