Questions tagged [winapp]
97 questions
2
votes
0 answers
centering content with -ms-content-zooming
I've been using this sample to create a "zoomable" content:
http://code.msdn.microsoft.com/windowsapps/Scrolling-panning-and-47d70d4c
My HTML:

Cœur
- 37,241
- 25
- 195
- 267
2
votes
1 answer
Need a Security Scenario for asp.net webservice
I have developed a .Net 3.5 windows forms application. I also want to design a website that has a webservice with multiple Webmethods to query the database on the host machine. I want the webservice to be called ONLY through my winapp and my…

gwt
- 2,331
- 4
- 37
- 59
2
votes
2 answers
How to get text from StreamReader in C#
private void button1_Click(object sender, EventArgs e)
{
string url = urlTextBox.Text;
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
StreamReader…

Mekhy
- 21
- 3
1
vote
0 answers
How to show print dialogue when i press control + P on print preview Dialog
I created a form that has printpreview dialog and set the print button tool for show print dialog like this
this is a code
public partial class frmTest : Form
{
public frmTest()
{
…

user19638866
- 11
- 2
1
vote
2 answers
Can I use Firebase for creating Windows app?
I need create some Windows app with Firebase, but I can't choose a programming environment for Windows app. Which ones support FireBase?

APTEMKA
- 63
- 2
- 7
1
vote
1 answer
Selectively Enable Visual Styles on Dialogs/Windows
I've implemented the use of visual styles on all common controls through the use of a manifest file as directed by this article - http://msdn.microsoft.com/en-us/library/bb773175.aspx. Is there a way to disable the use of visual styles for a…

shadeMe
- 706
- 1
- 10
- 30
1
vote
1 answer
'BeginDraw' in conjunction with D2D1 causes an error
I'm trying to clear the background of a window created with CreateWindowEx with the code separated into separate classes, with the use of D2D1. Here's the code.
LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
switch…

Charlie
- 77
- 1
- 2
- 13
1
vote
1 answer
C# Convert Number stored as Text to Number when exporting to Excel
I export data from datagrid to Excel and one column with numbers is with error 'numbers stored as text'. I am trying to convert them using following code, but its not working. Could you suggest?
The problem is that then column headers are moved up…

marijapt
- 13
- 5
1
vote
0 answers
Cannot use XPath in Appium
I am automating a UWP application (Windows 10) through Appium + Winapp driver.
I am using Appium inspector to spy the objects in the windows 10 app. There is no name available for the button and therefore trying to use the…

sairam p
- 11
- 2
1
vote
0 answers
How to generate Resource.h file for windows UI development
I am compiling a resource compiler file UIPE.rc and got the error:
error RC2104: undefined keyword or key name: ID_SOME_MENUITEM_NAME
UIPE.rc has a header file resource.h included. The file resource.h contains a bunch of MACRO definitions, e.g,…

leo
- 357
- 2
- 15
1
vote
0 answers
Triggering on-screen touch keyboard on custom control in C
I'm writing a C win32 application that has a custom text box input with onFocus/onBlur callbacks. This control cannot be changed and I cannot use C++.
As you could guess, I'd like the on-screen touch keyboard to appear onFocus and to disappear…

Fluffy
- 857
- 1
- 9
- 20
1
vote
2 answers
WPF vs Win App battery usage
We want to use wpf application on tablet and looking for difference battery usage impacts between win app and wpf application?
Is there any comparision battery usage or document?

Fatih Şimşek
- 155
- 1
- 10
1
vote
1 answer
MoveFile() doesn't work
I'm trying to move some files from a directory into another directory on the same drive. All destination directories exist but MoveFile() doesn't work and GetLastError() returns 0.
I'm new to C++ and i have no idea what is causing this…

Saleh Rezaei
- 160
- 4
- 21
1
vote
3 answers
Should I do Win Application?
It's a question comes to my mind all the time and So i would like to share , And know you mature programmers opinion's .
Unfortunately i spent some years of my life doing Graphic (web) and suddenly i quite and start Web Programming ( because i…

Mostafa
- 3,002
- 10
- 52
- 79
1
vote
1 answer
Foreach loop with images
I have an 80 PNG image sequence in which I am trying to create an animation for my windows app. The file path is Assets/Star/ and I am trying to figure out how I would make a foreach loop for each image in the folder, so it would set the image…

Jermain Defo
- 189
- 1
- 1
- 11