Changing Screen Resolution in Visual Basic App - vb.net

I have an application that needs to run at a particular screen resolution (240x320). I'm detecting screen resolution using Screen.PrimaryScreen.Bounds, but I have no idea how to change current resolution if it is needed. I'm working on Microsoft Visual Basic 2008 using Windows CE.
Cheers!

Related

Visual Studio 2015 Update 1 xaml designer not showing for UWP

Where disappeared XAML designer for Universal Windows app in Visual Studio 2015 Update1?
It is working for wpf and window 8.1 apps and XAML designer is enabled in Tools->Option->XAML Designer
Change the Target Version to (10.0; Bulid 10240)
See the notification asking to update Windows -
I was having the same problem. Updated windows from windows update as instructed by the VS2015 notification and now it is fixed.
I assume that you are using VS2015 on an operating system prior to Windows 10. According to a post on Microsoft Connect, this behaviour is by design. When you're using VS2015 on Windows 8.1, there is no support for design view, you have to upgrade to Windows 10 instead:
"If you are developing Windows 10 applications, this is by design since the designer requires Windows 10 in-order to show the design surface for UWP applications since we run application code. In Windows 8.1 and Windows 7, you will only get intelliSense. If you want full support for the design tools, you need to develop the application on Windows 10."

Is it possible to run vb.net on Window CE?

I'm using Visual Studio 2008 VB.NET to develop an application, and it is working fine in Window XP SP3. Is it possible to run this application on a mobile device with Window CE 6.0 ?
The application will not directly run on Windows CE, no. Since you're using Studio 2008, create a new Smart Device Project from the New Project wizard and import your existing code base.
Since you started with a desktop project, it's unlikely that the code will just compile as-is but, depending on exactly what features you're using, it's quite possible that you'll be able to modify what you have to compile for both the Compact Framework (CF) and the full framework.

Can't see the tile for my Windows 8 Store App after deploying through Visual Studio 2012?

I am developing a Windows 8 Store app. Till sometime back I could see the Tile of the app once I built and ran the Solution from Visual Studio.
However, very recently Visual Studio 2012 seems to have stopped creating the Tile to launch my application in the dev environment. I have to use Application Search to bring up the App shortcut and launch (outside the debugger).
Only recent change in my environment is the Update 1 installation.
Why has Visual Studio stopped creating the Tile or did I mess something up?
Environment:
Windows 8 Pro (x64)
Visual Studio Express 2012 Update 1
If you have un-pinned it from your start screen, it will be in your All Apps, you need to re-pin it. Most likely you just un-pinned rather than un-install.
Same here but I press Uninstall on my app.
Result :
My app is missing from "All apps".
App also cannot create any new/second icons/tiles.
Any new metro app have same problems
I manage to fix it by deleing folder(s) in (this is not good solution. must be another way to restore App):
"C:\Users\UserNameHere\AppData\Local\Packages\"

wpf project to pixelsense application

I'm trying to write a Microsoft surface application for Samsung sur40 pixelsense machine. I have found some sample projects online and run them on the MS Visual C# 2010, but I want to convert these projects into applications so that I can put them into Samsung sur40 and run them in its surface mode. Do you know how I can actually achieve this?
In order to write these type of applications, I am using the following OS, programs and tools.
Embedded Windows 7 Professional 64-bit
Microsoft Visual C# 2010 Express Edition
.NET Framework 4.0
Windows Presentation Foundation (WPF) 4.0
Microsoft XNA® Framework 4.0
Windows PowerShell and DMTF DASH support, and enhanced administrator tools
MS Surface 2.0 SDK(an Input Simulator allows me to develop and test projects on Windows 7 PCs)
Everything is working properly and I can test the sample projects on my PC. I just want to make a Visual Studio project to run in the Samsung sur40 machine. Please help me if it is possible? If you need further explanations to answer my question, please let me know and I try to expand the problem. Thank you in advance.
Menual install !
you can't see the folder "c:\ProgramData"
because the folder's option hide~
so..
C:\ProgramData\Microsoft\Surface\v2.0\Programs --> copy and paste!! and find!!
you create a shortcut of the ApplicationName.XML in your project for MS Surface applicaion
copy shortcut file and paste --> "C:\ProgramData\Microsoft\Surface\v2.0\Programs"
and following this steps :
In Windows mode, click Start, click All Programs, click Microsoft Surface 2.0, and then click Surface Configuration Editor
In the left pane, click Application Launcher.
In the Application Launcher pane, in the Launcher title box, type the title text you want to appear above Launcher.
The title text will be placed just above the Launcher menu and is left-justified. You cannot change the font, font size, font color, justification, or location of the text.
Click OK to save your setting and close Surface Configuration Editor, or click Apply to save your setting and continue configuring Surface. Restart Surface Shell for your settings to take effect.
click : http://technet.microsoft.com/en-us/library/gg680380.aspx

Building Windows 8 Metro App on Windows 7 with Visual Studio 2010

My Visual Studio can't seem to build any of the Metro Sample applications. As I've never really used this IDE before, I've pretty much given up.
Can anyone direct me to a sample application that is already built and preferably some source code along with it for reference?
Note:
I have a copy of Windows 7 AND 8. However I can't seem to build Microsoft's File Access Sample in my copy of Visual Studio 2010 Ultimate. I'm trying to test one of my Win7 applications in Metro mode of Win8 (the application may be called for use during a user's session in a given Metro app).
Metro Apps (that is, applicatons based on WinRT in Windows 8) will not run in Visual Studio 2010. You need Visual Studio 11 express (that comes on the Windows 8 Developer Preview with developer tools English, 64-bit (x64) or Visual Studio 11 developer preview (available for MSDN subscribers)).
According to Getting started with Windows Metro style app development, "To begin building Metro style apps for Windows, you must first download and install the Windows Developer Preview, which includes Microsoft Visual Studio 11 Express for Windows Developer Preview and the Windows SDK for Metro style Apps."
So I think you'll have to do metro-style development from the Windows 8 Preview for now. That website also has some hello world type stuff and general direction on getting started.
You probably can build Metro Style Apps in Visual Studio 2010. Basically Metro is a special type of design where focus is more on texts than pictures. Metro means " Text before Chrome".
If you can build such metro controls ( or you can copy some from any windows 8 copy) you probably will be able to build very basic Metro style apps , but if u wish to build something advanced then i would suggest better switch to Windows 8 with Visual Studio 2012 Ultimate .