Windows 8 Tablet C# bin file *.exe output, I get a message that "This App can't run on your PC"

30 views
Skip to first unread message

smart...@gmail.com

unread,
Jun 10, 2015, 7:47:54 AM6/10/15
to glg...@googlegroups.com
I generated a GLG application in C# and it worked OK on my windows 7 laptop. When I tried to run the C# debug executable (*.exe) on my Windows 8 tablet, I get a message that it is no not possible to run this on this windows version. The message is "This App can't run on your PC" 

My C# app used to work on this Tablet before I inserted  GLG strip chart.

What do I need to do get the output *exe file to work on my Windows 8 Tablet? 

It seems like the GLG embedded drawing has made my C# app nop longer work on my Tablet.

glg_support

unread,
Jun 10, 2015, 1:23:01 PM6/10/15
to glg...@googlegroups.com
Could you please provide the following additional information:

1) Is your executable built with Platform target set to "Any CPU"?
Platform target may be accessed in the project Properties, Build, Platform target.

2) What OS are you running on a Windows 8 tablet, i.e. Windows RT or Windows 8.1?

3) What Microsoft Surface family is your Windows 8 tablet, i.e. Surface 2, Surface 3, Surface Pro?

Thank you.

smart...@gmail.com

unread,
Jun 10, 2015, 3:41:44 PM6/10/15
to glg...@googlegroups.com
Yes, I have C# project properties set to "Any CPU" (See below):

2) OS is Windows 8.1



3) My Tablet PC is a generic windows 8.1 Tablet. It is not a Microsoft Surface, it was bought locally. I was understand that it runs normal Windows 8.1, but perhaps there are some features cut down. It has dot.net installed automatically (through Windows 8.1). I tried to install dot.net framework manually and it says that it is already part of Windows 8.1.

Here is the error I get when I try to run the application with a GLG drawing in it.



A) Works OK on my the windows 8.1 Laptop and other Windows 7 PCs.
B) Works Ok before I added the GLG example strip chart to my application.
D) Only does not work on my Windows 8.1 tablet (the main reason for the program - front drive screen on my Converted Electric Car See Facebook: SmartArseEV ).


I hope this helps..

smart...@gmail.com

unread,
Jun 10, 2015, 5:00:09 PM6/10/15
to glg...@googlegroups.com
Whoops... Sorry the last image was cut and paste wrong... The error looks identical to this but it says:

 "This App can't run on your PC" 
 
But yes, I will update my widows version (remote chance that it is cause by this though).. I was working before I added the GLG drawing strip chart to my application.

Its a pity that you can't edit posts on this forum...

I will capture another image later today when I get a chance..

There is still enough to for you to advise what to do? I do appreciate that is seem platform dependent..

I only have two identical windows 8.1 tablets (drive screen for my car, and a backup) - both with the same error.
I have one Windows 8.1 lap top, that works OK (new machine with not much else installed).
I have just copied the three files from the C# projects bin folder.
*.exe
GLG.NetCE.dll
*.g
 That seems to work on my Win 8.1 Laptop, but not my Win 8.1 Tablets.

Is there anything else that I should install on the Tablets (GDG drawing editor, examples, C# visual studio)? Perhaps try to build it on my tablet instead? - It will take bit to install visual studio on my tablet (if I can even fit it)....

smart...@gmail.com

unread,
Jun 10, 2015, 8:47:51 PM6/10/15
to glg...@googlegroups.com
I copy an answer that I received...

A possible cause of the problem is that a Windows 8.1 tablet
doesn't have .Net 3.5 redistributables, while your Windows 8.1 laptop
does have these redistributables installed.

GLG .NET library targets .NET Framework 3.5 for compatibility
with older systems our customers use.

By default, Windows 8.1 comes with .Net Framework 4.5. In order to
use a library that uses .NET Framework 3.5 (such as GLG C# control),
3.5 redistributables should be installed on the system.

The best thing to do would be to install .Net 3.5 redistributables
on your tablet and try running your program.

In the next GLG release we will upgrade GLG C# library to use
.NET Framework 4.x.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages