Questions tagged as 'uwp'

1
answer

How to serialize an image (bitmap) in bytes [] C # UWP?

What happens is that I have an image captured from a PC folder //Capturar imagen //https://docs.microsoft.com/es-es/windows/uwp/files/quickstart-using-file-and-folder-pickers var picker = new Windows.Storage.Pickers.FileOpenPicker(); picker.V...
asked by 08.11.2018 / 15:33
1
answer

Problem sending a message

I've made a snippet of code that sends a message via TCP / IP with sockets from one computer to another. It works well (sends the message) if the two computers are connected to the same network, however, if I connect one of the two computers to...
asked by 05.08.2017 / 11:58
0
answers

Can a Resource Dictionary be used in xaml to instantiate Page?

What happens is that I have a Datagris and I wanted to load it dynamically in a Page, like this example <GridView ItemsSource="{x:Bind Items}" ItemTemplate="{StaticResource ImageOverlayTemplate}" IsItemClickEnabled="False"...
asked by 15.11.2018 / 21:16
2
answers

How to declare (map) a SQL_VARIANT in a Model - C # [UWP]

Good thing I have a table in SQL: CREATE TABLE Parametros( Empid int NOT NULL CONSTRAINT [FK_Parametros_Empid] REFERENCES Empresa(id), Codigo varchar(25) NOT NULL, Valor sql_variant NULL, CONSTRAINT [PK_Paramet...
asked by 17.10.2018 / 12:55
1
answer

Do an IsSelected in a ComboBox with the SelectedValue [UWP]

I have a ComboBox, which already has some assigned items, loaded by means of an enumeration (Enum): public enum TERCERO_TIPOID : byte { [Display(Name = "Nit")]NIT, [Display(Name = "Cedula Cuidadania")]CC, [Display(Name...
asked by 03.10.2018 / 22:51
0
answers

Define a color for an app in UWP

What happens is that I have an app in UWP and I vary the colors of it according to the theme I have defined in the system, and I need my app to have the same color here and in the computers where they are going to install. I guess the color i...
asked by 26.09.2018 / 21:06
1
answer

Like Charge ComboBox with a loaded list [XAML] [MVVM] [UWP]

is that I have a ComboBox in XAML and I have to do Binding to the ViewModel to load it with a query that I do of a table called "City" that has some fields id, Name, Country. but in the combo I'm only interested in showing the city, I think it g...
asked by 03.10.2018 / 20:35
0
answers

Ellipses do not change color in UWP

I'm doing a project on Raspberry Pi, using Windows IoT. Specifically, I'm doing a traffic light with LEDs and on the screen of my app I also drew a semaphore with ellipses. Ellipses "off" must have the lightgray color and "lit" their correspondi...
asked by 17.05.2018 / 22:28
0
answers

I do not load the text of the OnFileActive in the RichEditBox when reading it C # UWP

I am using the OnFileActive for when I open a file with the "Open With and I choose my program" because it opens and its text is loaded in the RichEditBox and its path appears in the title of the Notepad-style app, then everything goes well sinc...
asked by 22.03.2018 / 18:11
0
answers

Unable to start debugging. The start project can not be started

I'm doing an application for my JavaScript-based VisualStudio 2015. The application should emulate a website as if it were a WebApp. The problem that I follow the steps like this video Creating Hosted Web Apps with Project Westminster when you...
asked by 22.03.2018 / 14:56