Developing with VB.NET?

Thomas J
Finally I got my image running (WinCE 6.0), and my SDK build!
I've also tried creating an application in Visual Studio 2005 with VC++,
where I selected Smart Device Project and then chosed the MINI2440 sdk
thing
But in C++ I'm not able to move the application form parts, like buttons,
around. That's why I would like to know if it's possible to make
applications in VB.NET

If I select Smart Project in VB.NET I can't find the MINI2440 SDK
I've found out that VS2005 uses CE5.0, while Visual Studio 2008 uses CE6.0,
so I tried just creating a Smart Project and selecting "Windows CE" as the
SDK thing?
I wasn't able to Debug (sync it) as I could with the VC++ in VS2005, but if
I just build it, and transfer it manually to the MINI2440, I was able to
start it.

Is this the way this should be done? As always when I change some form
properties, it resizes to 640x480 - and on the MINI2440 there is a black
line at the top left corner of the application!


Best Regards
Thomas Jespersen

Thomas J
If no one can answer me on this, then how do you guys develop GUI
applications for the mini2440?

Thomas

pilamaster
i'm developing GUI applications using .NET Compact Framework (it was
preinstalled in my WinCE image or you can install it from .cab).
In Visual Studio 2008 Professional choose "new project", choose language
(C++,C# or VB)-> Smart Device->Smart Device project->Target Platform =
Windows CE -> choose .NET Framework version (2.0 or 3.5). Then you can
design GUI and program it very easily.

Thomas J
Yes, that was also what I tried!
But if I use VS 2008 I can't debug/deploy it to the mini2440.
If I use VS2008, I have to copy the exe file manually!
And then if I execute it on the mini2440, it shows a small black line at
the top-left corner of the screen.

So what do you do? Do you manually type 320x240 as form size in VS2008?

Thomas

pilamaster
i resize form manually for the size i need. I don't debug/deploy my
projects through VS2008 because now i don't need it. Do you have MS
ActiveSync installed on your PC? VS2008 (and older) works only through it
with mobile devices.

Edje11
Hi Thomas,

When you create an new project you must choose Mini2440 as target platform,
NOT the mini2440 sdk.

pilamaster
About small black line at the top-left corner of the screen. May be it is
empty main menu on the form? In VS2008 in designer just delete "MainMenu"
control and line will disappear.

nikhil
hi all,
how to install .net compact framework 2.0 on friendlyARM9

pilamaster
to nikhil.
You can choose version of preinstalled NET CF during creating image from
wince bsp, or download NET CF msi package from microsoft site, unpack it,
find in unpacked file .cab file for wince on arm, copy it to board and
install. Or connect board to PC via activesync and run msi installer.

nikhil
hi pilamaster,
thanks for reply.
its works fine, but i faced new problem that i cant connect my webcam or
any other usb device to usb port of arm9 board.is there some solution for
this? please help me...
thanks,
Nikhil

Cemal
Dear All, 
I developed GUI application with VS2008 and C# combination. 
after i downloaded .cab file compact framework 3.5, my application works.
then after power on the mini2440 device, my application doesn't start and
give an error message like below.  

"request a newer version of microsoft .net compact framework than the
version installed on the device"

wince version is 5.00 
any ideas are wellcome.
Thanks.
Cemal.

Edje11
Go in vs to Project -> yourapplication Properties
Then to the tab Devices and disable the checkbox "Deploy the latest version
of the .NET Compact Framework"

Cemal
Thank you Edje11 for your answer, 
but the problem happens after reboot the device.
if i checked the .Net Configuration with NetCFCfg.exe; framework 1.0 is in
ROM, not the latest version which i loaded in RAM. That's why, my
application doesn't work after reboot. So i think we have to change the
wince image file. 
Thank you.
Cemal.

robokord
please send me tank!