How can I query the device type (SP, PPC) of the device that is currently connected via ActiveSync?
I am able to determine if a device is connected, retrieve the device ID, but I really need to know whether its a smartphone or a PPC.
Any ideas?
Thanks!
On the device:
http://teksoftco.com/forum/viewtopic.php?t=89
http://teksoftco.com/forum/viewtopic.php?t=90
for checking this from your desktop
take a look at
Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Deviceinfo\
Cheers,
Raul
Thanks for the pointer to the SDK sample, that will be a huge help!
Thanks
Related
hi i need to connect to the console of Windows Server 2003... because every time i connect there is two sessions are ON and eat the RAM
thanx
can you provide any more info?
personally I have created an internet connection and a work connection (vpn) in the exceptions list I've added *.au.mydomain.com
fire up terminal and connect to
servername.au.mydomain.com
all works like a dream (except for the fact you can't run full screen )
I think what is asked for here is something simular to mstsc /console on the desktop. As far as i know it is possible.
Regards,
Allan Boegild Pedersen
www.pda-faq.com (Now 47 howtos to improve you daily pocket pc use)
I think what is asked for here is something simular to mstsc /console on the desktop. As far as i know it is possible.
Regards,
Allan Boegild Pedersen
www.pda-faq.com (Now 47 howtos to improve you daily pocket pc use)
abp said:
I think what is asked for here is something simular to mstsc /console on the desktop. As far as i know it is possible.
Regards,
Allan Boegild Pedersen
www.pda-faq.com (Now 47 howtos to improve you daily pocket pc use)
Click to expand...
Click to collapse
True ... that what i was talking about thanks for making it clear
Having the same question..
Let me try to explain
I have a windows 2003 server at home,
this is also my personal computer, this means it has a nice screen, keyboard, mouse and some nice games on it.
When i`m on a job i connect on my laptop to my ACTIVE console on my home computer, this means i change the shortcut to "remote desktop" and add "/console" to it. Now when i connect to my home server it will take over the active console.
Does anybody know if this is possible on my qtek 9000 terminal services client???
Regards
I am also looking for a solution to this please. I leave one of my servers logged on and need to access the desktop whilst out and about. On a PC i just use remote desktop client with the /console option, but have been unable to find a way of doing this with a pocketpc. Alternatively any suggestions on good fast remote desktop software that works as well as remote desktop over gprs.
oooooooooo
Just before i hit send on this post I thought I would try and find a different approach. What I have found is a workaround that at least lets me do what I need until someone can suggest a way of connecting directly to the console.
You can shadow a terminal server session from another session, including the console. So.... connect to your server using the terminal server client, this will start a brand new remote dekstop. Go to the command prompt and type
shadow 0
This will then connect you to the console. For this to work you have to make sure that you enable permissions for the shadowing to take place. Do as outlined in the following article.
http://support.microsoft.com/default.aspx?scid=kb;en-us;278845
look for the bit right at the end that says
To configure the Windows Server 2003-based server to permit remote control, follow these steps:
although change step 7
7. In the Options box, click Full Control with users' permission, and then click OK.
Change it to without users permission otherwise it will sit there waiting for a response on the console
Hi,
I need to start a program on my PC from my XDA (connected by ActiveSync 4.5). I'm running Windows Mobile 5. How could this be done?
Regards, Gerrit
therminal services
and vnc
are 2 ways to do it
I don't want to see the PC's screen on my PDA (will be very slow anyway). I just need to be able to start a program (for example "notepad.exe") on the PC. I don't have to see the program on my PDA. It just has to run on the PC. That's all!
Regards, Gerrit
I think it is only possible to start an application on the device
from desktop with RAPI. The other way is not possible with
ActiveSync. You can write your own server that runs on the desktop
and a client on the ppc. Then send commands from pda client
to the server that starts then your application.
Houser
Hello Hauser,
Problem is that the command has to be possible both with ActiveSync (cable) and when syncing with GPRS/UMTS (wireless). Could this be done with RAPI?
Regards, Gerrit
If you use GPRS then you cannot use ActiveSync.
ActiveSync is only possible if you connect via USB.
RAPI can only be used from a desktop application to communicate with
the pocket pc, copy files, start applications on the PPC,...
So what do you want to do exactly with your app?
Houser
when connected to the pc using activesync or wifi or bluetooth PEN
make a normal network connection
and it should be transparent for the applications as they just see the connection
Hi Houser,
1. My PDA application exports lines from a PDA database to .CSV files.
2. On my PC I have to run an import & conversion program to load the exported lines into a server database
3. My PDA has to import other (new) files into the PDA's relational database
With USB syncing this works fine. I now have to run the PC's program manually. I want to control the whole process now from my PDA.
That's all...
Regards, Gerrit
If I remember right, a drive symbol is mounted on "My Computer" when Active Sync connects the device, right? So has anyone already tried to use an autorun enrty (autorun.inf like on CDs) on the PocketPC?
broekhuis said:
Hi Houser,
1. My PDA application exports lines from a PDA database to .CSV files.
2. On my PC I have to run an import & conversion program to load the exported lines into a server database
3. My PDA has to import other (new) files into the PDA's relational database
With USB syncing this works fine. I now have to run the PC's program manually. I want to control the whole process now from my PDA.
That's all...
Regards, Gerrit
Click to expand...
Click to collapse
So ok.
I would do this as follows:
1) Write a desktop application that uses ActiveSync RAPI to start you PDA export application
2) Then in your desktop app use RAPI to copy the file from PDA to desktop
3) In your desktop app start the import & conversion program with the file from the pda
4) If you want to import a file to the PDA database you can copy with RAPI to pda and then start with RAPI the pda import application
So I would not go on searching how to start a app on desktop from pda. Let the desktop application handle it.
Houser
Hi,
Problem is that a technician on location (at a customer or at home) should be able to synchronise, without going to the office. In other words: the PDA is the device that starts the communication process, not the PC! This is also what is so problematic...
Regards, Gerrit
about autorun on the pda then i dont think it will work havent made the test
but modile devices like
gmail drive
digicams
and such dont get drive letters
and i think only devices which get drive letters can use
autostart because those other devices dont seem to be "really" connected untill one click on them
you could write a service for the pc which would be listening for a network connection from the pocketpc
you could make it so it would run any applications you told it
you could give it a parth and arguments
then as soon as you got a network connections by what ever means your pda could start sending commands to the pc which it would then execute as in start programs
of cause it does require you to code a bit of c++ or .net but not tooo complex stuff if one is a programmer
Two points:
The PDA is not mounted as a drive, ActiveSync controls all access to it (even though it is integrated in the explorer) so autorun.inf can not work.
Redugar is right, for you purpose - accessing the PC directly and by remote, you need a little server app on the PC. Just use windows sockets to listen to a connection.
On the PPC side you can use the constant ppp_pear when the device is synced to get the PC address and the regular IP (I assume you have a static IP) for access via GPRS.
I did something like this a couple of years back - a server on the PC that checks a page for updates and provides them to a device when it connects and asks for them.
salling software
You might want to look into this company http://www.salling.com/Clicker/windows/scripts.php
http://www.salling.com/forums/viewforum.php?f=15&sid=45e42aa57aeb994b7b02e8ab12dc1794
Their software controls programs such as PowerPoint, WMP etc, might be a script out there that you could modify to open any program. Connects via BT and WiFi. Works real nice with my wizard with my MCE Dell running Toshiba BT Software.
About Salling Clicker..
anothersmith said:
You might want to look into this company http://www.salling.com/Clicker/windows/scripts.php
http://www.salling.com/forums/viewforum.php?f=15&sid=45e42aa57aeb994b7b02e8ab12dc1794
Their software controls programs such as PowerPoint, WMP etc, might be a script out there that you could modify to open any program. Connects via BT and WiFi. Works real nice with my wizard with my MCE Dell running Toshiba BT Software.
Click to expand...
Click to collapse
Yeah. Salling Clicker is a great software for starting or ending programs on your pc using bluetooth or wifi! the first time i installed the software,i was amazed and i played a prank on my sister.she thought that there was something wrong with the computer because it started itunes/powerdvd on its own... and i was in the other room controlling my pc..hahaha...
i've Been looking for a "script" that'll allow you to open any file/program (so are a lot of people who use salling clicker)..been following it up and As far as i know, there is still no Salling Clicker "script" that allows you to open any program on your pc.. you have to make a "script" specific to the program you want to start/control/stop.
Houser said:
If you use GPRS then you cannot use ActiveSync.
ActiveSync is only possible if you connect via USB.
RAPI can only be used from a desktop application to communicate with
the pocket pc, copy files, start applications on the PPC,...
So what do you want to do exactly with your app?
Houser
Click to expand...
Click to collapse
What?
ActiveSync can work through Bluetooth or Infrared as well.
Also, why go through all of this trouble? Run an SSH server on the PC. SSH into the PC.
C:\Documents and Settings\Administrator> start "C:\Program Files\My Program Path\My Program.exe"
Doesn't this do what you want?
Hi all,
I'm currently running the Microsoft WM5 emulator. Works just like the actual PPC itself but the only thing is how do I connect it to activesync?? And also how do I transfer files from my pc to the WM5 in the emulator? Appreciate if someone could help me out here.. and also apologises if this is the wrong forum to post it in...
Thanks!
open 'device emulator' select the connected device and click 'cradle'
bye
And allow DMA connections in ActiveSync.
got it. thanks alot!
Hi!
I want to write a little remote software for my pda (HTC Prophet), with which i can control some things of my laptop.
My problem is, that i can't send data via the com-port from my pda to the laptop (it's a virtual com-port because they are connected via bluetooth).
I'm using Visual Studio 2005, OS is Windows Vista, PDA is a Windows Mobile 5!
Is there anybody that can help me with solving that problem? Which settings do I have to chose so that I can establish the connection via com-port? If necessary I can also post some code!
Greetings and thanks,
Nico
n2daico said:
i can't send data via the com-port from my pda to the laptop
Click to expand...
Click to collapse
What programming language (version of the NETCF) are you using?
Can't send as in?
- Can't create port?
- Exceptions thrown?
- Data sent but not received?
- Haven't written the code yet?
Not sure I'll be able to help, but a bit more info on the problem will help people to help you.
Gingercat.
-C# with .Net 2.0
-No exceptions
-Laptop receives no data (checked that with a com-port listener)
-I already have the code
concerning the bluetooth settings in vista:
-com-port 6 (incoming)
-can't set an outgoing port for the laptop on the pda (only for other paired mobile phones)
Do you need further information?
Greetings and thanks,
Nico
No ideas and hints?
Does the bluetooth stack on your laptop support the Serial Port service?
I think so! It's the Widcomm BT stack!
??
No other ideas or hints?
I need more information...so please help me
Guys,
i know im not that great of a programmer. But i was wondering if anyone can program the following setup? it would help A LOT of us newbies .
- Serial Port emulator for PocketPC.
a. Input has to be transfert from a serial port (for use with activesync) to the internet service (TCP) with a specific IP-adress and back.
- Serial Port emulator for PC.
a. The emulator needs to listen to a specific port for TCP connection requests. And forward everything to the emulated com-port and back.
I know there excist many serial emulators for the pc, but none with an TCP/IP server integraded.
For a visual display, take a look at the picture that is included.
This is a very interesting thing. It would just provide ActiveSync over ANY TCP/IP connection (so also WiFi and such).
The serial ports part can certainly be done (not that I looked into how difficult it is, but I know it is possible)
I am however still unclear in how doing this would enable ActiveSync to work. Sure I can connect the PC side to a COM port, but how would this work on the PPC side? If I look in ActiveSync there, I don't see an option to connect to a COM port. Maybe I am overlooking something.
There are several USB-over-IP solutions out there, would they help in achieving your goal?? although its not clear to me what your goal is...
Hope this is helpful,
Cheers!
nid