Questions tagged as 'visual-studio'

2
answers

Unable to load DLL 'SQLite.Interop.DLL'

This is the error that appears on some computers when I run my application, I have the libraries SQLite.Interop.dll and System.Data.SQLite.dll in the same directory of the executable. I also tried copying the two libraries...
asked by 12.09.2016 / 20:24
1
answer

How to clean the contents of a DataGrid?

I have a (WPF) window and a C # code that contains the following One button: <Button x:Name="btnBuscar" Content="Buscar por" HorizontalAlignment="Left" Margin="157,10,0,0" VerticalAlignment="Top" Width="85" Height="30" Click="btnBuscar_...
asked by 09.04.2018 / 07:38
2
answers

Hide or close an MDI Children form

Hi, I have an MDI form (frmPrincipal) where I open an MDI Children form (frmListerateClients). Within this mdi children when closing the form I launch a form (frmOpciones) that allows you to make a couple of quick procedures that you can eith...
asked by 04.07.2017 / 09:58
1
answer

JsonConvert.DeserializeObject returns some values in NULL

I'm working with a file in JSON that comes with a specific structure, which at the time of doing the deserialization process returns some of the values in null. The source file that I am processing is the following: { "t":"i", "v": [ {...
asked by 22.08.2018 / 19:10
1
answer

File txt does not store the path of another txt

What I try to do is create 2 files in the system, one where the user can choose where he wants to save his database file where all the records of his products will be stored. The other file txt would be created without the user's permissi...
asked by 27.11.2018 / 18:39
2
answers

Is there an "Imports System.Console" (VB.NET) in C #?

I would like to know if there is something like a using System.Console in C # . I wanted to do something in the console to remember. When I learned to use the console, I did it with the VB.NET language. There you could import the na...
asked by 12.11.2016 / 16:05
1
answer

How to fix the movement of the positioning of buttons or other elements when starting the application?

I have made the following part of the interface But when you start the application, you change your position and the following is left the magnifying glass is an icon in Button that is placed over a TextBox the code of the th...
asked by 11.04.2018 / 02:08
2
answers

How to get the value of a cell from a DataGrid?

I want to get the value of the UserID cell that has the following settings made with Visual Studio 2017 in a window (WPF) <DataGridTextColumn Binding="{Binding Path=idUsuario}" ClipboardContentBinding="{x:Null}" Header="idUsuario" He...
asked by 08.04.2018 / 09:13
4
answers

Illegal character in output

I have an application that exports the result to me in a .csv file. The export makes several project names, one of those projects has the tag name in HTML <b> . When trying to create this file, I get an illegal character in pat...
asked by 17.10.2016 / 17:00
1
answer

Where to place my DbSet in my project with Entity Framework?

Well this may be a silly question but I would like to know how other people who use this framework work. I am new using these technologies, I am using Visual Studio with ASP.NET MVC 5 and Entity Framework and I have just started a new project, I...
asked by 08.07.2018 / 06:18