OpenNetCF change device ip - General Questions and Answers

Hello,
I'm french so I'm sorry for my english but I try to explain my question
I work on Psion Teklo 7535 (and 7535 G2) with windows ce 5.0... I not have license for visual studio so I develop with .net framwork on desktop and I use ActiveSync and cradle to set my configuration.
For dialog with my device, I use the OpenNetCf library.
My question : How change the device ip ? With OpenNetCf or other method like registry (but not Mobil develop)
You understand ?
Thanks

think you have to do that unmanaged
more info here
http://www.google.com/search?source...change+ip+address&aq=f&aqi=&aql=&oq=&gs_rfai=

Thanks Rudegar but I want change ip address of my DEVICE with the pc application (run on windows xp).
I look eVC++ but it is hard for my small "need" <= ?

don't believe you can do that without having a program running on the pocketpc
which do the changing
and then a program on the pc which connect over a socket to the pocketpc program and tell it which ip it should use
if you could just make a pc program which could change ip's on other devices those other devices would be pretty unsecure and hackable

don't believe you can do that without having a program running on the pocketpc
which do the changing
and then a program on the pc which connect over a socket to the pocketpc program and tell it which ip it should use
Click to expand...
Click to collapse
ok Rudegar, but I can't use the socket because I can't make pocketpc program... So the registry is the only solution...
Thanks

Related

[help] vb .net database development

hellooo,
i am looking for a good tutorial to help me get started developing a simple application which will run on a Windows CE 4.1 device and will connect via Wifi to a local sql server and return/store data.
I am a bit lost since i dont even know where to start, i.e. i need visual studio .net alone or another SDK or someting?
any pointers to a suitable tutorial will be much apreciated.
Not too sure what you need for CE4.1 but this is a good place to start
MSDN Windows Mobile
and here's one way for your DB I think
http://msdn.microsoft.com/mobility/...ry/en-us/dnppcgen/html/intro_winmobile_vb.asp
Haven't looked at the code but you can use either
1)SqlDataAdapter and SqlCommandBuilder to get the results into a DataTable
or
2)SqlDataReader
thanks kev, msdn should have enought info to get me started.
saw that tutorial on msdn but it wont do, since it connects to the sql server via web services or someting, i want to connect directly to the server and execute sql queries.
if you use an oleDBdaptor or sqladaptor it will be transparent for the
system that you are a pda and not a normal pc
wifi is transparent too it's all LAN
Just checkout the classes I mentioned they give examples: SqlDataReader SqlDataAdapter

HOWTO remote display on linux?

Hi,
Everybody knows microsofts remote display ('remotedsp.exe') to control your WM5 device from a PC.
I was wondering how to do this on linux (preferably on ubuntu), I tried installing remotedsp.exe using wine but with no luck.
I like to control my PPC from my linux machine.
Anyboy who can help me?
Thanks in advance.
mauce said:
Hi,
Everybody knows microsofts remote display ('remotedsp.exe') to control your WM5 device from a PC.
I was wondering how to do this on linux (preferably on ubuntu), I tried installing remotedsp.exe using wine but with no luck.
I like to control my PPC from my linux machine.
Anyboy who can help me?
Thanks in advance.
Click to expand...
Click to collapse
You want to follow my articles; I've elaborated on running a standard VNC server on the Pocket PC, which can, then, be connected to by a VNC client under Linux, over a standard TCP/IP connection at, for example, http://www.pocketpcmag.com/blogs/index.php?blog=3&p=514&more=1&c=1&tb=1&pb=1
I don't know of other remote controller solutions to have a native Unix/Linux client.
Thanks for the reply, I've done this but there is a big disadvantage with this:
You need an IP connection, so my wizzard should be connected through wifi, this drains the batterypower.
Although the battery is charged at the same time, this is not the solution I'm looking for.
I would prefer an IP connection over the USB connection wich -I think- is not possible......
Please advise....

Why does everyone make a pocketpc vnc client and not a vnc server?

Ok...I run linux and I would like to be able to remote control my pocketpc similar to how the my mobiler software allows people running windows using activesync. Usually this would not be a problem because vnc is free and runs on everything. I've found 15 different free vnc CLIENTS for the pocketpc but the only servers I've found is a pay one and one that is so old I think it's for ce 2002.
What am I missing?
What you're missing: google
http://www.pocketvnc.com/projects/pocketvnc/index.php 10€, not a bad price for a product some spent time making
Freeware
http://www.pocketpccity.com/software/pocketpc/pocketVncServ-2004-12-29-ce-pocketpc.html#download
andemann said:
What you're missing: google
http://www.pocketvnc.com/projects/pocketvnc/index.php 10€, not a bad price for a product some spent time making
Freeware
http://www.pocketpccity.com/software/pocketpc/pocketVncServ-2004-12-29-ce-pocketpc.html#download
Click to expand...
Click to collapse
As I mentioned "I've found 15 different free vnc CLIENTS for the pocketpc but the only servers I've found is a pay one and one that is so old I think it's for ce 2002."
You listed the two I mentioned..good job. Pocketvncserv would not connect with my vncviewer..hence my post.
famewolf said:
As I mentioned "I've found 15 different free vnc CLIENTS for the pocketpc but the only servers I've found is a pay one and one that is so old I think it's for ce 2002."
You listed the two I mentioned..good job. Pocketvncserv would not connect with my vncviewer..hence my post.
Click to expand...
Click to collapse
did you ever find a solution to this?
Marc
Try this?
Ever try a nifty little application called "Mobiler"? It displays your wizard's screen on your PC. Full control, etc. Basically does what a VNC server would, and more.
I use a program called SOTI Pocket Controller, but it only works in windows, I need a way to control my Pocket PCs from Linux...
I've tried the pocketvncsvr package, and the server seems to work - but I too cannot connect to the server from my client.
I've tried using ultra, tight and real-vnc specified raw encoding and any number of colour combinations without luck.
The mobiler package worked well enough - but windows only, and my TP2 seems to kill wifi when I use activesync; so its no good for my purpose.
Can anyone share their connection setting and client version that is known to work?
cheers,
Bjorn
My Mobiler works in Linux under wine over wifi with "Connect IP"
Dunno about a way over USB.
PocketVNC: http://sourceforge.net/projects/pocketvnc/. Both server and client included. Haven't tried it though so I don't know if it works.
I might have tried that one. I have tried a few that didn't work. I can't remember if that's one of them...

Share a folder on your device, via SMB/CIFS?

I want to share a folder on my PPC, which i could access on my PC through WiFi, with the simple windows sharing protocol - SMB/CIFS.
i.e: i want to be able to browse my PPC with the address: \\HTCUniversal\Storage Card\Music ....
I'm wondering, how could it be that there is no app/service that will provide this???
It seems like a really basic and simple request, but yet i've found no solution to this.
I found "Mocha FTP Server", but it doesn't quite do the job, because i have to run it manually everytime i want to browse my ppc, so its not that comfortable.
If only i could run such an app as a small service - it would be perfect.
Any ideas?
There are many free SMB implementations on the net under GNU/GPL license, maybe someone could port it to a windows mobile platform?
smb is known simply as "Microsoft Windows Network".
http://en.wikipedia.org/wiki/Server_Message_Block
smb and it's server samba is just what linux work call what windows world call
"microsoft network"
use total commander to connect to shared drives you may have to add
the pda as a valid user on the shares though
thanx for your reply, but you must have misunderstood my question.
in a nutshell - I want a samba/SMB/ms windows network server on my ppc (NOT a client).
i want to access folders on my ppc, through my pc, using Wifi.
not the other way around...
doh! my bad
sure it's possible but preciously few of such server services have been implemented on wm that i know off
not sure if it's because lack of demand
lack of mem and cpu juice(i mean an arm 400Mhz cant hold any kind of cantle to an old 400Mhz p4 or amd cpu)
or if it's the fact that batt power and stablity and lack of a device which make everybody else time out due to power saving settings
maybe the people who would be poking at that bear are busy making linux useable on these pdas

Programming

I previously posted on the wrong section, sorry, so I'm transferring it here.
Anyway, I want to know what programs I can use to make programs for HTC Raphael. Can I use Microsoft Visual Studio? Borland? I currently know how to use c and c++, do I need to use c# instead? And are the commands the same with the one on for the PC and for the PPC? So yeah any programs for programming on the desktop or on the PPC?
Thanks in advance!
yeah visual studio will do it
it support
1
.net compact framework for c# which is a subset of normal .net with some of the more fancy controls missing is normal .net programs from pc dont use anything missing in the compact framework they can run directly on the pocketpc unless the rest is not programmed to adjust (c#)
2
it support microMFC which is a pocketpc version of the old microsoft foundation classes
which was ms's object lib before .net (c/c++)
3
it support pure win32 api which again is a subset of the normal windows win32 api (c/c++)
performance wise 1 is lowest 3 is fastes
support in turms of having control without programming too many unmanaged hooks 3 is best 1 is worst
speed to get a project up and displaying something and having some functionality 1 is fastest 3 is worst
dont know about borland anymore guess they support compact framework
So if I make a program in c or c++, I can actually run it already on my PPC? If so, why does the .exe files on my PPC disallows me to run them on my desktop? Do I need to like convert the .exe file I made on my desktop to make it run on the PPC? If yes, is there any program out there to convert it to make it available for my PPC?
you have to run it using an emulator on your pc such as the one that comes with vs
userman777 said:
So if I make a program in c or c++, I can actually run it already on my PPC? If so, why does the .exe files on my PPC disallows me to run them on my desktop? Do I need to like convert the .exe file I made on my desktop to make it run on the PPC? If yes, is there any program out there to convert it to make it available for my PPC?
Click to expand...
Click to collapse
if you have Visual Studio 2005 Pro, you can create a new "SmartDevice" project. This will take care of setting up almost everything you need. You can also later create a SmartDevice Cab project to create an cab for your program.
It is quite straightforward...try a simple hello world program to get used to it.

Categories

Resources