Getting State Of Modifier Keys Compact Framework?
May 4, 2009
How can I get the state of a modifier key using VB.NET on the Compact Framework, in this case Windows Mobile 6.1. I want to be able to determine if the following keys are pressed or locked:
Shift
CTRL
ALT
and for the Psion Teklogix machines
Orange
Blue
Although I may be able to work this out, if I can determine the others.I want to create my own on-screen indicator panel and want to poll the keys, not using events.
View 1 Replies
ADVERTISEMENT
Nov 16, 2008
I need to create a sound if validation fails. Anyone know how to do that? It can be a wave file or any kind of format.
How can i create a sound in .net compact framework 2.0. using vb.net. I saw codes asking to use system.media class. However in compact framework there do not seem to have this class.
View 1 Replies
Dec 23, 2009
I want to use MySQL with my mobile phone. I have installed the "MySQL Connector" and use this
Dim conn As New MySql.Data.MySqlClient.MySqlConnection
Dim myConnectionString as String
[CODE]....
My machine has erros with "MySql.Data.MySqlClient.MySqlException" and "MySql.Data.MySqlClient.MySqlConnection"
How can i solve this problem? With the normale Framework i can use MySQL...
View 3 Replies
Nov 2, 2009
I cant understand why sending parameters to insert function works slow in .net compact framework.
Forexample following code inserts within 2 seconds
[Code]...
View 1 Replies
Feb 15, 2011
Anyone doing anything with VS2010 and the compact framework ? or do we need to go back to VS2005/VS2008 ?
View 1 Replies
Jan 25, 2012
I need to replace WebRequestFactory, what is this doing?
Public Shared Sub download_file()
Dim wr As HttpWebRequest = CType(WebRequestFactory.Create("http://www.test.com/test.jpg"), HttpWebRequest)
[Code]....
View 1 Replies
Mar 29, 2010
I'm sure this has probably happened to most people but I've run out of UI space and need to create a hotkey or some similar situation to run a method or function.
View 3 Replies
Mar 10, 2011
We are in the process of creating a new WCF web service (WCF service that has an basicHttpBinding Endpoint) to carry out some of our business logic. The web application connects not problem at all, however our legacy Compact framework application doesn't seem to see the service at all. Are we on to a loser here and should we just revert to ASMX web service (the Compact framework cannot be upgraded) or is there a way around this?
View 1 Replies
Feb 10, 2009
I am building an application for windows mobile 5.0 using the .net compact framework and the mysql compact framework connector.Using this very simple app, I test the connection to our database:
Dim connection As New MySql.Data.MySqlClient.MySqlConnection("Server=160.10.1.25;Uid=***;Pwd=***;Database=DevAutomate;Pooling=false;")Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
connection.Open()
connection.Close()
End Sub
In the beginning, I was using an emulator to test this and I was getting a MissingManifestResource error. When I figured out that the emulator didn't have a network connection, I connected it to active sync and used the device emulator manager to simulate cradling the device. Next, I got my hands on a HP iPac mobile device running windows windows mobile classic and I get the MissingManifestResource exception again. This time, I have a network connection on my device and it can definately see the database.
View 1 Replies
Mar 9, 2010
[code].....
View 3 Replies
Jan 12, 2009
I am working on the mobile device application and I have a simple form where I have a text box+submit buttom and datagrid
On value enter in textbox+submit, i want to display the the data related to that value (txtbox) in grid.
Now in the compact framework there is no option like Selected value There is selected all, selected text. With the use seleted text is not working.
Dim con3 As New SqlConnection("xxx")
con3.Open()
Dim cmd3 As New SqlCommand
[Code].....
View 2 Replies
Jul 9, 2009
How do I know wich is the current folder of an App?? I mean... Is there a way to know where is the exe located from the running code?
View 5 Replies
Jun 6, 2012
Had any of you tried to migrating the code written in Compact framework (For Windows CE mobile application) into windows application 2010 I did this but getting .resx error i.e resource file error since it is in old version.Has any of you tried a workaroud on this in order to get rid of .resx error.
View 7 Replies
Apr 12, 2011
This is the first time I am working on compressing and decompressing data. I have a byte array(a dataset before compression) which is an already compressed data and I want to decompress it. But the decompression is to be done in .Net Compact framework 2.0 and this framework doesn't have System.IO.Compression library to use GZipStream or DeflateStream.
View 1 Replies
Mar 23, 2010
I'm developing an application with visual studio 2008 and compact framework 3.5 who needs to tell users about the compact framework version. If the user don't have the version specified in the application it sends a message but windows check the version before the application runs and send error message. How can i check the version before windows in vb without compact framework?
View 1 Replies
Jun 10, 2011
im trying to creat a pocket pc application using visual basic. but i got problem access text file. system always shows that "counld not find a part of path". the code i wrote is like:
Imports System
Imports System.IO
Public Class Form1
[code]....
View 7 Replies
Oct 20, 2009
Is the Compact Framework still in work? It's not in Beta2.
View 2 Replies
Jun 23, 2009
I am writing my first windows ce app. I am using an xml file (app.Config) to store state data... basically user preferences on the last location (connection string) that the person was using before closing the app. I am having trouble understanding what is happening on deploy. It looks like it is copying my xml file to the debug folder on deploy. My problem is, when I save the xml file it is not saving in my project. Is there another folder in which the emulator resides that contains all of the state data and possibly the file that I am writing out? I am saving the doc to the same filepath as I am reading in but it does not actually save or throw error or anything.
View 2 Replies
Nov 3, 2009
Is there a better way of testing if a string can be converted to an integer other than something like the following?
Public Function IsInt(ByVal value As Object) As Boolean
Try
Dim temp As Integer = CInt(value)
[code].....
View 11 Replies
Feb 24, 2009
I am looking for the windows mobile equivelent of a flow layout panel (or any other control that I can use to hold custom controls)
View 2 Replies
Oct 2, 2008
i'm not very familiar with GDI+, but i managed to create some basic functions of Space Invaders game i try to develop in Compact Framework. I have problems drawing the images (Spaceship, bullets, enemies). The screen is flashing a lot. I use a buffer bitmap in which i draw images to the new positions, and i have 1 line of code that just draws the buffer to screen
[Code]...
i use me.Invalidate inside a timer so every 50msec the game redraw the screen with new positions. Why the buffering does not work?? It can't be the emulator that i preview the program, it is flashing A LOT. Is there any similar code / project that could help me? i'm tring to find a similar project for COMPACT FRAMEWORK but i only find C++ .net examples. i need VB .NET COMPACT FRAMEWORK examples
View 2 Replies
Jul 30, 2009
First time post, new to VB etc. I wonder if you can with what I figure should be a very simple VB.NET query [using VS2008, targeting Compact Framework 3.5,WM6 Pro Emulator].
[Code]...
View 2 Replies
Aug 11, 2011
I'm looking for an actual implementation of StackForm recommendation. It can be a framework, API or any light-weight, Compact Framework-compatible library.It's not too complex to implement that idea, and I did in the past a couple of times, but I'm friend of not re-inventing wheels and maybe someone or group did an open sourced project implenting a generic navigation manager in order to create Compact Framework Forms application using this approach or any other similar to it.
View 1 Replies
Jun 24, 2012
I'm looking for an actual implementation of StackForm recommendation. It can be a framework, API or any light-weight, Compact Framework-compatible library.It's not too complex to implement that idea, and I did in the past a couple of times, but I'm friend of not re-inventing wheels and maybe someone or group did an open sourced project implenting a generic navigation manager in order to create Compact Framework Forms application using this approach or any other similar to it.
View 7 Replies
Oct 4, 2008
I am developing a game in compact framework. In Mobile Devices there is a button that Rotates the screen by 90 degrees so you can hold the mobile device the way that suits you. The problem is that i want to handle that in my game, so if i see that the screen has rotated the game will pause.
[Code]...
View 2 Replies
Nov 27, 2010
I Want manage the keys state in my program(in vb 2010) but 'key press event' cant manage more than a key in a time.i want manage keys for commanding something.(for example if "CTRL AND AIT AND Shift And "A" and "S" was pressed do something)
View 3 Replies
May 22, 2009
Including NET Framework 3.5 - SQL Compact Server and other packages in VB 2008 Application installation
View 5 Replies
Jun 1, 2010
i am developing a mobile application on visual studio 2008 under .net compact framework for windows ce platform.i use vb.net language i want to add a new row to datatable using Bindingsource object.my code is
Me.BindingSource1.AddNew()Me.StokBindingSource1.Current("id") = "01"
when i use Current methot of bindingsource it gives error and says The targeted version of the .net compact framework does not support late binding
How can i determine the field to add a value?
View 1 Replies
May 7, 2011
What is the best way to manually generate Primary Keys in Entity Framework 4.1 Code First?
I am programming ASP.NET MVC 3 and I use a repository pattern.
I currently generate keys in a sequential order by using the [code]....
View 3 Replies
Apr 9, 2010
I have the requirement to create an application that has multiple front ends developed using Windows Forms, WPF, ASP and Compact Framework Mobile Forms.I would like to be able to create a series of obejct representing the business logic and have this logic accessible from the various front ends available. My first thought was to use remoting as I'd like to be able to pass the business objects back and forth between client and server but the compact framework doesn't support remoting and also transferring a full framework business object to a compact framework business object doesn't seem possible.My next thought was to use web services but again the passing of business objects seems to be very hard to accomplish. Without doing this I would have to create individual web methods for each business operation.
Finally my next option is to use sockets and write the whole client/server logic within some classes and expose them to the UI/Business layer. My only problem with this is it is not scaleable should the number of clients increase dramatically whereas using remoting or web services I can host the solution via ASP.Net.Does anybody have an ideas on the best way forward for this or even have any input on how they would write an application that required a windows form, wpf, asp website and mobile device GUI all of which want to use the same business logic?
View 3 Replies