VB 2003 Combobox collection from -3 to +3 The goal of the message is to warn the user that the systems only covers +- 3 timezones, if he types in for example +4 or -4, he gets the message (by the way: how to protect the system if he types for instance a character?)
When I run the application: 'Unhandled exception: Cast from string "click" to type 'integer' is not valid
Private Sub ComboBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.TextChanged
Combobox collection from -3 to +3 The goal of the message is to warn the user that the systems only covers +- 3 timezones, if he types in for example +4 or -4, he gets the message (by the way: how to protect the system if he types for instance a character?)
When I run the application: 'Unhandled exception: Cast from string "click" to type 'integer' is not valid
Private Sub ComboBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)
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.
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.
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?
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.
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.
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.
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?
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.
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
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.
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
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].
I'm running some unit tests for a large VB.Net application I help maintain and am running into problems with tests timing out. The test run is set up so that there's no timeout limit on the overall test run, but a limit of 2 minutes per individual test. However, a couple of the tests take a lot longer than this to run, so we tried adding the timeout attribute to the test's declaration, i.e
<TestMethod(), Timeout(15 * 60 * 1000)> Public Sub DoSomething()
for a 15 minute timeout. However, the 2 minute timeout set in the test run properties seems to be taking precedence, even though it says that the timeout attribute should override it.
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.
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.
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.