[Q] Save settings in a VB.Net CF App (Windows Mobile) - General Questions and Answers

Hi XDA,
Do you guys know a good way to save application settings? In VB .Net CF, things are a lot dumbed down compared to regular Windows VS 2010 programming. There is no My.Settings, and My.Resources doesn't work. Maybe reading and writing a text file world be a good solution... Just don't know since there is no My.Computer in Smart Device. Thanks.

Related

Developing Ideas for a Noob

Hello,
I am very new at developing anything what so ever. I want to take on the task of developing a small app for my HTC/xv6900.
I make visits to peoples homes on a regular basis. I would like to have a program that I can add these people in. It will work pretty similar to the contacts system already on the windows Mobile. But there are a few things that it lacks that I need. So i decided to try to develop my own.
I found a very cheap copy of the .net 2005 and download the Windows Mobile Professional from Microsoft.
But of course I am unsure of what I am doing. I figure I could try to build the GUI first and then get some help with the coding. But now I am stuck on the GUI.
The main reason for this post is to get help and get some direction to some good tutorials that would help in building a small app for a WM6 Professional device.

getting started in programing for WM6. pls advise

hi folks,
i love my phone and will like to contribute...
i studied years ago turbo pascal but i figured that programing languages basically have similar flows?
i will like to seek advise from pros on how do i get started?
can i
1) know what programing language or tools do i need?
2) know what are the usual errors or problems so that my climb will be easier?
i am really sincere and i hope the pros can take some time to advise me...
yours
leo
I would say, the easiest way to do some application pgrogramming, is to use the Visual Studio 2008(Tool) and C#(language). The platform is .Net framework 3.5.
You can download the latest Windows Mobile emulators, and use it along with Visual studio to test and debug your programs. Once you are satisfied with the program, you can build the cab using Visual Studio(which you can install on the real windows mobile device).
Please post specifics if you need more info. I am sure most of the poeple here are willing to help!
Please try the search function before posting even though this is the Q&A section
This question was just asked: http://forum.xda-developers.com/showthread.php?t=452400
sorry bro . . .
its fine, just figured you might find a little information quicker there
ok specific Q can i rely solely on "WYSIWYG" interface? rather than hardcode like C etc?
Nope. Solely WYSIWYG won't get you anywhere.
But you can use it. For example the CompactFramework.Net (CF.Net) has a WYSIWYG interface, but the underlying functionality you'll have to write yourself.
If that is what you meant...

Visual Studio requirement question

I'm a little bit confused and I hope that someone can answer my (I assume)
easy question:
Which edition of Visual Studio is needed for Windows Mobile 6 SDK
development? I'm already considering to update to VS 2008 but I'm not
sure if the Standard Edition is sufficient or if I need the Professional Edition
(which is considerably more expensive).
My confusion arises from the fact that on the download page
for the WM 6 Pro SDK it's stated that VS 2005 Standard and newer are
working. However, on the product comparison page (comparison of
editions), at
http://msdn.microsoft.com/en-us/vstudio/cc149003.aspx
under "Smart Device Development" it is stated that the emulator and the
project templates are not part of the Standard edition.
Well, now I'm really confused. I hope someone can shed some light on this.
Sorry, if this question has already been answered somewhere on the forums -
I didn't find any accurate answer (the sticky thread "Development Resources for Windows Mobile" only tells me that there is a trial edition available for download - but that doesn't answer my question). And all other questions
similar to mine seem to have been answered with something like "... get VS 2008 ... " - but without mentioning any specific edition.
Michael
i'd prefer Visual Studio 2008 Professional, works with EVERY Device
*edit* : oh and with Standard Edition, yuou cant work for SmartPhone
if you haven't installed the wm sdk
smart device is .net apps
.net apps using the compact framework
dont require the wm sdk at all
you only need the sdk if you write pure c++ win32 or old microMfc using c++
Thanks for the quick reply. Unfortunately the limitations suck.
Since I'm also planning to code plain Win32 it seems I'd need the
Pro version if I'm planning to upgrade to VS 2008.
I just visited the WM SDK download page again and just recognized that
they didn't write VS 2008 Std. but VS 2005 Std.
So, my new question: can someone tell me whether VS 2005 Standard
is sufficient?
Michael
worked just fine for me with 2005 and sdk wm6 std and wm6 pro
Thanks again for the quick and accurate help. Seems like now comes the
tricky part - finding someone still selling VS 2005.
Michael
^ You could take a look at using SharpDevelop..
http://www.codeproject.com/KB/mobile/WiMoSansVS.aspx
[deXter] said:
^ You could take a look at using SharpDevelop..
http://www.codeproject.com/KB/mobile/WiMoSansVS.aspx
Click to expand...
Click to collapse
I already looked into that, but there are two problems: first, I'd like to program
in C++ and second, as far as I know when using SharpDevelop I've no debugger
at hand.
Thanks for that hint anyways.
Michael
Embedded C++ 4.0 will still work with WM5/WM6. And can be downloaded free. If you stick to good old Win32, no ATL or MFC, it will create one single executable, with no extra runtime baggage. All the DLLs it needs are already on your device. It may complain that the generated executable will not run on your target device, but it will, it's lying. Target for ARMv4 and there is a good chance it will work. The emulators in the WM5 and WM6 SDK's now actually run the ARM executables direct, so you can test your app to a release level without having to load it on the device.
If you keep main menu options down to one or two, it will appear like all other WM6 apps with the menu options connected to the left and right menu buttons. More than two and the menu appears as the older WM2003 control bar.
Thanks again people for all the help and suggestions. Fortunately (after
many hours of searching) I finally found someone selling VS 2005 Std.
Michael
As mentioned above, the Standard versions of VS2005 and VS2008 cannot target mobile/smart devices.
You will need the Professional Version.
You get what you pay for.

What is the most suitable language to program in for Windows Phone?

I know some Visual Basic which I started learning at College and then developed slightly further at a snails pace over time, but I find its not too great for making windows mobile apps.
Im at the point where I want to learn a new language, mainly so I can make better apps for windows mobile than the basic things Ive made so far.
So, what would you guys think is the best language for programing with when making stuff for windows mobile?
Thanks.
I know its a question, but maybe it should be moved to "Development & Hacking" as the people viewing that section would know the answer I seek
Well, Ive decided upon C++

[Q] Smart Tools(as in Android) for measurement is needed for windows mobile..???

Anyone can help abt ...Smart Tools for WM6.5..can any convert or develop the same app. found @ Android..? tnx in advance..(it is to measure the distance..etc..)
I wish it was that simple! But search around, you might a WM version as well, along with droid version...

Categories

Resources