Questions tagged [winapp]

97 questions
1
vote
1 answer

DataGridview repaints very slowly

I'm using datagridview in windows application developed in C# VS2005 .net 2.0. Datagridview is provided a list of business objects. It take annoying delay of 2-3 seconds before starting displaying the rows in datagridview in falling-curtain fashion.…
Emad Suria
  • 31
  • 4
1
vote
0 answers

Need Suggestion on How to get data from SharePoint Online for Windows 8.1 App

I recently working on a Windows 8.1 App, which was developed with C# and XAML. SharePoint Online is used for Data store. I searched and found that Wictor solution can be used for Authentication. but the problem is that we can not use Wictor solution…
Girish
  • 166
  • 1
  • 2
  • 13
1
vote
1 answer

Add item to list with button

I have one windows app which works as a shopping cart. When double click to item in the list, customer put the amount he want to buy into textbox and the system will add that item into temporary list. If that item similar to one of the item in cart,…
1
vote
3 answers

C# Sql Connection String

I'm a 17 year old software engineering student and am having trouble with linking my sql database to my C# Win App. I was able to accomplish this task using a access database but the database needs to be in SQL. Any Help would be greatly…
Justin Montego
  • 125
  • 1
  • 2
  • 6
1
vote
0 answers

c# Localization with button click that affects all the forms at once

I have made a kiosk application in c# first form has 6 languages (default is english) when i press the spanish button it changes language on the next form but the other forms stay the same private void btn_esp_Click(object sender, EventArgs e) …
1
vote
1 answer

Label for Line Shape at Visual Basic Power Pack tools in c# win App

The Line shape is one of tools of VisualBasic power pack 1.0 (in vs2010) , How can I define a label property and set value to it when I add it to a container control: My code is below and ( at Design time ) need public class…
Harry Sarshogh
  • 2,137
  • 3
  • 25
  • 48
1
vote
2 answers

How to represent a 3-tier architecture in UML?

I have an windows application developed, and I need to document its architecture. I made a 3-tier diagram according to Microsoft Practices and Patterns, but my chief wants a representation made from UML's perspective. How do you represent a 3-tier…
Xanathos
  • 598
  • 3
  • 15
  • 31
0
votes
0 answers

Window App SDK how to configure uri activation

I'm trying to get protocol arguments to point to a specific page in the Windows App Sdk: private static void onActivated(object? sender, AppActivationArguments args) { App.GetService\\>().LogInformation($"App Activated:…
0
votes
0 answers

Getting error "System.Data.SqlClient is not supported on this platform"

I'm using Visual Studio 2022 with a Windows application and DevExpress 22.22. When I created a setup package and ran the application shortcut, the main form appears with no problem. But when I open any form using a data table, this error…
0
votes
1 answer

Where do I find XamlReader?

I'm trying to use XamlReader to create a FrameworkElement at runtime in a WinUI3 (WindowsApp) project. There is documentation on how to do this here. Unfortunately, the documentation is unclear about what nuget package contains XamlReader. The…
Mark Olbert
  • 6,584
  • 9
  • 35
  • 69
0
votes
0 answers

Issue with closing COM port when using EasyModbusTCP

I am using the code found at the following repository: https://github.com/Festo-se/PGVA-1/blob/main/examples/c%23/src/driver/PgvaDriver.cs I use the following line of code to connect using a serial port: pgva = new PgvaDriver("serial",…
0
votes
0 answers

MFC application not terminate even after calling DestroyWindow and Exitinstance is called

This is happening in Windows 10 version 1803, all other machine MFC application is terminated properly, whereas in this os version alone , MFC application is not terminate with 1 thread in task manager. when analyze the dump found , SYMBOL_NAME: …
0
votes
0 answers

How to track Application closed event in c++ winapp?

I wanted to know if any application in the foreground(except this application) is closed by clicking the cross button on the top-right or any other way like Ctrl + f4. Here is what I have created so far: create window event void CALLBACK…
Adam
  • 23
  • 4
0
votes
0 answers

Print an existing downloaded PDF in C# windows Application without showing Print Dialog

I am currently working on a C# Windows Application and I want to Print an existing PDF, which is already saved in a location on my PC. After trying a few solutions from Google, I could Print text documents but I am not able to Print PDFs. Expected…
0
votes
0 answers

C# application working only in workspace folders

I've configured a C# Windows Application form in my project for sending emails, the project is in my Work Folders which is assigned to a local server. The form works fine when I execute (or debug) the project on Work Folders and sends emails…